Make showMenu invokable from qml
I.e. necessary if we want to specifiy the position of a menu with position coordinates from a MouseArea.
This commit is contained in:
parent
91e67c8304
commit
4e2ee8c42e
@ -53,7 +53,7 @@ public:
|
||||
QObject *visualParent() const;
|
||||
void setVisualParent(QObject *parent);
|
||||
|
||||
void showMenu(int x, int y);
|
||||
Q_INVOKABLE void showMenu(int x, int y);
|
||||
Q_INVOKABLE void open();
|
||||
Q_INVOKABLE void close();
|
||||
Q_INVOKABLE void clearMenuItems();
|
||||
|
Loading…
Reference in New Issue
Block a user