Qyoto
4.0.5
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 () | |
| |
ViewportAttributes (QWebPage.ViewportAttributes other) | |
| |
virtual void | CreateProxy () |
new double | DevicePixelRatio () |
| |
new double | InitialScaleFactor () |
| |
new bool | IsUserScalable () |
| |
new bool | IsValid () |
| |
new double | MaximumScaleFactor () |
| |
new double | MinimumScaleFactor () |
| |
new QSize | Size () |
| |
new void | Dispose () |
Protected Member Functions | |
ViewportAttributes (System.Type dummy) | |
Protected Attributes | |
SmokeInvocation | interceptor |
Properties | |
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 | ( | ) |
Constructs an empty QWebPage::ViewportAttributes.
QtWebKit.QWebPage.ViewportAttributes.ViewportAttributes | ( | QWebPage.ViewportAttributes | other | ) |
Constructs a QWebPage::ViewportAttributes which is a copy from other .
|
virtual |
new double QtWebKit.QWebPage.ViewportAttributes.DevicePixelRatio | ( | ) |
qreal ViewportAttributes::initialScaleFactor () const
Returns the initial scale of the viewport as a multiplier.
new void QtWebKit.QWebPage.ViewportAttributes.Dispose | ( | ) |
new double QtWebKit.QWebPage.ViewportAttributes.InitialScaleFactor | ( | ) |
Returns the initial scale of the viewport as a multiplier.
new bool QtWebKit.QWebPage.ViewportAttributes.IsUserScalable | ( | ) |
Determines whether or not the scale can be modified by the user.
new bool QtWebKit.QWebPage.ViewportAttributes.IsValid | ( | ) |
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.
new double QtWebKit.QWebPage.ViewportAttributes.MaximumScaleFactor | ( | ) |
Returns the maximum scale value of the viewport as a multiplier.
new double QtWebKit.QWebPage.ViewportAttributes.MinimumScaleFactor | ( | ) |
Returns the minimum scale value of the viewport as a multiplier.
new QSize QtWebKit.QWebPage.ViewportAttributes.Size | ( | ) |
Returns the size of the viewport.
|
protected |
|
getset |