comp • gb.qt4 • style

Style (gb.qt4)

This class is a set of properties that return informations about the current widget style.

This class is static.

Static properties

Static methods Constants
Return the height of a TextBox (or editable ComboBox) frame.
BoxFrameHeight  
Return the width of a TextBox (or editable ComboBox) frame.
BoxFrameWidth  
Return the width of a panel frame.
FrameWidth  
Return the name of the current widget style, or theme, or whatever you like calling that.
Name  
Return the size of a scrollbar.
ScrollbarSize  
Return the spacing between a scroll bar and the scrolling area.
ScrollbarSpacing  
Return the frame width of a TextBox control.
TextBoxFrameWidth  
Return the actual background color of the control that must be used when drawing it.
BackgroundOf  
Return the actual foreground color of the control that must be used when drawing it.
ForegroundOf  
Draws an arrow.
PaintArrow  
Draws a box frame.
PaintBox  
Draws a push button frame.
PaintButton  
Draws a check box.
PaintCheck  
Draws a splitter or toolbar handle.
PaintHandle  
Draws an option button.
PaintOption  
Draws a panel frame.
PaintPanel  
Draws a toolbar separator.
PaintSeparator  
Return the state of a control as a sum of the following flags:
StateOf  
This flags is not used at the moment.
Active  
This flag indicates that a control is disabled.
Disabled  
This flag indicates that a control has the focus.
HasFocus  
This flag indicates that the mouse cursor is inside the control.
Hovered  
This flag indicates that a control is not disabled, does not have the focus, and is not hovered by the mouse cursor.
Normal