org.kde.koala
public class KFontRequester extends QWidget
UNKNOWN: This class provides a widget with a lineedit and a button, which invokes a font dialog (KFontDialog).
Constructor Summary | |
---|---|
protected | KFontRequester(Class dummy) |
KFontRequester(QWidget parent, String name, boolean onlyFixed)
Constructs a font requester widget. | |
KFontRequester(QWidget parent, String name) | |
KFontRequester(QWidget parent) | |
KFontRequester() |
Method Summary | |
---|---|
QPushButton | button() |
protected void | buttonClicked() |
String | className() |
protected void | displaySampleText() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
QFont | font() |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | isFixedOnly() |
QLabel | label() |
QMetaObject | metaObject() |
String | sampleText() |
void | setFont(QFont font, boolean onlyFixed)
Sets the currently selected font in the requester. |
void | setFont(QFont font) |
void | setSampleText(String text)
Sets the sample text.
|
void | setTitle(String title)
Set the title for the widget that will be used in the tooltip and
what's this text. |
protected void | setToolTip() |
String | title() |
Parameters: parent The parent widget. name The widget name. onlyFixed Only display fonts which have fixed-width character sizes.
UNKNOWN: Constructs a font requester widget.
Returns: Pointer to the pushbutton in the widget.
UNKNOWN:
Returns: The currently selected font in the requester.
UNKNOWN:
Returns: Returns true if only fixed fonts are displayed.
UNKNOWN:
Returns: Pointer to the label used for preview.
UNKNOWN:
Returns: The current text in the sample text input area.
UNKNOWN:
Parameters: font The font to select. onlyFixed Display only fixed-width fonts in the font dialog
if true
, or vice-versa.
UNKNOWN: Sets the currently selected font in the requester.
Parameters: text The new sample text. The current will be removed.
UNKNOWN: Sets the sample text.
Parameters: title The title to be set.
UNKNOWN: Set the title for the widget that will be used in the tooltip and what's this text.
Returns: The current title of the widget.
UNKNOWN: