Qyoto  4.0.7
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
QtWebKit.QWebPage.ViewportAttributes Class Reference

The QWebPage::ViewportAttributes class describes hints that can be applied to a viewport. More...

Inheritance diagram for QtWebKit.QWebPage.ViewportAttributes:
Collaboration diagram for QtWebKit.QWebPage.ViewportAttributes:

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]
 

Detailed Description

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.

Constructor & Destructor Documentation

QtWebKit.QWebPage.ViewportAttributes.ViewportAttributes ( System.Type  dummy)
protected
QtWebKit.QWebPage.ViewportAttributes.ViewportAttributes ( )

Constructs an empty QWebPage::ViewportAttributes.

Here is the call graph for this function:

QtWebKit.QWebPage.ViewportAttributes.ViewportAttributes ( QWebPage.ViewportAttributes  other)

Constructs a QWebPage::ViewportAttributes which is a copy from other .

Here is the call graph for this function:

Member Function Documentation

virtual void QtWebKit.QWebPage.ViewportAttributes.CreateProxy ( )
virtual

Here is the caller graph for this function:

new void QtWebKit.QWebPage.ViewportAttributes.Dispose ( )

Member Data Documentation

SmokeInvocation QtWebKit.QWebPage.ViewportAttributes.interceptor
protected

Property Documentation

double QtWebKit.QWebPage.ViewportAttributes.DevicePixelRatio
get

qreal ViewportAttributes::initialScaleFactor () const

Returns the initial scale of the viewport as a multiplier.

double QtWebKit.QWebPage.ViewportAttributes.InitialScaleFactor
get

Returns the initial scale of the viewport as a multiplier.

bool QtWebKit.QWebPage.ViewportAttributes.IsUserScalable
get

Determines whether or not the scale can be modified by the user.

bool QtWebKit.QWebPage.ViewportAttributes.IsValid
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.

double QtWebKit.QWebPage.ViewportAttributes.MaximumScaleFactor
get

Returns the maximum scale value of the viewport as a multiplier.

double QtWebKit.QWebPage.ViewportAttributes.MinimumScaleFactor
get

Returns the minimum scale value of the viewport as a multiplier.

QSize QtWebKit.QWebPage.ViewportAttributes.Size
get

Returns the size of the viewport.

virtual System.IntPtr QtWebKit.QWebPage.ViewportAttributes.SmokeObject
getset