Changeset View
Changeset View
Standalone View
Standalone View
src/Gui/KSWidget.h
Show All 19 Lines | |||||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | #pragma once | 22 | #pragma once | ||
23 | 23 | | |||
24 | #include <QWidget> | 24 | #include <QWidget> | ||
25 | #include <QPixmap> | 25 | #include <QPixmap> | ||
26 | 26 | | |||
27 | #include "SpectacleCommon.h" | 27 | #include "SpectacleCommon.h" | ||
28 | #include "Platforms/Platform.h" | 28 | #include "BackendInterfaces/ScreenshotInterface.h" | ||
29 | 29 | | |||
30 | class QAction; | 30 | class QAction; | ||
31 | class QGridLayout; | 31 | class QGridLayout; | ||
32 | class QHBoxLayout; | 32 | class QHBoxLayout; | ||
33 | class QVBoxLayout; | 33 | class QVBoxLayout; | ||
34 | class QFormLayout; | 34 | class QFormLayout; | ||
35 | class QComboBox; | 35 | class QComboBox; | ||
36 | class QCheckBox; | 36 | class QCheckBox; | ||
37 | class QLabel; | 37 | class QLabel; | ||
38 | 38 | | |||
39 | class KSImageWidget; | 39 | class KSImageWidget; | ||
40 | class ProgressButton; | 40 | class ProgressButton; | ||
41 | class SmartSpinBox; | 41 | class SmartSpinBox; | ||
42 | 42 | | |||
43 | class KSWidget : public QWidget | 43 | class KSWidget : public QWidget | ||
44 | { | 44 | { | ||
45 | Q_OBJECT | 45 | Q_OBJECT | ||
46 | 46 | | |||
47 | public: | 47 | public: | ||
48 | 48 | | |||
49 | explicit KSWidget(const Platform::GrabModes &theGrabModes, QWidget *parent = nullptr); | 49 | explicit KSWidget(const GrabModes &theGrabModes, QWidget *parent = nullptr); | ||
50 | virtual ~KSWidget() = default; | 50 | virtual ~KSWidget() = default; | ||
51 | 51 | | |||
52 | 52 | | |||
53 | enum class State { | 53 | enum class State { | ||
54 | TakeNewScreenshot, | 54 | TakeNewScreenshot, | ||
55 | Cancel | 55 | Cancel | ||
56 | }; | 56 | }; | ||
57 | 57 | | |||
▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines |