Changeset View
Changeset View
Standalone View
Standalone View
src/Gui/KSMainWindow.h
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Line(s) | 42 | { | |||
---|---|---|---|---|---|
79 | void saveAs(); | 79 | void saveAs(); | ||
80 | int windowWidth(const QPixmap &pixmap) const; | 80 | int windowWidth(const QPixmap &pixmap) const; | ||
81 | void restoreWindowTitle(); | 81 | void restoreWindowTitle(); | ||
82 | 82 | | |||
83 | public Q_SLOTS: | 83 | public Q_SLOTS: | ||
84 | 84 | | |||
85 | void setScreenshotAndShow(const QPixmap &pixmap); | 85 | void setScreenshotAndShow(const QPixmap &pixmap); | ||
86 | void imageSaved(const QUrl &location); | 86 | void imageSaved(const QUrl &location); | ||
87 | void imageSavedAndCopied(const QUrl &location); | ||||
87 | 88 | | |||
88 | Q_SIGNALS: | 89 | Q_SIGNALS: | ||
89 | 90 | | |||
90 | void newScreenshotRequest(Spectacle::CaptureMode theCaptureMode, int theTimeout, bool theIncludePointer, bool theIncludeDecorations); | 91 | void newScreenshotRequest(Spectacle::CaptureMode theCaptureMode, int theTimeout, bool theIncludePointer, bool theIncludeDecorations); | ||
91 | void dragAndDropRequest(); | 92 | void dragAndDropRequest(); | ||
92 | 93 | | |||
93 | protected: | 94 | protected: | ||
94 | 95 | | |||
95 | void moveEvent(QMoveEvent *event) override; | 96 | void moveEvent(QMoveEvent *event) override; | ||
96 | 97 | | |||
97 | private: | 98 | private: | ||
98 | 99 | | |||
99 | KSWidget *mKSWidget; | 100 | KSWidget *mKSWidget; | ||
100 | QFrame *mDivider; | 101 | QFrame *mDivider; | ||
101 | QDialogButtonBox *mDialogButtonBox; | 102 | QDialogButtonBox *mDialogButtonBox; | ||
102 | QToolButton *mConfigureButton; | 103 | QToolButton *mConfigureButton; | ||
103 | QPushButton *mToolsButton; | 104 | QPushButton *mToolsButton; | ||
104 | QPushButton *mSendToButton; | 105 | QPushButton *mSendToButton; | ||
105 | QToolButton *mClipboardButton; | 106 | QToolButton *mClipboardButton; | ||
106 | QToolButton *mSaveButton; | 107 | QToolButton *mSaveButton; | ||
107 | QMenu *mSaveMenu; | 108 | QMenu *mSaveMenu; | ||
108 | QAction *mSaveAsAction; | 109 | QAction *mSaveAsAction; | ||
109 | QAction *mSaveAction; | 110 | QAction *mSaveAction; | ||
111 | QAction *mOpenContaining; | ||||
110 | KMessageWidget *mMessageWidget; | 112 | KMessageWidget *mMessageWidget; | ||
111 | QMenu *mToolsMenu; | 113 | QMenu *mToolsMenu; | ||
112 | QMenu *mScreenRecorderToolsMenu; | 114 | QMenu *mScreenRecorderToolsMenu; | ||
113 | std::unique_ptr<KMoreToolsMenuFactory> mScreenrecorderToolsMenuFactory; | 115 | std::unique_ptr<KMoreToolsMenuFactory> mScreenrecorderToolsMenuFactory; | ||
114 | ExportMenu *mExportMenu; | 116 | ExportMenu *mExportMenu; | ||
115 | Platform::ShutterModes mShutterModes; | 117 | Platform::ShutterModes mShutterModes; | ||
116 | QTimer *mHideMessageWidgetTimer; | 118 | QTimer *mHideMessageWidgetTimer; | ||
117 | }; | 119 | }; |