]> Shamusworld >> Repos - virtualjaguar/blob - src/gui/imagedelegate.h
More incremental improvements to the "Insert Cart" dialog...
[virtualjaguar] / src / gui / imagedelegate.h
1 //
2 // imagedelegate.h: Class definition
3 //
4
5 #ifndef __IMAGEDELEGATE_H__
6 #define __IMAGEDELEGATE_H__
7
8 #include <QtGui>
9
10 class ImageDelegate: public QAbstractItemDelegate
11 {
12 //      Q_OBJECT
13
14         public:
15 //              ImageDelegate(QObject * parent = 0);
16
17                 void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
18                 QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index ) const;
19
20 //      public slots:
21 //              void setPixelSize(int size);
22
23 //      private:
24 //              int pixelSize;
25 };
26
27 #endif  // __IMAGEDELEGATE_H__