Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtCore.QMargins Class Reference

The QMargins class defines the four margins of a rectangle. More...

Inheritance diagram for QtCore.QMargins:
Collaboration diagram for QtCore.QMargins:

Public Member Functions

override bool Equals (object o)
 
override int GetHashCode ()
 
 QMargins ()
 
 
 QMargins (QMargins copy)
 
 
 QMargins (int left, int top, int right, int bottom)
 
 
virtual void CreateProxy ()
 
new bool IsNull ()
 
 
new void Dispose ()
 

Static Public Member Functions

static bool operator!= (QMargins arg1, QMargins arg2)
 
static bool operator== (QMargins arg1, QMargins arg2)
 

Protected Member Functions

 QMargins (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

new int Bottom [get, set]
 
 
new int Left [get, set]
 
 
new int Right [get, set]
 
 
new int Top [get, set]
 
 
virtual System.IntPtr SmokeObject [get, set]
 

Detailed Description

The QMargins class defines the four margins of a rectangle.

QMargin defines a set of four margins; left, top, right and bottom, that describe the size of the borders surrounding a rectangle.

The isNull() function returns true only if all margins are set to zero.

QMargin objects can be streamed as well as compared.

Constructor & Destructor Documentation

QtCore.QMargins.QMargins ( System.Type  dummy)
protected
QtCore.QMargins.QMargins ( )

Constructs a margins object with all margins set to 0.

See also isNull().

QtCore.QMargins.QMargins ( QMargins  copy)

Constructs a margins object with all margins set to 0.

See also isNull().

QtCore.QMargins.QMargins ( int  left,
int  top,
int  right,
int  bottom 
)

Constructs margins with the given left, top, right, bottom

See also setLeft(), setRight(), setTop(), and setBottom().

Member Function Documentation

virtual void QtCore.QMargins.CreateProxy ( )
virtual
new void QtCore.QMargins.Dispose ( )
override bool QtCore.QMargins.Equals ( object  o)
override int QtCore.QMargins.GetHashCode ( )
new bool QtCore.QMargins.IsNull ( )

Returns true if all margins are is 0; otherwise returns false.

static bool QtCore.QMargins.operator!= ( QMargins  arg1,
QMargins  arg2 
)
static
static bool QtCore.QMargins.operator== ( QMargins  arg1,
QMargins  arg2 
)
static

Member Data Documentation

SmokeInvocation QtCore.QMargins.interceptor
protected

Property Documentation

new int QtCore.QMargins.Bottom
getset

Returns the bottom margin.

Sets the bottom margin to bottom.

new int QtCore.QMargins.Left
getset

Returns the left margin.

Sets the left margin to left.

new int QtCore.QMargins.Right
getset

Returns the right margin.

Sets the right margin to right.

virtual System.IntPtr QtCore.QMargins.SmokeObject
getset
new int QtCore.QMargins.Top
getset

Returns the top margin.

Sets the Top margin to Top.