Class Margin
This Component defines the Margin of a Frame.
The Margin is the exterior part of the Frame.
See http://doc.qt.nokia.com/4.7-snapshot/stylesheet-customizing.html.
Methods
Margin:Margin (...) | Margin constructor. |
Properties
self.Top.get () | Returns the size of the Margin's top. |
self.Top.set (value) | Sets the size of the Margin's top. |
self.Right.get () | Returns the size of the Margin's right. |
self.Right.set (value) | Sets the size of the Margin's right. |
self.Bottom.get () | Returns the size of the Margin's bottom. |
self.Bottom.set (value) | Sets the size of the Margin's bottom. |
self.Left.get () | Returns the size of the Margin's left. |
self.Left.set (value) | Sets the size of the Margin's left. |
self.Stylesheet.get () | Updates and returns the Margin's stylesheet. |
Methods
- Margin:Margin (...)
-
Margin constructor.
Parameters:
- ... A list of numbers defining the size of each side of the Margin.
Returns:
Properties
- self.Top.get ()
-
Returns the size of the Margin's top.
Returns:
-
number
- self.Top.set (value)
-
Sets the size of the Margin's top.
Parameters:
- value number
- self.Right.get ()
-
Returns the size of the Margin's right.
Returns:
-
number
- self.Right.set (value)
-
Sets the size of the Margin's right.
Parameters:
- value number
- self.Bottom.get ()
-
Returns the size of the Margin's bottom.
Returns:
-
number
- self.Bottom.set (value)
-
Sets the size of the Margin's bottom.
Parameters:
- value number
- self.Left.get ()
-
Returns the size of the Margin's left.
Returns:
-
number
- self.Left.set (value)
-
Sets the size of the Margin's left.
Parameters:
- value number
- self.Stylesheet.get ()
-
Updates and returns the Margin's stylesheet.
Returns: