Changeset View
Changeset View
Standalone View
Standalone View
toplevel.h
Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Line(s) | 69 | { | |||
---|---|---|---|---|---|
81 | Q_PROPERTY(QRect geometry READ frameGeometry NOTIFY geometryChanged) | 81 | Q_PROPERTY(QRect geometry READ frameGeometry NOTIFY geometryChanged) | ||
82 | 82 | | |||
83 | /** | 83 | /** | ||
84 | * This property holds the geometry of the Toplevel, excluding invisible | 84 | * This property holds the geometry of the Toplevel, excluding invisible | ||
85 | * portions, e.g. server-side and client-side drop-shadows, etc. | 85 | * portions, e.g. server-side and client-side drop-shadows, etc. | ||
86 | */ | 86 | */ | ||
87 | Q_PROPERTY(QRect frameGeometry READ frameGeometry NOTIFY geometryChanged) | 87 | Q_PROPERTY(QRect frameGeometry READ frameGeometry NOTIFY geometryChanged) | ||
88 | 88 | | |||
89 | Q_PROPERTY(QRect visibleRect READ visibleRect) | 89 | /** | ||
90 | Q_PROPERTY(int height READ height) | 90 | * This property holds the position of the Toplevel's frame geometry. | ||
91 | Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity NOTIFY opacityChanged) | 91 | */ | ||
92 | Q_PROPERTY(QPoint pos READ pos) | 92 | Q_PROPERTY(QPoint pos READ pos) | ||
93 | Q_PROPERTY(int screen READ screen NOTIFY screenChanged) | 93 | | ||
94 | /** | ||||
95 | * This property holds the size of the Toplevel's frame geometry. | ||||
96 | */ | ||||
94 | Q_PROPERTY(QSize size READ size) | 97 | Q_PROPERTY(QSize size READ size) | ||
95 | Q_PROPERTY(int width READ width) | 98 | | ||
96 | Q_PROPERTY(qulonglong windowId READ windowId CONSTANT) | 99 | /** | ||
100 | * This property holds the x position of the Toplevel's frame geometry. | ||||
101 | */ | ||||
97 | Q_PROPERTY(int x READ x) | 102 | Q_PROPERTY(int x READ x) | ||
103 | | ||||
104 | /** | ||||
105 | * This property holds the y position of the Toplevel's frame geometry. | ||||
106 | */ | ||||
98 | Q_PROPERTY(int y READ y) | 107 | Q_PROPERTY(int y READ y) | ||
108 | | ||||
109 | /** | ||||
110 | * This property holds the width of the Toplevel's frame geometry. | ||||
111 | */ | ||||
112 | Q_PROPERTY(int width READ width) | ||||
113 | | ||||
114 | /** | ||||
115 | * This property holds the height of the Toplevel's frame geometry. | ||||
116 | */ | ||||
117 | Q_PROPERTY(int height READ height) | ||||
118 | | ||||
119 | Q_PROPERTY(QRect visibleRect READ visibleRect) | ||||
120 | Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity NOTIFY opacityChanged) | ||||
121 | Q_PROPERTY(int screen READ screen NOTIFY screenChanged) | ||||
122 | Q_PROPERTY(qulonglong windowId READ windowId CONSTANT) | ||||
99 | Q_PROPERTY(int desktop READ desktop) | 123 | Q_PROPERTY(int desktop READ desktop) | ||
100 | 124 | | |||
101 | /** | 125 | /** | ||
102 | * Whether the window is on all desktops. That is desktop is -1. | 126 | * Whether the window is on all desktops. That is desktop is -1. | ||
103 | */ | 127 | */ | ||
104 | Q_PROPERTY(bool onAllDesktops READ isOnAllDesktops) | 128 | Q_PROPERTY(bool onAllDesktops READ isOnAllDesktops) | ||
105 | 129 | | |||
106 | Q_PROPERTY(QRect rect READ rect) | 130 | Q_PROPERTY(QRect rect READ rect) | ||
▲ Show 20 Lines • Show All 877 Lines • Show Last 20 Lines |