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