Changeset View
Changeset View
Standalone View
Standalone View
toplevel.h
Show First 20 Lines • Show All 213 Lines • ▼ Show 20 Line(s) | 213 | public: | |||
---|---|---|---|---|---|
214 | explicit Toplevel(); | 214 | explicit Toplevel(); | ||
215 | virtual xcb_window_t frameId() const; | 215 | virtual xcb_window_t frameId() const; | ||
216 | xcb_window_t window() const; | 216 | xcb_window_t window() const; | ||
217 | /** | 217 | /** | ||
218 | * @return a unique identifier for the Toplevel. On X11 same as @link {window} | 218 | * @return a unique identifier for the Toplevel. On X11 same as @link {window} | ||
219 | **/ | 219 | **/ | ||
220 | virtual quint32 windowId() const; | 220 | virtual quint32 windowId() const; | ||
221 | QRect geometry() const; | 221 | QRect geometry() const; | ||
222 | /** | ||||
223 | * The geometry of the Toplevel which accepts input events. This might be larger | ||||
224 | * than the actual geometry, e.g. to support resizing outside the window. | ||||
225 | * | ||||
226 | * Default implementation returns same as geometry. | ||||
227 | **/ | ||||
228 | virtual QRect inputGeometry() const; | ||||
222 | QSize size() const; | 229 | QSize size() const; | ||
223 | QPoint pos() const; | 230 | QPoint pos() const; | ||
224 | QRect rect() const; | 231 | QRect rect() const; | ||
225 | int x() const; | 232 | int x() const; | ||
226 | int y() const; | 233 | int y() const; | ||
227 | int width() const; | 234 | int width() const; | ||
228 | int height() const; | 235 | int height() const; | ||
229 | bool isOnScreen(int screen) const; // true if it's at least partially there | 236 | bool isOnScreen(int screen) const; // true if it's at least partially there | ||
▲ Show 20 Lines • Show All 574 Lines • Show Last 20 Lines |