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
2323
2424 public:
2525 Q_INVOKABLE void setOverlayAlpha(float alpha);
26+ Q_INVOKABLE void show(const QString& path, const QString& title);
2627
2728 int getWidth();
2829 int getHeight();