X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Command.h;h=4247a7ca4b8be681ee54c0649bd5aea6f4cbdadd;hb=8a9a3ae0793503abf21a2c1b0a08d47d85449fc4;hp=dbd45b43207d969a93b67916a3768bdffbe04d12;hpb=7de345ac623f20ab2f2e3405066c75c86f8e662a;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Command.h b/src/XGUI/XGUI_Command.h index dbd45b432..4247a7ca4 100644 --- a/src/XGUI/XGUI_Command.h +++ b/src/XGUI/XGUI_Command.h @@ -4,8 +4,8 @@ #include "XGUI.h" #include -#define MIN_BUTTON_HEIGHT 18 -#define MIN_BUTTON_WIDTH 40 +#define MIN_BUTTON_HEIGHT 25 +#define MIN_BUTTON_WIDTH 60 /**\class XGUI_Command * \ingroup GUI @@ -25,8 +25,8 @@ public: return data().toString(); }*/ - const QStringList& unblockableCommands() const; - void setUnblockableCommands(const QStringList& myUnblockableCommands); + const QStringList& nestedCommands() const; + void setNestedCommands(const QStringList& myUnblockableCommands); //! Connect the command to a slot virtual void connectTo(const QObject* theResiver, const char* theSlot); @@ -38,7 +38,7 @@ protected: private: bool myCheckable; //! List of Ids of commands which WILL NOT be blocked when the command is on. - QStringList myUnblockableCommands; + QStringList myNestedCommands; }; #endif