Changeset View
Changeset View
Standalone View
Standalone View
abstract_wayland_output.h
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Line(s) | 58 | public: | |||
---|---|---|---|---|---|
59 | explicit AbstractWaylandOutput(QObject *parent = nullptr); | 59 | explicit AbstractWaylandOutput(QObject *parent = nullptr); | ||
60 | ~AbstractWaylandOutput() override; | 60 | ~AbstractWaylandOutput() override; | ||
61 | 61 | | |||
62 | QString name() const override; | 62 | QString name() const override; | ||
63 | bool isEnabled() const { | 63 | bool isEnabled() const { | ||
64 | return !m_waylandOutput.isNull(); | 64 | return !m_waylandOutput.isNull(); | ||
65 | } | 65 | } | ||
66 | 66 | | |||
67 | virtual QSize pixelSize() const = 0; | 67 | QSize pixelSize() const; | ||
68 | qreal scale() const override; | 68 | qreal scale() const override; | ||
69 | 69 | | |||
70 | /** | 70 | /** | ||
71 | * The geometry of this output in global compositor co-ordinates (i.e scaled) | 71 | * The geometry of this output in global compositor co-ordinates (i.e scaled) | ||
72 | */ | 72 | */ | ||
73 | QRect geometry() const override; | 73 | QRect geometry() const override; | ||
74 | QSize physicalSize() const override; | 74 | QSize physicalSize() const override; | ||
75 | Qt::ScreenOrientation orientation() const override { | 75 | Qt::ScreenOrientation orientation() const override { | ||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |