|
|
A combobox that lists the available fonts.
The items are painted using the respective font itself, so the user can easily choose a font based on its look. This can be turned off globally if the user wishes so.
| |
Constructor
Parameters:
| parent | The parent widget |
| name | The object name for the widget |
| |
Constructor that takes an already initialzed font list
Parameters:
| fonts | A list of fonts to show |
| parent | The parent widget |
| name | The object name for the widget |
| ~ |
[virtual]
Destructor
| void |
Sets the font list
Parameters:
| fonts | Font list to show |
| void |
Set the listed fonts to bold or normal
Parameters:
| bold | Set to true to display fonts in bold |
| bool |
[const]
Retrieve the current bold status
Returns: True if fonts are bold
| void |
Set the listed fonts to italic or regular
Parameters:
| italic | Set to true to display fonts italic |
| bool |
[const]
Retrieve the current italic status
Returns: True if fonts are italic
| void |
Set the listed fonts to underlined or not underlined
Parameters:
| underline | Set to true to display fonts underlined |
| bool |
[const]
Retrieve the current underline status
Returns: True if fonts are underlined
| void |
Set the listed fonts to striked out or not
Parameters:
| strikeOut | Set to true to display fonts striked out |
| bool |
[const]
Retrieve the current strike out status
Returns: True if fonts are striked out
| void |
Set the listed fonts' size
Parameters:
| size | Set to the point size to display the fonts in |
| int |
[const]
Retrieve the current font size
Returns: The point size of the fonts
Reimplemented from QWidget
| bool |
[static]
Retrieve the user's setting of whether the items should be painted in the respective fonts or not
Returns: True if the respective fonts are used for painting
| void |
[protected]
Updated the combo's listBox() to reflect changes made to the fonts' attributed