48 NOTIFY DirectoryChanged
54 READ SavedScreenshotPath
55 WRITE SetSavedScreenshotPath
56 NOTIFY SavedScreenshotPathChanged
66 public:
void LoadConfig(const
tinyxml2::XMLElement *_pluginElem) override;
69 public slots:
void OnScreenshot();
74 private:
bool eventFilter(
QObject *_obj,
QEvent *_event) override;
81 private:
bool ScreenshotService(const msgs::StringMsg &_msg,
86 private:
void FindUserCamera();
89 private:
void SaveScreenshot();
93 public: Q_INVOKABLE
QString Directory() const;
98 public: Q_INVOKABLE
void SetDirectory(const
QString &_dirUrl);
101 signals:
void DirectoryChanged();
106 public: Q_INVOKABLE
QString SavedScreenshotPath() const;
111 public: Q_INVOKABLE
void SetSavedScreenshotPath(const
QString &_filename);
114 signals:
void SavedScreenshotPathChanged();
117 signals:
void savedScreenshot();
121 private: GZ_UTILS_UNIQUE_IMPL_PTR(dataPtr)