Qyoto  4.0.6
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 void Dispose ()
 

Static Public Member Functions

static bool operator!= (QMargins m1, QMargins m2)
 
 
static bool operator== (QMargins m1, QMargins m2)
 
 

Protected Member Functions

 QMargins (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

int Bottom [get, set]
 
 
int Left [get, set]
 
 
int Right [get, set]
 
 
int Top [get, set]
 
 
bool IsNull [get]
 
 
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)
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 ( )
static bool QtCore.QMargins.operator!= ( QMargins  m1,
QMargins  m2 
)
static

Returns true if m1 and m2 are different; otherwise returns false.

static bool QtCore.QMargins.operator== ( QMargins  m1,
QMargins  m2 
)
static

Returns true if m1 and m2 are equal; otherwise returns false.

Member Data Documentation

SmokeInvocation QtCore.QMargins.interceptor
protected

Property Documentation

int QtCore.QMargins.Bottom
getset

Returns the bottom margin.

Sets the bottom margin to bottom.

bool QtCore.QMargins.IsNull
get

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

int QtCore.QMargins.Left
getset

Returns the left margin.

Sets the left margin to left.

int QtCore.QMargins.Right
getset

Returns the right margin.

Sets the right margin to right.

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

Returns the top margin.

Sets the Top margin to Top.