Changeset View
Changeset View
Standalone View
Standalone View
src/PlatformBackends/ImageGrabber.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 33 | { | |||
---|---|---|---|---|---|
55 | explicit ImageGrabber(QObject *parent = nullptr); | 55 | explicit ImageGrabber(QObject *parent = nullptr); | ||
56 | ~ImageGrabber(); | 56 | ~ImageGrabber(); | ||
57 | 57 | | |||
58 | QPixmap pixmap() const; | 58 | QPixmap pixmap() const; | ||
59 | bool capturePointer() const; | 59 | bool capturePointer() const; | ||
60 | bool captureDecorations() const; | 60 | bool captureDecorations() const; | ||
61 | GrabMode grabMode() const; | 61 | GrabMode grabMode() const; | ||
62 | 62 | | |||
63 | virtual QVector<GrabMode> supportedModes() const = 0; | ||||
63 | virtual bool onClickGrabSupported() const; | 64 | virtual bool onClickGrabSupported() const; | ||
64 | 65 | | |||
65 | void setCapturePointer(const bool newCapturePointer); | 66 | void setCapturePointer(const bool newCapturePointer); | ||
66 | void setCaptureDecorations(const bool newCaptureDecorations); | 67 | void setCaptureDecorations(const bool newCaptureDecorations); | ||
67 | void setGrabMode(const GrabMode newGrabMode); | 68 | void setGrabMode(const GrabMode newGrabMode); | ||
68 | 69 | | |||
69 | Q_SIGNALS: | 70 | Q_SIGNALS: | ||
70 | 71 | | |||
Show All 29 Lines |