17 #ifndef hifi_MenuItemProperties_h
18 #define hifi_MenuItemProperties_h
22 #include "ScriptValue.h"
31 const QString& shortcutKey = QString(
""),
bool checkable =
false,
bool checked =
false,
bool separator =
false);
33 const KeyEvent& shortcutKeyEvent,
bool checkable =
false,
bool checked =
false,
bool separator =
false);
41 QKeySequence shortcutKeySequence;
44 int position { UNSPECIFIED_POSITION };
49 bool isCheckable {
false };
50 bool isChecked {
false };
51 bool isSeparator {
false };
56 static const int UNSPECIFIED_POSITION = -1;
Represents a keyboard event to the scripting engine. Exposed as KeyEvent
Definition: KeyEvent.h:27
Provides an engine-independent interface for a scripting engine.
Definition: ScriptEngine.h:93
[ScriptInterface] Provides an engine-independent interface for QScriptValue
Definition: ScriptValue.h:40