Biomechanical Joint Model
 Author: Anderson Maciel

modeljoint/src/qmake_image_collection.cpp

Go to the documentation of this file.
00001 /****************************************************************************
00002 ** Image collection for project 'modeljoint'.
00003 **
00004 ** Generated from reading image files: 
00005 **      images/filenew
00006 **      images/fileopen
00007 **      images/filesave
00008 **      images/print
00009 **      images/undo
00010 **      images/redo
00011 **      images/editcut
00012 **      images/editcopy
00013 **      images/editpaste
00014 **      images/searchfind
00015 **
00016 ** Created: Mon Jun 13 20:14:50 2005
00017 **      by: The User Interface Compiler ($Id: qt/embed.cpp   3.2.3   edited May 13 09:08 $)
00018 **
00019 ** WARNING! All changes made in this file will be lost!
00020 ****************************************************************************/
00021 
00022 #include <qimage.h>
00023 #include <qdict.h>
00024 #include <qmime.h>
00025 #include <qdragobject.h>
00026 
00027 // images/filenew
00028 static const unsigned char image_0_data[] = {
00029     0x00,0x00,0x07,0x90,0x78,0x9c,0xed,0xcd,0xe1,0x09,0x00,0x20,0x08,0x84,
00030     0x51,0x27,0x72,0x22,0xf7,0x71,0x2f,0x17,0x2b,0x5c,0xc0,0xab,0x0b,0xa2,
00031     0xc0,0x0f,0xee,0x97,0xf0,0x14,0xb9,0xd6,0x58,0xdc,0xb6,0x5b,0x95,0x77,
00032     0x55,0x65,0x6c,0xe8,0x9a,0x19,0x63,0x43,0xd7,0xdd,0x19,0x1b,0xba,0x11,
00033     0xc1,0xd8,0xd0,0xcd,0x08,0x1b,0xba,0xc5,0x68,0x17,0xfc,0x6b,0xb7,0xdd,
00034     0x76,0x1f,0x71,0x0f,0xf6,0x6d,0x13,0xc0,0x23,0x49,0x3f
00035 };
00036 
00037 // images/fileopen
00038 static const unsigned char image_1_data[] = {
00039     0x00,0x00,0x07,0x90,0x78,0x9c,0xed,0x90,0xdb,0x0e,0xc0,0x20,0x08,0x43,
00040     0xf9,0xf6,0x65,0xff,0xcd,0x1e,0x96,0x4c,0x71,0x60,0x0a,0xa9,0x3e,0xd9,
00041     0xa4,0xc1,0x78,0x39,0x60,0x45,0x8e,0x8a,0xd2,0xc1,0xde,0x79,0x85,0x19,
00042     0xf5,0x19,0xd7,0x2c,0xcd,0xfe,0xc0,0x60,0x2a,0xb0,0x5f,0x61,0xb6,0x4c,
00043     0xf4,0xd5,0x57,0xfd,0xbb,0xd1,0xfb,0xb0,0x9f,0x61,0xa2,0x15,0xe0,0xa6,
00044     0x99,0x20,0x77,0xfb,0xbc,0x78,0xce,0xae,0xa7,0xcc,0xeb,0xce,0xb9,0x67,
00045     0xf3,0x99,0xff,0x7c,0x39,0x4c,0x9b,0x2f,0x8f,0xd9,0xe6,0xe5,0x32,0xc5,
00046     0xe4,0xcc,0x63,0xca,0x22,0xa6,0x9d,0x37,0xef,0xed,0x7a,0x00,0x84,0x95,
00047     0xf6,0x66
00048 };
00049 
00050 // images/filesave
00051 static const unsigned char image_2_data[] = {
00052     0x00,0x00,0x07,0x90,0x78,0x9c,0x63,0x60,0xa0,0x29,0xf8,0x4f,0x65,0x8c,
00053     0x30,0xb7,0xa9,0x05,0x82,0x81,0xec,0x83,0x07,0x0f,0x92,0x84,0x91,0xf5,
00054     0x0c,0x56,0x73,0x2f,0x6e,0x3d,0x85,0x6e,0x16,0x49,0xe1,0x00,0xd2,0x8f,
00055     0x6c,0x06,0x2e,0xf7,0x22,0xeb,0x1f,0x48,0x73,0x89,0x0d,0xdf,0x51,0x73,
00056     0x89,0x34,0x17,0x21,0x47,0x3c,0xc6,0xd4,0x8b,0xdd,0x5c,0x4a,0xf0,0x40,
00057     0x98,0x4b,0x4e,0x59,0x43,0x25,0x73,0x69,0x15,0x6f,0xa3,0xe6,0x92,0x64,
00058     0x2e,0x03,0x59,0x69,0x00,0x3b,0xa6,0x29,0x00,0x00,0xa4,0x3b,0x14,0x82
00059 };
00060 
00061 // images/print
00062 static const unsigned char image_3_data[] = {
00063     0x00,0x00,0x07,0x90,0x78,0x9c,0x95,0x94,0x21,0x90,0x83,0x30,0x10,0x45,
00064     0x4f,0x9e,0x44,0x62,0x91,0x48,0x24,0x16,0x79,0xf2,0x24,0xb6,0x12,0x59,
00065     0x59,0x8b,0x8c,0x8c,0xc4,0x46,0x22,0x91,0x58,0x24,0x32,0x12,0x8b,0x44,
00066     0x56,0xee,0xed,0x5f,0x12,0x9a,0x52,0x7a,0x53,0xc2,0xfc,0x59,0x48,0xc3,
00067     0xcb,0xdf,0x25,0xdb,0xaf,0xaf,0xe3,0xd1,0x75,0x1d,0xf5,0x7d,0x4f,0xe3,
00068     0x38,0x3e,0x69,0x18,0x06,0x11,0x7e,0x83,0xda,0xb6,0x95,0xf8,0x06,0xf3,
00069     0x32,0xb0,0x76,0x59,0x16,0x9a,0xe7,0xf9,0x45,0x98,0xf7,0x9a,0xa6,0xe9,
00070     0x34,0xd7,0x7b,0x83,0xf6,0x7e,0x43,0xdf,0x88,0x9f,0x72,0x7d,0x1d,0x42,
00071     0x85,0x73,0xb8,0x87,0xce,0xd4,0x01,0xfb,0x63,0x7d,0xe8,0x67,0x5f,0x57,
00072     0x3f,0x0f,0xf6,0x99,0x1a,0xec,0xfd,0xed,0xe5,0xf7,0x39,0xcb,0xc5,0xfa,
00073     0xbd,0xbf,0x90,0xe9,0x23,0xf2,0xfa,0x94,0xfb,0x8e,0x77,0xa4,0x33,0x7e,
00074     0xe1,0x01,0xdf,0x1e,0x67,0x0a,0xe7,0xe8,0x48,0xd6,0x5a,0x89,0xc6,0x18,
00075     0x51,0xf7,0x8f,0x6f,0xec,0xdf,0x34,0x0d,0x5d,0xab,0xab,0xf8,0xc0,0xbb,
00076     0xe0,0x1f,0x45,0xcf,0xd7,0x4a,0x53,0xf9,0x5b,0x52,0x51,0x14,0x54,0x55,
00077     0xd5,0x8b,0x7f,0x61,0x6a,0x4d,0xf5,0xad,0xa6,0xfa,0x7a,0xa3,0xdb,0x3f,
00078     0x52,0xbc,0x46,0xdf,0x14,0xe9,0x5a,0xb1,0x87,0x8a,0x8a,0x3c,0xa7,0x34,
00079     0x49,0x28,0x89,0x63,0xe1,0xc3,0x7f,0xe8,0x73,0xb2,0x13,0x2d,0xe8,0x29,
00080     0x78,0xb1,0x90,0x7d,0x92,0x1d,0x39,0xb2,0xcc,0xd8,0x50,0x39,0x96,0xa4,
00081     0x07,0x4d,0xa6,0x31,0xc2,0x4a,0xe2,0x44,0x14,0x47,0xb1,0xec,0x03,0xa6,
00082     0x61,0xe6,0x32,0x2f,0xf4,0xc9,0x60,0x3a,0xa5,0x7c,0x7d,0xf3,0x85,0x88,
00083     0xba,0xc0,0x7b,0x96,0x65,0xe2,0x37,0x8a,0x22,0xe1,0xb7,0xa6,0xa5,0xfb,
00084     0xfd,0xfe,0x11,0x13,0x83,0xb3,0xa1,0x0b,0x55,0x94,0xf1,0xc5,0x55,0x59,
00085     0xe7,0x38,0x37,0xd4,0x07,0x5c,0x4e,0xdf,0x71,0x8d,0xcb,0x91,0xfb,0x7f,
00086     0x18,0x25,0xda,0x30,0x7f,0xae,0xc9,0x3c,0x3d,0x6a,0xb3,0x46,0x4b,0xbd,
00087     0xed,0xa5,0x2e,0xfe,0x3d,0xad,0x94,0xd4,0x60,0xe5,0xc6,0xf2,0x3d,0xbb,
00088     0xb6,0x93,0x73,0x02,0xef,0xd8,0xa7,0xe5,0x9a,0x21,0xa2,0x76,0xad,0x93,
00089     0x71,0xf3,0x8f,0xb9,0x96,0x8c,0x6e,0xe4,0x5b,0x83,0x59,0x5d,0x2a,0xe6,
00090     0x46,0x9b,0xdf,0x95,0xdb,0xae,0xdc,0x80,0xf7,0x50,0x13,0xc4,0x40,0xc2,
00091     0x5c,0x85,0x73,0x11,0x72,0x63,0xf8,0xe5,0xfd,0x36,0x4f,0xef,0x38,0x78,
00092     0x7f,0xc7,0x82,0xf0,0x0c,0x5f,0xaa,0xae,0x1d,0x77,0xad,0xc3,0xef,0xcf,
00093     0x8f,0xcc,0x3f,0x79,0xdc,0x31,0x0e,0x9f,0xb7,0xfc,0xd7,0x1a,0x28,0x77,
00094     0x8e,0xe1,0x17,0x5e,0xd1,0xaf,0xf0,0x8b,0xfd,0xf0,0x1b,0xf2,0x51,0xca,
00095     0x45,0x3c,0xef,0xef,0x45,0x7a,0x8b,0x8d,0xbf,0xf7,0x75,0x70,0xf9,0xa3,
00096     0x27,0xd0,0x77,0xe8,0x5b,0xdf,0x2f,0x09,0xc7,0x54,0x94,0x6e,0xca,0x52,
00097     0x28,0x13,0xe5,0x99,0x57,0xee,0xf4,0x98,0xf7,0xcc,0xfd,0x7f,0xcd,0xa5,
00098     0xe4,0x3e,0xcf,0x0b,0x51,0x9e,0xbb,0x77,0x02,0xa5,0xcc,0x17,0xf1,0xbe,
00099     0xf0,0x06,0x45,0xdf,0x91,0xf4,0x1b,0x6a,0x15,0xf2,0xfe,0x00,0x71,0x07,
00100     0x39,0xaf
00101 };
00102 
00103 // images/undo
00104 static const unsigned char image_4_data[] = {
00105     0x00,0x00,0x07,0x90,0x78,0x9c,0x63,0x60,0x18,0x05,0xc3,0x1d,0xb4,0x30,
00106     0x30,0xfc,0xc7,0x8a,0x9b,0x5a,0xfe,0xe3,0xd3,0x43,0xb2,0x79,0x68,0x18,
00107     0x9f,0x5e,0x7c,0xe6,0x11,0xb4,0x17,0x8b,0xbb,0xd1,0xf5,0x13,0x63,0x1e,
00108     0x21,0x77,0xe1,0xf3,0x2b,0x31,0x66,0x92,0x6a,0x2e,0xb1,0x66,0x0e,0x16,
00109     0xf7,0xd2,0x32,0x7c,0x89,0x31,0x9b,0x98,0x74,0x4c,0x0a,0x00,0x99,0x43,
00110     0x6e,0x7c,0xe0,0x35,0x97,0x06,0x66,0x8e,0x82,0xe1,0x09,0x00,0xae,0x76,
00111     0x84,0x98
00112 };
00113 
00114 // images/redo
00115 static const unsigned char image_5_data[] = {
00116     0x00,0x00,0x07,0x90,0x78,0x9c,0x63,0x60,0x18,0x05,0xc3,0x01,0xb4,0x34,
00117     0xb5,0xfc,0x6f,0x61,0x60,0xc0,0x8a,0xc9,0x36,0x13,0x87,0x79,0xc4,0x9a,
00118     0x8f,0x4d,0x0e,0xd9,0x9d,0xc4,0xda,0x8b,0x4d,0x0e,0x97,0x1e,0x52,0xfd,
00119     0x85,0x8d,0x4f,0xae,0xb9,0xd8,0xdc,0x4e,0x2d,0x73,0x71,0x99,0x3d,0x18,
00120     0xdd,0x4b,0x4a,0x5a,0x21,0x26,0x3d,0x10,0x32,0x13,0x97,0x5e,0x14,0x35,
00121     0x40,0x7b,0x88,0x71,0x3b,0xb1,0x80,0x1a,0xf9,0x6b,0x14,0x8c,0x02,0x74,
00122     0x00,0x00,0x3b,0x0a,0x84,0x98
00123 };
00124 
00125 // images/editcut
00126 static const unsigned char image_6_data[] = {
00127     0x00,0x00,0x07,0x90,0x78,0x9c,0xe5,0xd2,0x41,0x0a,0x00,0x20,0x08,0x04,
00128     0xc0,0xde,0xee,0xc7,0xed,0x92,0x20,0xa2,0x91,0xb6,0xd2,0xa1,0xbd,0x24,
00129     0x85,0x83,0x84,0x63,0x3c,0x09,0x27,0xef,0x7f,0x72,0x19,0xe4,0x5a,0xe3,
00130     0xd6,0x8c,0x1c,0xa4,0xcb,0x4e,0x8d,0xb4,0x91,0x66,0xa7,0x2b,0x36,0x34,
00131     0xb4,0x66,0x25,0xa0,0x4d,0xca,0x93,0xfa,0xd6,0xd7,0x9e,0x3e,0x6d,0x5d,
00132     0x31,0x23,0xb7,0x62,0x47,0xfd,0x9e,0x73,0x6a,0xef,0x7a,0xbb,0x5c,0xef,
00133     0xbd,0xc3,0xcd,0xfc,0xef,0xc9,0x3c,0xd5,0x5d,0x43,0xed,0x69,0x47,0x26,
00134     0xd9,0x6b,0x53,0x0d
00135 };
00136 
00137 // images/editcopy
00138 static const unsigned char image_7_data[] = {
00139     0x00,0x00,0x07,0x90,0x78,0x9c,0xd5,0x91,0x41,0x0a,0xc0,0x20,0x0c,0x04,
00140     0x7d,0x98,0xaf,0xcb,0xd5,0x37,0x8b,0xc5,0x43,0x21,0x48,0x77,0x13,0x13,
00141     0x7b,0x70,0x21,0x97,0xac,0x8c,0x23,0x96,0x72,0x5d,0x86,0x31,0x61,0x2e,
00142     0x4a,0x92,0xbd,0x32,0x86,0xde,0xa9,0xee,0xa8,0xef,0xe2,0x7e,0xcc,0x57,
00143     0x8c,0x89,0xfa,0x0a,0xe9,0x0d,0xf6,0xa7,0xef,0xbb,0x17,0xf2,0x9e,0xd9,
00144     0xf5,0x5a,0x11,0x1b,0xfa,0x68,0x2e,0xea,0x7a,0x6b,0x88,0x9d,0xf2,0x9d,
00145     0x01,0xec,0x94,0x2f,0xf9,0xcb,0xb0,0x2f,0xba,0x2b,0xeb,0xeb,0xe1,0xee,
00146     0xfa,0xb2,0xf3,0x7f,0xfb,0xb2,0x49,0xf8,0xd2,0x24,0x7c,0x5d,0xdc,0x9b,
00147     0x7c,0x77,0xc7,0xc3,0x8d,0xe6,0x01,0xba,0xca,0xfb,0x3b
00148 };
00149 
00150 // images/editpaste
00151 static const unsigned char image_8_data[] = {
00152     0x00,0x00,0x07,0x90,0x78,0x9c,0xc5,0x94,0x0d,0x0a,0xc0,0x20,0x08,0x46,
00153     0x3d,0xfb,0xe8,0x66,0x83,0xae,0xe5,0x2a,0x68,0x6b,0xa2,0x96,0xda,0x98,
00154     0xf0,0x21,0xf4,0xf3,0x7a,0x4c,0x18,0xc0,0x2f,0x85,0x4c,0x76,0x30,0x10,
00155     0x10,0x9f,0x48,0x67,0x22,0x4c,0x3b,0xbb,0xad,0xa7,0x23,0x21,0x94,0xb4,
00156     0x3e,0x72,0xe9,0x3b,0xda,0x79,0xc2,0xa5,0x67,0xf2,0x99,0xa7,0x11,0xd8,
00157     0x6f,0xdf,0xbe,0x67,0xe4,0xd2,0x7b,0x33,0xdf,0xd5,0x58,0x7c,0xbd,0x7d,
00158     0xea,0xeb,0xed,0x56,0xdf,0xfa,0xee,0x42,0xac,0xbe,0xf5,0x8e,0x56,0x7d,
00159     0x3f,0x39,0x7c,0xfb,0x3d,0x9a,0x91,0xcb,0xb0,0xb7,0xf8,0x32,0xec,0x6d,
00160     0xbe,0x84,0x1d,0xf6,0x15,0xe7,0x18,0xf0,0x95,0xde,0x8a,0xfa,0x6a,0x5c,
00161     0xaf,0xaf,0xf6,0xcd,0xef,0xd9,0x49,0xff,0x00,0xbf,0xaf,0x5a,0xab,0x9e,
00162     0xcc,0xdc,0x3e,0xa9,0x0b,0xdb,0x19,0x41,0x63
00163 };
00164 
00165 // images/searchfind
00166 static const unsigned char image_9_data[] = {
00167     0x00,0x00,0x07,0x90,0x78,0x9c,0xd5,0x94,0xa1,0x92,0xe3,0x30,0x10,0x44,
00168     0xf7,0x57,0x02,0xf3,0x09,0xa1,0xf9,0x0c,0x53,0x43,0x43,0x41,0x53,0x41,
00169     0x41,0x41,0x51,0x41,0x41,0x41,0x51,0x41,0x41,0x43,0x51,0x43,0x43,0xc3,
00170     0xbe,0xe9,0x71,0x16,0xdc,0xd5,0x55,0xd9,0x7b,0x9b,0xda,0xaa,0x73,0x55,
00171     0x57,0x12,0x47,0x7e,0xea,0xe9,0x19,0xf9,0xe3,0xe3,0xff,0xbd,0x72,0xce,
00172     0xf0,0xde,0x63,0x9e,0x67,0x18,0x33,0xa9,0xf8,0x3d,0x84,0x80,0x52,0x0a,
00173     0xfe,0x85,0x99,0x52,0x12,0x86,0x81,0x0f,0x16,0xb5,0x25,0xb4,0x7e,0x28,
00174     0x15,0xee,0x73,0xf0,0xb9,0xef,0x57,0x99,0xc3,0x30,0x20,0x44,0x8f,0x0d,
00175     0x4d,0xb5,0xee,0x15,0x7d,0x2b,0x58,0xb6,0x8c,0xba,0x46,0xcc,0x8e,0xfe,
00176     0xcd,0x65,0xdf,0x5c,0x67,0xc4,0x67,0x2e,0x41,0x39,0xe4,0xed,0xbd,0x02,
00177     0x4b,0xc1,0x5e,0x0b,0x7a,0x8e,0xc8,0xcd,0xa3,0x2c,0x1e,0xd6,0x19,0x38,
00178     0xe7,0x2e,0x71,0x99,0x1d,0x6b,0xdf,0xb1,0x28,0x17,0xbd,0xa1,0x97,0x8c,
00179     0xd6,0xa2,0x6a,0x93,0x5a,0x16,0x1f,0x90,0xaa,0x13,0x79,0x4c,0xd3,0x78,
00180     0x29,0x0f,0x6b,0x67,0xd4,0x25,0x69,0xed,0xbd,0x67,0xf1,0x97,0x0e,0x7f,
00181     0xab,0xb0,0x9a,0x53,0xbf,0xdd,0x47,0xc4,0x64,0xf5,0xfe,0x6c,0x27,0xed,
00182     0xe3,0x19,0x97,0xbd,0x5a,0x56,0xa9,0x77,0x2f,0x92,0x63,0x50,0x95,0x1e,
00183     0x90,0xa5,0xee,0xd6,0x02,0x36,0xe6,0x60,0x2d,0x42,0x91,0xbe,0x89,0x5f,
00184     0xeb,0x0d,0xac,0xfc,0xbe,0xc2,0x65,0xdf,0xd9,0x1f,0xf2,0x4a,0xf7,0xca,
00185     0x5c,0xca,0x8b,0xe9,0x1d,0x7c,0x9a,0x11,0x85,0x1b,0xb3,0x83,0xbb,0xc8,
00186     0x65,0xcf,0x98,0x43,0x5b,0x93,0xf2,0x54,0xaf,0xfa,0x8b,0xf4,0x88,0x3e,
00187     0x43,0x15,0x65,0xb2,0xad,0xe6,0x70,0xa5,0x77,0x5c,0x43,0x1f,0xb5,0x47,
00188     0xe5,0x69,0x7f,0x9a,0x45,0x49,0xf2,0x19,0x59,0xbf,0xcc,0x74,0x3e,0x14,
00189     0xc4,0xf7,0x64,0x06,0x70,0x2e,0xcf,0xb8,0x9f,0xe7,0xa1,0x48,0x96,0xb1,
00190     0xda,0x43,0xe2,0xb1,0xc9,0x2c,0x33,0x57,0x97,0x46,0xc9,0x61,0x52,0x59,
00191     0xff,0xb5,0x19,0xa6,0x67,0xce,0x7d,0xac,0x47,0x8e,0x5a,0x7b,0x34,0x9a,
00192     0x25,0x7d,0xda,0x30,0xa8,0xc6,0x71,0xd4,0x59,0x68,0x4b,0x53,0xcf,0x67,
00193     0x7c,0xfe,0xaf,0xef,0x04,0x39,0xaf,0x21,0x8b,0x5f,0x4a,0xb2,0x64,0xa6,
00194     0xec,0x19,0x67,0x40,0xcf,0xe3,0x6b,0xbe,0xc8,0xe4,0x1e,0xbc,0x77,0x96,
00195     0x09,0xd9,0xf4,0xcd,0xb9,0x27,0x9f,0xfd,0xa1,0x26,0x33,0xca,0xbd,0xe9,
00196     0xb7,0xe7,0x6b,0xad,0xea,0xe3,0x7e,0xbf,0xe3,0xf1,0x78,0xe8,0x73,0x67,
00197     0xde,0x79,0x96,0xe8,0x8b,0x6b,0xf9,0x6e,0x8b,0x31,0x82,0x9c,0xbf,0xad,
00198     0xe5,0x7f,0xcf,0xe7,0x53,0xf9,0x7f,0xee,0xfd,0xdd,0x4b,0xdf,0x2f,0xd2,
00199     0xcb,0xdb,0xed,0xa6,0xde,0xe9,0xe5,0x5d,0x6c,0x5e,0xac,0x91,0x5c,0xf2,
00200     0xe9,0xfd,0x9d,0x6c,0x66,0xf8,0xd9,0xcf,0x77,0x72,0x7f,0xe2,0xfa,0x05,
00201     0x8a,0xcd,0x52,0x07
00202 };
00203 
00204 static struct EmbedImage {
00205     int width, height, depth;
00206     const unsigned char *data;
00207     ulong compressed;
00208     int numColors;
00209     const QRgb *colorTable;
00210     bool alpha;
00211     const char *name;
00212 } embed_image_vec[] = {
00213     { 22, 22, 32, (const unsigned char*)image_0_data, 81, 0, 0, TRUE, "filenew" },
00214     { 22, 22, 32, (const unsigned char*)image_1_data, 114, 0, 0, TRUE, "fileopen" },
00215     { 22, 22, 32, (const unsigned char*)image_2_data, 98, 0, 0, TRUE, "filesave" },
00216     { 22, 22, 32, (const unsigned char*)image_3_data, 520, 0, 0, TRUE, "print" },
00217     { 22, 22, 32, (const unsigned char*)image_4_data, 86, 0, 0, TRUE, "undo" },
00218     { 22, 22, 32, (const unsigned char*)image_5_data, 90, 0, 0, TRUE, "redo" },
00219     { 22, 22, 32, (const unsigned char*)image_6_data, 102, 0, 0, TRUE, "editcut" },
00220     { 22, 22, 32, (const unsigned char*)image_7_data, 123, 0, 0, TRUE, "editcopy" },
00221     { 22, 22, 32, (const unsigned char*)image_8_data, 149, 0, 0, TRUE, "editpaste" },
00222     { 22, 22, 32, (const unsigned char*)image_9_data, 480, 0, 0, TRUE, "searchfind" },
00223     { 0, 0, 0, 0, 0, 0, 0, 0, 0 }
00224 };
00225 
00226 static QImage uic_findImage( const QString& name )
00227 {
00228     for ( int i=0; embed_image_vec[i].data; i++ ) {
00229         if ( QString::fromUtf8(embed_image_vec[i].name) == name ) {
00230             QByteArray baunzip;
00231             baunzip = qUncompress( embed_image_vec[i].data, 
00232                 embed_image_vec[i].compressed );
00233             QImage img((uchar*)baunzip.data(),
00234                         embed_image_vec[i].width,
00235                         embed_image_vec[i].height,
00236                         embed_image_vec[i].depth,
00237                         (QRgb*)embed_image_vec[i].colorTable,
00238                         embed_image_vec[i].numColors,
00239                         QImage::BigEndian
00240                 );
00241             img = img.copy();
00242             if ( embed_image_vec[i].alpha )
00243                 img.setAlphaBuffer(TRUE);
00244             return img;
00245         }
00246     }
00247     return QImage();
00248 }
00249 
00250 class MimeSourceFactory_modeljoint : public QMimeSourceFactory
00251 {
00252 public:
00253     MimeSourceFactory_modeljoint() {}
00254     ~MimeSourceFactory_modeljoint() {}
00255     const QMimeSource* data( const QString& abs_name ) const {
00256         const QMimeSource* d = QMimeSourceFactory::data( abs_name );
00257         if ( d || abs_name.isNull() ) return d;
00258         QImage img = uic_findImage( abs_name );
00259         if ( !img.isNull() )
00260             ((QMimeSourceFactory*)this)->setImage( abs_name, img );
00261         return QMimeSourceFactory::data( abs_name );
00262     };
00263 };
00264 
00265 static QMimeSourceFactory* factory = 0;
00266 
00267 void qInitImages_modeljoint()
00268 {
00269     if ( !factory ) {
00270         factory = new MimeSourceFactory_modeljoint;
00271         QMimeSourceFactory::defaultFactory()->addFactory( factory );
00272     }
00273 }
00274 
00275 void qCleanupImages_modeljoint()
00276 {
00277     if ( factory ) {
00278         QMimeSourceFactory::defaultFactory()->removeFactory( factory );
00279         delete factory;
00280         factory = 0;
00281     }
00282 }
00283 
00284 class StaticInitImages_modeljoint
00285 {
00286 public:
00287     StaticInitImages_modeljoint() { qInitImages_modeljoint(); }
00288 #if defined(Q_OS_SCO) || defined(Q_OS_UNIXWARE)
00289     ~StaticInitImages_modeljoint() { }
00290 #else
00291     ~StaticInitImages_modeljoint() { qCleanupImages_modeljoint(); }
00292 #endif
00293 };
00294 
00295 static StaticInitImages_modeljoint staticImages;

Generated on Thu Dec 1 10:13:39 2005 for COME - Biomechanical Joint Model by  doxygen 1.4.5