Bases: PyQt4.QtGui.QWidget
An expandable/collapsible composite widget
Returns the collapse button widget
Return type: | :class:~`Qt.QToolButton` |
---|---|
Returns: | the collapse button widget |
Returns the contents widget
Return type: | :class:~`Qt.QFrame` |
---|---|
Returns: | the content widget |
This property contains the widget’s content’s visibility
Access functions:
Returns this widget’s content style
Return type: | :class:~`dict` |
---|---|
Returns: | this widget’s content style |
Returns this widget’s title
Return type: | :class:~`str` |
---|---|
Returns: | this widget’s title |
Returns this widget’s title height
Return type: | :class:~`bool` |
---|---|
Returns: | this widget’s title height |
Returns this widget’s title icon
Return type: | :class:~`Qt.QIcon` |
---|---|
Returns: | this widget’s title icon |
Returns this widget’s title style
Return type: | :class:~`dict` |
---|---|
Returns: | this widget’s title style |
Returns this widget’s contents visibility
Return type: | :class:~`bool` |
---|---|
Returns: | this widget’s contents visibility |
Returns this widget’s title visibility
Return type: | :class:~`bool` |
---|---|
Returns: | this widget’s title visibility |
Resets this widget’s content style
Resets this widget’s contents visibility
Resets this widget’s title height
Resets this widget’s title style
Resets this widget’s title visibility
Sets this widget’s content style Used key/values for style_map: - ‘start_color’ : brush (Ex.: ‘#E0E0E0’, ‘rgb(0,0,0)’, ‘white’) - ‘stop_color’ : brush (Ex.: ‘#E0E0E0’, ‘rgb(0,0,0)’, ‘white’)
Parameters: | style_map (:class:~`dict`) – the new widget content style |
---|
Sets this widget’s contents visibility
Parameters: | show (:class:~`bool`) – the new widget contents visibility |
---|
Sets this widget’s title
Parameters: | title (:class:~`str`) – the new widget title |
---|
Sets this widget’s title height
Parameters: | icon (:class:~`bool`) – the new widget title height |
---|
Sets this widget’s title icon
Parameters: | icon (:class:~`Qt.QIcon`) – the new widget title icon |
---|
Sets this widget’s title style Used key/values for style_map: - ‘start_color’ : brush (Ex.: ‘#E0E0E0’, ‘rgb(0,0,0)’, ‘white’) - ‘stop_color’ : brush (Ex.: ‘#E0E0E0’, ‘rgb(0,0,0)’, ‘white’) - ‘font_color’ : brush (Ex.: ‘#E0E0E0’, ‘rgb(0,0,0)’, ‘white’) - ‘border_radius’: radius (Ex.: ‘5px’, ‘5px,2px’)
Parameters: | style_map (:class:~`dict`) – the new widget title style |
---|
Sets this widget’s title visibility
Parameters: | icon (:class:~`bool`) – the new widget title visibility |
---|
Switches this widget’s contents visibility
This property contains the widget’s title
Access functions:
Returns the title bar widget
Return type: | :class:~`Qt.QFrame` |
---|---|
Returns: | the title bar widget |
Returns the title button widget
Return type: | :class:~`Qt.QToolButton` |
---|---|
Returns: | the title button widget |
This property contains the widget’s title height
Access functions:
This property contains the widget’s title icon
Access functions:
This property contains the widget’s title visibility
Access functions: