Margin of widget's in point.
More...
|
|
| Margin () |
| | Default constructor.
|
| |
|
| Margin () |
| | Default constructor.
|
| |
| | Margin (float l, float t, float r, float b) |
| | Construct a Margin instance with left, top, right and bottom margins. More...
|
| |
| | Margin ( var l, var t, var r, var b) |
| | Construct a Margin instance with left, top, right and bottom margins. More...
|
| |
|
| Margin (const Margin &other) |
| | Copy constructor.
|
| |
|
Margin & | operator= (const Margin &other) |
| | Copy assignment operator.
|
| |
| void | setMargin (float l, float t, float r, float b) |
| | Change margin with left, top, right and bottom margin. More...
|
| |
| var | setMargin ( var l, var t, var r, var b) |
| | Change margin with left, top, right and bottom margin. More...
|
| |
| bool | equals (const Margin &target) const |
| | Test equality of two margins. More...
|
| |
|
|
float | left |
| | Left margin.
|
| |
|
var | left |
| | Left margin.
|
| |
|
float | top |
| | Top margin.
|
| |
|
var | top |
| | Top margin.
|
| |
|
float | right |
| | Right margin.
|
| |
|
var | right |
| | Right margin.
|
| |
|
float | bottom |
| | Bottom margin.
|
| |
|
var | bottom |
| | Bottom margin.
|
| |
|
|
static const Margin | ZERO |
| | A margin constant with all margins equal zero.
|
| |
Margin of widget's in point.
Margin value should be positive.
| Margin |
( |
float |
l, |
|
|
float |
t, |
|
|
float |
r, |
|
|
float |
b |
|
) |
| |
Construct a Margin instance with left, top, right and bottom margins.
- Parameters
-
| l | Left margin in float. |
| t | Top margin in float. |
| r | Right margin in float. |
| b | Bottom margin in float. |
| var Margin |
( |
var |
l, |
|
|
var |
t, |
|
|
var |
r, |
|
|
var |
b |
|
) |
| |
Construct a Margin instance with left, top, right and bottom margins.
- Parameters
-
| l | Left margin in float. |
| t | Top margin in float. |
| r | Right margin in float. |
| b | Bottom margin in float. |
| void setMargin |
( |
float |
l, |
|
|
float |
t, |
|
|
float |
r, |
|
|
float |
b |
|
) |
| |
Change margin with left, top, right and bottom margin.
- Parameters
-
| l | Left margin in float. |
| t | Top margin in float. |
| r | Right margin in float. |
| b | Bottom margin in float. |
| var setMargin |
( |
var |
l, |
|
|
var |
t, |
|
|
var |
r, |
|
|
var |
b |
|
) |
| |
Change margin with left, top, right and bottom margin.
- Parameters
-
| l | Left margin in float. |
| t | Top margin in float. |
| r | Right margin in float. |
| b | Bottom margin in float. |
| bool equals |
( |
const Margin & |
target | ) |
const |
Test equality of two margins.
- Parameters
-
- Returns
- True if two margins are equal, false otherwise.
Test equality of two margins.
- Parameters
-
- Returns
- True if two margins are equal, false otherwise.
The documentation for this class was generated from the following file: