Qyoto
4.0.7
Qyoto is a C# language binding for Qt
|
The QWebPage::ViewportAttributes class describes hints that can be applied to a viewport. More...
Public Member Functions | |
ViewportAttributes () | |
More... | |
ViewportAttributes (QWebPage.ViewportAttributes other) | |
More... | |
virtual void | CreateProxy () |
new void | Dispose () |
Protected Member Functions | |
ViewportAttributes (System.Type dummy) | |
Protected Attributes | |
SmokeInvocation | interceptor |
Properties | |
double | DevicePixelRatio [get] |
More... | |
double | InitialScaleFactor [get] |
More... | |
bool | IsUserScalable [get] |
More... | |
bool | IsValid [get] |
More... | |
double | MaximumScaleFactor [get] |
More... | |
double | MinimumScaleFactor [get] |
More... | |
QSize | Size [get] |
More... | |
virtual System.IntPtr | SmokeObject [get, set] |
The QWebPage::ViewportAttributes class describes hints that can be applied to a viewport.
QWebPage::ViewportAttributes provides a description of a viewport, such as viewport geometry, initial scale factor with limits, plus information about whether a user should be able to scale the contents in the viewport or not, ie. by zooming.
ViewportAttributes can be set by a web author using the viewport meta tag extension, documented at Safari Reference Library: Using the Viewport Meta Tag.
All values might not be set, as such when dealing with the hints, the developer needs to check whether the values are valid. Negative values denote an invalid qreal value.
|
protected |
QtWebKit.QWebPage.ViewportAttributes.ViewportAttributes | ( | ) |
QtWebKit.QWebPage.ViewportAttributes.ViewportAttributes | ( | QWebPage.ViewportAttributes | other | ) |
Constructs a QWebPage::ViewportAttributes which is a copy from other .
|
virtual |
new void QtWebKit.QWebPage.ViewportAttributes.Dispose | ( | ) |
|
protected |
|
get |
qreal ViewportAttributes::initialScaleFactor () const
Returns the initial scale of the viewport as a multiplier.
|
get |
Returns the initial scale of the viewport as a multiplier.
|
get |
Determines whether or not the scale can be modified by the user.
|
get |
Returns whether this is a valid ViewportAttributes or not.
An invalid ViewportAttributes will have an empty QSize, negative values for scale factors and true for the boolean isUserScalable.
|
get |
Returns the maximum scale value of the viewport as a multiplier.
|
get |
Returns the minimum scale value of the viewport as a multiplier.
|
get |
Returns the size of the viewport.
|
getset |