QtGui/qfontdialog.h Source File
Go to the documentation of this file.
55 #ifndef QT_NO_FONTDIALOG
57 class QFontDialogPrivate;
64 Q_PROPERTY(
QFont currentFont READ currentFont WRITE setCurrentFont NOTIFY currentFontChanged)
65 Q_PROPERTY(FontDialogOptions options READ options WRITE setOptions)
69 NoButtons = 0x00000001,
70 DontUseNativeDialog = 0x00000002
73 Q_DECLARE_FLAGS(FontDialogOptions, FontDialogOption)
79 void setCurrentFont(const
QFont &font);
80 QFont currentFont() const;
82 QFont selectedFont() const;
84 void setOption(FontDialogOption option,
bool on = true);
85 bool testOption(FontDialogOption option) const;
86 void setOptions(FontDialogOptions options);
87 FontDialogOptions options() const;
89 #ifdef Q_NO_USING_KEYWORD
102 FontDialogOptions options);
109 { Q_UNUSED(name);
return getFont(ok, initial, parent); }
111 { Q_UNUSED(name);
return getFont(ok, parent); }
115 void currentFontChanged(
const QFont &font);
116 void fontSelected(
const QFont &font);
120 void done(
int result);
134 #if defined(Q_WS_MAC)
139 Q_DECLARE_OPERATORS_FOR_FLAGS(QFontDialog::FontDialogOptions)
141 #endif // QT_NO_FONTDIALOG
147 #endif // QFONTDIALOG_H
void setVisible(bool visible)
GLXDrawable GLXDrawable member
#define Q_PRIVATE_SLOT(d, signature)
#define QT_BEGIN_NAMESPACE
bool eventFilter(QObject *, QEvent *)
GLuint const GLchar * name