📄 qmake_image_collection.cpp
字号:
/****************************************************************************** Image collection for project 'iconeditor'.**** Generated from reading image files: ** images/mouse.png**** Created: ? 9? 8 13:24:22 2004** by: The User Interface Compiler ($Id: qt/embed.cpp 3.1.1 edited Nov 16 10:56 $)**** WARNING! All changes made in this file will be lost!****************************************************************************/#include <qimage.h>#include <qdict.h>#include <qmime.h>#include <qdragobject.h>// images/mouse.pngstatic const unsigned char image_0_data[] = { 0x00,0x00,0x10,0x00,0x78,0x9c,0xed,0x96,0x4b,0x2f,0x63,0x71,0x18,0xc6, 0x7d,0x12,0x1f,0xc3,0x07,0x60,0x25,0xb1,0x91,0x2e,0xc4,0x64,0x12,0x8d, 0x85,0x85,0x85,0x49,0x83,0x85,0x48,0x58,0x88,0x44,0x22,0x71,0x49,0xac, 0x84,0x45,0x45,0xe2,0xb6,0x40,0x34,0x22,0x68,0x2a,0x08,0x82,0xb8,0xb4, 0x9d,0xba,0xb7,0x54,0x11,0xad,0xa2,0x54,0x5b,0xbd,0x3d,0x73,0x9e,0x77, 0xe6,0x9c,0x34,0xa6,0x93,0xd1,0xba,0x2e,0xfc,0x93,0x37,0xf4,0xb4,0xf9, 0x3f,0xbf,0xf7,0x7e,0x72,0x72,0xbe,0xce,0x9f,0x83,0x34,0xf6,0xde,0xda, 0x1f,0x71,0x3e,0x52,0xfb,0x33,0xe8,0x67,0xca,0xf0,0x56,0x75,0xf2,0xbf, 0xbb,0xe4,0xfb,0xd9,0xd9,0x59,0x24,0x12,0x09,0xcd,0xfa,0xfa,0xfa,0x5e, 0x93,0xe3,0x5f,0x77,0x89,0xae,0xcd,0x66,0x43,0x45,0x45,0x85,0xd8,0xcd, 0xcd,0x0d,0xa2,0xd1,0xa8,0xc6,0xc1,0xef,0xdf,0x82,0xa3,0xa0,0xa0,0x00, 0x07,0x07,0x07,0xb8,0xbe,0xbe,0x46,0x20,0x10,0xc0,0xfd,0xfd,0x3d,0xae, 0xae,0xae,0x34,0x8e,0x64,0x32,0x89,0xc3,0x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,0x07,0x06,0x06,0x06,0xb0,0xba,0xba,0x2a,0x35,0x41,0x9f, 0x58,0x0f,0xec,0x0d,0x75,0x17,0xa4,0x6a,0xf3,0xa8,0x31,0xe0,0xef,0xc8, 0x4c,0xf6,0xc5,0xc5,0x45,0xb4,0xb7,0xb7,0x67,0xc4,0x50,0x59,0x59,0x89, 0x96,0x96,0x16,0x74,0x77,0x77,0x63,0x68,0x68,0x48,0xea,0x91,0xfe,0x70, 0xce,0x70,0x4e,0xc9,0x3c,0x50,0xea,0xfd,0x29,0x07,0x0f,0x3f,0x93,0x91, 0x75,0xc8,0xfc,0x71,0x46,0xf7,0xf7,0xf7,0x67,0x3c,0x13,0xea,0xeb,0xeb, 0xd1,0xd5,0xd5,0x05,0xa3,0xd1,0x88,0xf1,0xf1,0x71,0xcc,0xcd,0xcd,0x89, 0x4f,0x34,0x72,0x70,0x56,0x71,0xfe,0xa9,0x3b,0x22,0x75,0x4f,0xf3,0x19, 0xbf,0xe7,0x2e,0xb3,0xdb,0xed,0x68,0x68,0x68,0xc8,0x6a,0x2e,0xd6,0xd6, 0xd6,0x0a,0xc3,0xe0,0xe0,0x20,0xc6,0xc6,0xc6,0x64,0xd7,0xd0,0x1f,0xd6, 0x96,0xc7,0xe3,0x91,0x3c,0x73,0x4f,0xd2,0x5f,0x6a,0x32,0x1e,0x64,0xe1, 0x6c,0xe6,0x73,0xc6,0x80,0xb1,0xd3,0xe9,0x74,0x59,0xef,0x06,0x1a,0x19, 0x26,0x26,0x26,0xa4,0x9f,0x16,0x16,0x16,0xb0,0xb6,0xb6,0x26,0xbe,0xf1, 0xfe,0xd4,0x5d,0xad,0xe6,0x84,0xc6,0x5e,0x1c,0x19,0x19,0x91,0x9e,0xce, 0xcb,0xcb,0x7b,0xf1,0x7e,0xa4,0x4d,0x4f,0x4f,0x4b,0x4f,0x59,0xad,0x56, 0x99,0x31,0xac,0x49,0x6a,0xd3,0x58,0x13,0x34,0xf6,0x1f,0x67,0x39,0xeb, 0x57,0xaf,0xd7,0x4b,0x4f,0xbd,0x50,0xfb,0x2f,0x8e,0xf9,0xf9,0x79,0xd9, 0xbb,0xf4,0x5d,0x9d,0xbb,0xcc,0x33,0x77,0x38,0xeb,0x95,0xda,0xec,0xe1, 0xe2,0xe2,0xe2,0xb7,0x7a,0xdf,0x95,0x7b,0xf9,0x2e,0xc4,0x58,0x73,0x47, 0xf3,0x7f,0xce,0x0b,0xce,0xf0,0xd6,0xd6,0xd6,0xf7,0x7a,0xcf,0x4e,0xf7, 0x7e,0xfc,0x19,0xde,0xf1,0xbf,0x4e,0x9a,0xf3,0x0b,0xd9,0x71,0x24,0x3e};static struct EmbedImage { int width, height, depth; const unsigned char *data; ulong compressed; int numColors; const QRgb *colorTable; bool alpha; const char *name;} embed_image_vec[] = { { 32, 32, 32, (const unsigned char*)image_0_data, 910, 0, 0, TRUE, "mouse.png" }, { 0, 0, 0, 0, 0, 0, 0, 0, 0 }};static QImage uic_findImage( const QString& name ){ for (int i=0; embed_image_vec[i].data; i++) { if ( QString::fromUtf8(embed_image_vec[i].name) == name ) { QByteArray baunzip; baunzip = qUncompress( embed_image_vec[i].data, embed_image_vec[i].compressed ); QImage img((uchar*)baunzip.data(), embed_image_vec[i].width, embed_image_vec[i].height, embed_image_vec[i].depth, (QRgb*)embed_image_vec[i].colorTable, embed_image_vec[i].numColors, QImage::BigEndian ); img = img.copy(); if ( embed_image_vec[i].alpha ) img.setAlphaBuffer(TRUE); return img; } } return QImage();}class MimeSourceFactory_iconeditor : public QMimeSourceFactory{public: MimeSourceFactory_iconeditor() {} ~MimeSourceFactory_iconeditor() {} const QMimeSource* data( const QString& abs_name ) const { const QMimeSource* d = QMimeSourceFactory::data( abs_name ); if ( d || abs_name.isNull() ) return d; QImage img = uic_findImage( abs_name ); if ( !img.isNull() ) ((QMimeSourceFactory*)this)->setImage( abs_name, img ); return QMimeSourceFactory::data( abs_name ); };};static QMimeSourceFactory* factory = 0;void qInitImages_iconeditor(){ if ( !factory ) { factory = new MimeSourceFactory_iconeditor; QMimeSourceFactory::defaultFactory()->addFactory( factory ); }}void qCleanupImages_iconeditor(){ if ( factory ) { QMimeSourceFactory::defaultFactory()->removeFactory( factory ); delete factory; factory = 0; }}class StaticInitImages_iconeditor{public: StaticInitImages_iconeditor() { qInitImages_iconeditor(); } ~StaticInitImages_iconeditor() { qCleanupImages_iconeditor(); }};static StaticInitImages_iconeditor staticImages;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -