Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 171 → Rev 172

/trunk/ClassEditor/mymodel.cpp
138,7 → 138,9
}
 
case Qt::DecorationRole: {
/* if(index.column() == 5) {
if(index.column() == 1) return iconProvider.icon(QFileIconProvider::Folder);
else return QVariant();
/*{
QVariant currentImage = QSqlTableModel::data(index, 0);
QByteArray bytes = currentImage.toByteArray();
QPixmap pxmp;
/trunk/ClassEditor/qrc_pic.cpp
1,7 → 1,7
/****************************************************************************
** Resource object code
**
** Created: Fri Dec 24 15:46:24 2010
** Created: Fri Dec 24 22:36:02 2010
** by: The Resource Compiler for Qt version 4.6.2
**
** WARNING! All changes made in this file will be lost!
10,7 → 10,7
#include <QtCore/qglobal.h>
 
static const unsigned char qt_resource_data[] = {
// /home/andrey/OpenInventory/OpenInventory/trunk/ClassEditor/Open.png
// /home/andrey/OpenInventory/trunk/ClassEditor/Open.png
0x0,0x0,0x8,0x3a,
0x89,
0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,
145,139 → 145,7
0xeb,0x0,0x18,0x87,0xd0,0x7e,0x33,0x16,0x92,0xd1,0xb,0x82,0xfe,0x6b,0xf8,0xae,
0xc4,0xb5,0xcf,0x7f,0x1,0x76,0xbe,0xa0,0x5d,0x2d,0x84,0xfb,0x20,0x0,0x0,0x0,
0x0,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,
// /home/andrey/OpenInventory/OpenInventory/trunk/ClassEditor/Open v2.png
0x0,0x0,0x8,0x3,
0x89,
0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,
0x0,0x0,0x20,0x0,0x0,0x0,0x20,0x8,0x6,0x0,0x0,0x0,0x73,0x7a,0x7a,0xf4,
0x0,0x0,0x7,0xca,0x49,0x44,0x41,0x54,0x78,0xda,0xc5,0x57,0x79,0x6c,0x14,0xd7,
0x19,0xff,0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b,0x5,0x66,
0xcd,0x77,0x95,0x39,0x31,0xe0,0xd4,0x3e,0x57,0x99,0x63,0xbd,0xb8,0xe6,0x82,0x14,
0xb,0x4e,0x40,0x5a,0xb3,0xb1,0xc2,0xfc,0x16,0xae,0x8e,0x58,0xf8,0xdd,0x7e,0xf3,
0xcc,0xae,0xd7,0xf9,0x3e,0xfa,0x20,0xfb,0xfd,0xf0,0xd,0x0,0x4e,0xee,0xf6,0xb7,
0x2f,0x5f,0xb5,0xe0,0xbe,0xcc,0xbc,0x2c,0xf7,0x16,0x7a,0xcd,0x74,0x37,0x2,0x1c,
0xfa,0x53,0xb1,0x60,0x5f,0x17,0x84,0xb6,0x7,0x82,0x7b,0xcc,0x78,0x20,0x84,0xdb,
0x2b,0x1c,0x57,0x11,0x80,0xa1,0xf3,0x2,0xdf,0x7c,0xd6,0x7c,0xfb,0x68,0x87,0x25,
0x3,0xf0,0x28,0xc9,0xc4,0xd,0x0,0x3a,0xf7,0x7,0x7,0xe1,0xf3,0x15,0x9a,0x5c,
0xa8,0x9e,0xae,0x4f,0x78,0xc4,0xb5,0x9f,0xd4,0x6a,0x21,0xd2,0xbf,0xc3,0x21,0x13,
0xba,0x1,0x51,0xbf,0xd3,0x78,0x69,0x7a,0x46,0x1c,0x86,0x7b,0x1f,0x88,0xdf,0xac,
0x64,0x1,0xc9,0x26,0x12,0xa,0x2,0xe7,0xb6,0x7b,0x3b,0x9e,0x21,0x92,0x36,0x92,
0x5e,0x19,0x38,0x37,0x3,0xc8,0x24,0xa1,0x76,0x41,0x77,0xfd,0xdb,0xf7,0xc8,0xee,
0x26,0x8b,0x8b,0x2c,0xa9,0xe2,0x53,0xff,0x77,0xfc,0x59,0x3d,0xff,0x5,0xcf,0x85,
0x83,0xcb,0xa9,0xbe,0xdf,0xad,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae,0x42,
0x60,0x82,
// /home/andrey/OpenInventory/OpenInventory/trunk/ClassEditor/Delete.png
// /home/andrey/OpenInventory/trunk/ClassEditor/Delete.png
0x0,0x0,0x8,0xf4,
0x89,
0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,
433,11 → 301,6
0x6,0xc1,0x5d,0x87,
0x0,0x4f,
0x0,0x70,0x0,0x65,0x0,0x6e,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67,
// Open v2.png
0x0,0xb,
0x7,0x39,0x8f,0x47,
0x0,0x4f,
0x0,0x70,0x0,0x65,0x0,0x6e,0x0,0x20,0x0,0x76,0x0,0x32,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67,
// Delete.png
0x0,0xa,
0xc,0xb1,0xf,0x7,
448,13 → 311,11
 
static const unsigned char qt_resource_struct[] = {
// :
0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x3,0x0,0x0,0x0,0x1,
0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x1,
// :/Open.png
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,
// :/Open v2.png
// :/Delete.png
0x0,0x0,0x0,0x16,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x8,0x3e,
// :/Delete.png
0x0,0x0,0x0,0x32,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x10,0x45,
 
};
 
/trunk/ClassEditor/ClassEditor.pro
42,4 → 42,5
settingsdialog.ui \
settingform.ui \
iconform.ui
RESOURCES += pic.qrc
RESOURCES += pic.qrc \
pic.qrc
/trunk/ClassEditor/mymodel.h
5,7 → 5,7
#include <QtGui>
#include <QSqlQueryModel>
#include <QSqlTableModel>
 
#include <QFileIconProvider>
class MyModel : public QSqlTableModel {
Q_OBJECT
public:
13,11 → 13,15
Qt::ItemFlags flags(const QModelIndex &index) const;
bool setData(const QModelIndex &, const QVariant &, int);
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
private:
QFileIconProvider iconProvider;
 
signals:
 
 
public slots:
 
 
};
 
#endif // MYMODEL_H