Request to open a new view More...
Header: | #include <oxideqnewviewrequest.h> |
Instantiated By: | NewViewRequest |
Inherits: | QObject |
enum | Disposition { DispositionNewForegroundTab, DispositionNewBackgroundTab, DispositionNewPopup, DispositionNewWindow } |
Disposition | disposition() const |
QRect | position() const |
QRectF | positionF() const |
Request to open a new view
OxideQNewViewRequest represents a request to open a new view. disposition provides a hint for the type of view that the application should create, and position provides a hint for the position of the new view.
Applications should respond to this by creating a new view with this request as a construct parameter.
Constant | Value | Description |
---|---|---|
OxideQNewViewRequest::DispositionNewForegroundTab | 1 | The new view should be presented as a new foreground tab |
OxideQNewViewRequest::DispositionNewBackgroundTab | 2 | The new view should be presented as a new background tab |
OxideQNewViewRequest::DispositionNewPopup | 3 | The new view should be presented as a popup. This generally means a new window with reduced UI |
OxideQNewViewRequest::DispositionNewWindow | 4 | The new view should be presented in a new window. |
Disposition hint for the new view. This is a hint to the application for how the new view should be presented.
Access functions:
Disposition | disposition() const |
Position hint for the new view, in screen coordinates.
Access functions:
QRectF | positionF() const |
Returns a position hint for the new view, in screen coordinates.