org.kde.koala
public class KFontCombo extends KComboBox
UNKNOWN: A combobox that lists the available fonts.
Constructor Summary | |
---|---|
protected | KFontCombo(Class dummy) |
KFontCombo(QWidget parent, String name)
Constructor | |
KFontCombo(QWidget parent) | |
KFontCombo(String[] fonts, QWidget parent, String name)
Constructor that takes an already initialzed font list | |
KFontCombo(String[] fonts, QWidget parent) |
Method Summary | |
---|---|
boolean | bold()
Returns the current bold status. |
String | className() |
String | currentFont() |
static boolean | displayFonts()
Returns the user's setting of whether the items should be painted
in the respective fonts or not |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | italic()
Returns the current italic status |
QMetaObject | metaObject() |
int | pointSize()
Returns the current font size |
void | setBold(boolean bold)
Sets the listed fonts to bold or normal. |
void | setCurrentFont(String family)
Sets the currently selected font. |
void | setCurrentItem(int i) |
void | setFonts(String[] fonts)
Sets the font list. |
void | setItalic(boolean italic)
Sets the listed fonts to italic or regular. |
void | setSize(int size)
Sets the listed fonts' size |
void | setStrikeOut(boolean strikeOut)
Sets the listed fonts to striked out or not |
void | setUnderline(boolean underline)
Sets the listed fonts to underlined or not underlined |
protected void | slotModified(int i)
Listens to highlighted(int) |
boolean | strikeOut()
Returns the current strike out status |
boolean | underline()
Returns the current underline status |
protected void | updateFonts()
Updated the combo's listBox() to reflect changes made to the
fonts' attributed |
Parameters: parent The parent widget name The object name for the widget
UNKNOWN: Constructor
Parameters: fonts A list of fonts to show parent The parent widget name The object name for the widget
UNKNOWN: Constructor that takes an already initialzed font list
Returns: true if fonts are bold
UNKNOWN: Returns the current bold status.
Returns: the currently selected font.
UNKNOWN:
Returns: True if the respective fonts are used for painting
UNKNOWN: Returns the user's setting of whether the items should be painted in the respective fonts or not
Returns: True if fonts are italic
UNKNOWN: Returns the current italic status
Returns: The point size of the fonts
UNKNOWN: Returns the current font size
Parameters: bold Set to true to display fonts in bold
UNKNOWN: Sets the listed fonts to bold or normal.
Parameters: family Font to select.
UNKNOWN: Sets the currently selected font.
Parameters: fonts Font list to show
UNKNOWN: Sets the font list.
Parameters: italic Set to true to display fonts italic
UNKNOWN: Sets the listed fonts to italic or regular.
Parameters: size Set to the point size to display the fonts in
UNKNOWN: Sets the listed fonts' size
Parameters: strikeOut Set to true to display fonts striked out
UNKNOWN: Sets the listed fonts to striked out or not
Parameters: underline Set to true to display fonts underlined
UNKNOWN: Sets the listed fonts to underlined or not underlined
UNKNOWN:
Returns: True if fonts are striked out
UNKNOWN: Returns the current strike out status
Returns: True if fonts are underlined
UNKNOWN: Returns the current underline status
UNKNOWN: Updated the combo's listBox() to reflect changes made to the fonts' attributed