|
Qyoto
4.0.5
Qyoto is a C# language binding for Qt
|
The QMargins class defines the four margins of a rectangle. More...


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] |
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.
|
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().
|
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.
|
protected |
|
getset |
Returns the bottom margin.
Sets the bottom margin to bottom.
|
getset |
Returns the left margin.
Sets the left margin to left.
|
getset |
Returns the right margin.
Sets the right margin to right.
|
getset |
|
getset |
Returns the top margin.
Sets the Top margin to Top.