mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 16:50:43 +02:00
add removeButton API to ToolbarScriptingInterface
This commit is contained in:
parent
39c7805ca2
commit
345478eb36
1 changed files with 6 additions and 2 deletions
|
@ -91,6 +91,10 @@ public:
|
|||
|
||||
return new ToolbarButtonProxy(rawButton, this);
|
||||
}
|
||||
|
||||
Q_INVOKABLE void removeButton(const QVariant& name) {
|
||||
QMetaObject::invokeMethod(_qmlObject, "removeButton", Qt::AutoConnection, Q_ARG(QVariant, name));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue