20 #ifndef __QML_NATIVEMENU_H__ 21 #define __QML_NATIVEMENU_H__ 40 Q_PROPERTY(
int x READ
x WRITE
setX)
41 Q_PROPERTY(
int y READ
y WRITE
setY)
56 int x()
const {
return pos.x(); }
57 int y()
const {
return pos.y(); }
58 void setX(
int val) { pos.setX(val); }
59 void setY(
int val) { pos.setY(val); }
63 Q_INVOKABLE
void open();
64 Q_INVOKABLE
void popup();
85 bool _checkable =
false;
86 bool _checked =
false;
89 Q_PROPERTY(QString text MEMBER _text)
90 Q_PROPERTY(
bool checkable MEMBER _checkable)
91 Q_PROPERTY(
bool checked MEMBER _checked)
92 Q_PROPERTY(
bool enabled MEMBER _enabled)
95 void triggered(
bool checked);
100 const QString&
text()
const {
return _text; }
Definition: aeolus.cpp:26