--- a/QTfrontend/itemNum.h Wed Mar 18 21:43:46 2009 +0000
+++ b/QTfrontend/itemNum.h Wed Mar 18 22:02:55 2009 +0000
@@ -31,27 +31,27 @@
unsigned char getItemsNum() const;
void setItemsNum(const unsigned char num);
+ private:
+ QImage m_im;
+ bool infinityState;
+
protected:
ItemNum(const QImage& im, QWidget * parent, unsigned char min=2, unsigned char max=8);
virtual QSize sizeHint () const;
virtual ~ItemNum()=0;
-
+
bool nonInteractive;
- unsigned char numItems;
unsigned char minItems;
unsigned char maxItems;
+ unsigned char numItems;
// from QWidget
virtual void mousePressEvent ( QMouseEvent * event );
virtual void paintEvent(QPaintEvent* event);
-
+
// to be implemented in child
virtual void incItems()=0;
virtual void decItems()=0;
-
- private:
- bool infinityState;
- QImage m_im;
};
#endif // _ITEM_NUM_INCLUDED