Style (gb.qt4)
This class is a set of properties that return informations about the current widget style.
This class is static.
Constants
| 
Active  
 | 
This flag is not used at the moment.
 | 
| 
Default  
 | 
This flags tells the Style routine to use the current painted control (if it exists) as a context.
 | 
| 
Disabled  
 | 
This flag indicates that a control is disabled.
 | 
| 
HasFocus  
 | 
This flag indicates that a control has the focus.
 | 
| 
Hovered  
 | 
This flag indicates that the mouse cursor is inside the control.
 | 
| 
Normal  
 | 
This flag indicates that a control is not disabled, does not have the focus, and is not hovered by the mouse cursor.
 | 
| 
ShapeCircle  
 | 
Constant that represents a very round border shape.
 | 
| 
ShapeDefault  
 | 
Constant that represents the default border shape.
 | 
| 
ShapeFlat  
 | 
Constant flag that indicates a flat background.
 | 
| 
ShapeHideBottom  
 | 
Constant flag that indicates that the bottom border is hidden.
 | 
| 
ShapeHideLeft  
 | 
Constant flag that indicates that the left border is hidden.
 | 
| 
ShapeHideRight  
 | 
Constant flag that indicates that the right border is hidden.
 | 
| 
ShapeHideTop  
 | 
Constant flag that indicates that the top border is hidden.
 | 
| 
ShapeRound  
 | 
Constant that represents a round border shape.
 | 
| 
ShapeSmooth  
 | 
Constant that represents a slight round border shape.
 | 
| 
ShapeSquare  
 | 
Constant that represents a square border shape.
 | 
| 
ShapeSquareBottom  
 | 
Constant flag that indicates that the bottom border is not rounded.
 | 
| 
ShapeSquareLeft  
 | 
Constant flag that indicates that the left border is not rounded.
 | 
| 
ShapeSquareRight  
 | 
Constant flag that indicates that the right border is not rounded.
 | 
| 
ShapeSquareTop  
 | 
Constant flag that indicates that the top border is not rounded.
 | 
Static properties
| 
BorderRadius  
 | 
Return the radius of the styled borders in pixels.
 | 
| 
BorderSize  
 | 
Return the size of the styled borders in pixels.
 | 
| 
BoxFrameHeight  
 | 
Return the height of a TextBox (or editable ComboBox) frame.
 | 
| 
BoxFrameWidth  
 | 
Return the width of a TextBox (or editable ComboBox) frame.
 | 
| 
Color  
 | 
Return or set the highlight color of the styled borders.
 | 
| 
Flat  
 | 
Return or set if the styled borders are drawn with a filled shape instead of a stroke one.
 | 
| 
FrameWidth  
 | 
Return the width of a panel frame.
 | 
| 
FramedSelection  
 | 
Return or set if selections are drawn with a frame or not.
 | 
| 
Name  
 | 
Return the name of the current widget style, or theme, or whatever you like calling that.
 | 
| 
Opacity  
 | 
Return or set the opacity of the styled borders.
 | 
| 
ScrollbarSize  
 | 
Return the size of a scrollbar.
 | 
| 
ScrollbarSpacing  
 | 
Return the spacing between a scroll bar and the scrolling area.
 | 
| 
Shadows  
 | 
Return or set if shadows inside scrolling controls (like ScrollArea or TreeView) are visible.
 | 
| 
Shape  
 | 
Return or set the shape used by styled control border.
 | 
| 
TextBoxFrameWidth  
 | 
Return the frame width of a TextBox control.
 | 
Static methods