QTfrontend/itemNum.h
changeset 4412 c9a78ba03679
parent 2377 f3fab2b09e0c
child 4976 088d40d8aba2
--- a/QTfrontend/itemNum.h	Mon Nov 22 10:04:08 2010 +0100
+++ b/QTfrontend/itemNum.h	Mon Nov 22 12:35:52 2010 +0100
@@ -28,15 +28,18 @@
 
   public:
     void setInfinityState(bool value);
+    void setEnabled(bool value);
     unsigned char getItemsNum() const;
     void setItemsNum(const unsigned char num);
 
   private:
     QImage m_im;
+    QImage m_img;
     bool infinityState;
+    bool enabled;
 
   protected:
-    ItemNum(const QImage& im, QWidget * parent, unsigned char min=2, unsigned char max=8);
+    ItemNum(const QImage& im, const QImage& img, QWidget * parent, unsigned char min=2, unsigned char max=8);
     virtual QSize sizeHint () const;
     virtual ~ItemNum()=0;