History

expose to scripts the ability to show dedicated qml windows such as preferences

howard-stearns committed 10 years ago

Commit 347b20e1 parent 2a099d52 files · +11 −0Browse files

Showing the changes to interface/src/scripting/DesktopScriptingInterface.h (1 of 2 files). Show all

Unified · Split

interface/src/scripting/DesktopScriptingInterface.h+1−0
@@ -23,6 +23,7 @@ class DesktopScriptingInterface : public QObject, public Dependency { · 22 unmodified lines
23 23
24public:24public:
25 Q_INVOKABLE void setOverlayAlpha(float alpha);25 Q_INVOKABLE void setOverlayAlpha(float alpha);
26 Q_INVOKABLE void show(const QString& path, const QString& title);
26 27
27 int getWidth();28 int getWidth();
28 int getHeight();29 int getHeight();