Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refs #80 - Sketch base GUI: create/draw point, circle and arc
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_Command.h
diff --git
a/src/XGUI/XGUI_Command.h
b/src/XGUI/XGUI_Command.h
index dbd45b43207d969a93b67916a3768bdffbe04d12..4247a7ca4b8be681ee54c0649bd5aea6f4cbdadd 100644
(file)
--- a/
src/XGUI/XGUI_Command.h
+++ b/
src/XGUI/XGUI_Command.h
@@
-4,8
+4,8
@@
#include "XGUI.h"
#include <QWidgetAction>
#include "XGUI.h"
#include <QWidgetAction>
-#define MIN_BUTTON_HEIGHT
18
-#define MIN_BUTTON_WIDTH
4
0
+#define MIN_BUTTON_HEIGHT
25
+#define MIN_BUTTON_WIDTH
6
0
/**\class XGUI_Command
* \ingroup GUI
/**\class XGUI_Command
* \ingroup GUI
@@
-25,8
+25,8
@@
public:
return data().toString();
}*/
return data().toString();
}*/
- const QStringList&
unblockable
Commands() const;
- void set
Unblockable
Commands(const QStringList& myUnblockableCommands);
+ const QStringList&
nested
Commands() const;
+ void set
Nested
Commands(const QStringList& myUnblockableCommands);
//! Connect the command to a slot
virtual void connectTo(const QObject* theResiver, const char* theSlot);
//! 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.
private:
bool myCheckable;
//! List of Ids of commands which WILL NOT be blocked when the command is on.
- QStringList my
Unblockable
Commands;
+ QStringList my
Nested
Commands;
};
#endif
};
#endif