OxideQNewViewRequest Class

Request to open a new view More...

Header: #include <oxideqnewviewrequest.h>
Instantiated By: NewViewRequest
Inherits: QObject

Public Types

enum Disposition { DispositionNewForegroundTab, DispositionNewBackgroundTab, DispositionNewPopup, DispositionNewWindow }

Properties

Public Functions

Disposition disposition() const
QRect position() const
QRectF positionF() const

Additional Inherited Members

Detailed Description

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.

Member Type Documentation

enum OxideQNewViewRequest::Disposition

ConstantValueDescription
OxideQNewViewRequest::DispositionNewForegroundTab1The new view should be presented as a new foreground tab
OxideQNewViewRequest::DispositionNewBackgroundTab2The new view should be presented as a new background tab
OxideQNewViewRequest::DispositionNewPopup3The new view should be presented as a popup. This generally means a new window with reduced UI
OxideQNewViewRequest::DispositionNewWindow4The new view should be presented in a new window.

Property Documentation

disposition : const Disposition

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 : const QRectF

Position hint for the new view, in screen coordinates.

Access functions:

QRectF positionF() const

Member Function Documentation

QRect OxideQNewViewRequest::position() const

Returns a position hint for the new view, in screen coordinates.