QTfrontend/selectWeapon.h
changeset 4412 c9a78ba03679
parent 2860 13a53315ae18
child 4416 29d2d1548387
equal deleted inserted replaced
4411:79fbc444584c 4412:c9a78ba03679
    31 class SelWeaponItem : public QWidget
    31 class SelWeaponItem : public QWidget
    32 {
    32 {
    33   Q_OBJECT
    33   Q_OBJECT
    34 
    34 
    35 public:
    35 public:
    36   SelWeaponItem(bool allowInfinite, int iconNum, int wNum, QImage image, QWidget* parent=0);
    36   SelWeaponItem(bool allowInfinite, int iconNum, int wNum, QImage image, QImage imagegrey, QWidget* parent=0);
    37 
    37 
    38   unsigned char getItemsNum() const;
    38   unsigned char getItemsNum() const;
    39   void setItemsNum(const unsigned char num);
    39   void setItemsNum(const unsigned char num);
       
    40   void setEnabled(bool value);
    40 
    41 
    41  private:
    42  private:
    42   WeaponItem* item;
    43   WeaponItem* item;
    43 };
    44 };
    44 
    45