Screenshot.hh
void DirectoryChanged()
Notify that the directory path has changed.
Q_INVOKABLE void SetDirectory(const QString &_dirUrl)
Set the directory path from a string, for example '/home/Pictures'.
QString savedScreenshotPath
Saved screenshot filepath.
Definition: Screenshot.hh:66
Q_INVOKABLE QString Directory() const
Get the directory path as a string, for example '/home/Pictures'.
Q_INVOKABLE void SetSavedScreenshotPath(const QString &_filename)
Set the filepath of the saved screenshot from a string, for example '/home/Pictures/[timestamp]....
QString directory
Directory to save screenshots.
Definition: Screenshot.hh:58
void savedScreenshot()
Notify that the screenshot has been saved (opens popup)
Q_INVOKABLE QString SavedScreenshotPath() const
Get the filepath of the saved screenshot as a string, for example '/home/Pictures/[timestamp]....
void OnScreenshot()
Callback when screenshot is requested from the GUI.
STL namespace.
Provides a button and a transport service for taking a screenshot of current 3D scene.
Definition: Screenshot.hh:48
void SavedScreenshotPathChanged()
Notify that the screenshot filename has changed.
Definition: gz/gui/Application.hh:35
void LoadConfig(const tinyxml2::XMLElement *_pluginElem) override
Load the plugin with a configuration file. Override this on custom plugins to handle custom configura...