--- a/QTfrontend/itemNum.h Fri Oct 26 18:55:27 2007 +0000
+++ b/QTfrontend/itemNum.h Fri Nov 30 18:31:41 2007 +0000
@@ -27,11 +27,16 @@
Q_OBJECT
protected:
- ItemNum(const QImage& im, QWidget * parent);
+ ItemNum(const QImage& im, QWidget * parent, unsigned char min=2, unsigned char max=8);
virtual ~ItemNum()=0;
bool nonInteractive;
unsigned char numItems;
+ unsigned char minItems;
+ unsigned char maxItems;
+
+ unsigned char getItemsNum() const;
+ void setItemsNum(const unsigned char num);
// from QWidget
virtual void mousePressEvent ( QMouseEvent * event );