Defines a Margin Component.
Margin | Defines a Margin Component. |
Functions | |
new | |
New Margin | This Component defines the Margin of a Frame. |
Variables | |
top | The size of the top of the Margin. |
right | The size of the right side of the Margin. |
bottom | The size of the bottom of the Margin. |
left | The size of the left side of the Margin. |
stylesheet | The Margin Component’s stylesheet. |
Functions | |
updateStylesheet | Updates the Margin Component’s stylesheet. |
Properties | |
Margin Properties |
This Component defines the Margin of a Frame. The Margin is the exterior part of the Frame.
http://doc.qt.nokia.com
Variables | |
top | The size of the top of the Margin. |
right | The size of the right side of the Margin. |
bottom | The size of the bottom of the Margin. |
left | The size of the left side of the Margin. |
stylesheet | The Margin Component’s stylesheet. |
Functions | |
updateStylesheet | Updates the Margin Component’s stylesheet. |
Properties | |
Margin Properties |
local right
The size of the right side of the Margin. Defaults to top.
local bottom
The size of the bottom of the Margin. Defaults to top.
local left
The size of the left side of the Margin. Defaults to right.
local stylesheet
The Margin Component’s stylesheet. Generated via updateStylesheet.
local function updateStylesheet ()
Updates the Margin Component’s stylesheet.
Top | Gets and sets the size of a side of the Margin Component. |
Right | Gets and sets the size of a side of the Margin Component. |
Bottom | Gets and sets the size of a side of the Margin Component. |
Left | Gets and sets the size of a side of the Margin Component. |
Stylesheet | Updates and returns the Margin Component’s stylesheet. |
local function new ( _, ... )
The size of the top of the Margin.
local top
The size of the right side of the Margin.
local right
The size of the bottom of the Margin.
local bottom
The size of the left side of the Margin.
local left
The Margin Component’s stylesheet.
local stylesheet
Updates the Margin Component’s stylesheet.
local function updateStylesheet ()