60 #if QT_VERSION < 0x050000 && defined(Q_CC_MSVC) 64 #include <QtGui/QColor> 65 #include <QtGui/QFont> 78 void setColor(
const QColor &);
80 bool selectColor(
const QColor &);
81 void setSelectedAlpha(
int);
82 int selectedAlpha()
const;
89 void QColorDialog::setColor(
const QColor &) {}
91 bool QColorDialog::selectColor(
const QColor &) {
return false; }
92 void QColorDialog::setSelectedAlpha(
int) {}
93 int QColorDialog::selectedAlpha()
const {
return 0; }
102 void setFont(
const QFont &);
103 void updateFamilies();
116 void QFontDialog::updateFamilies() {}
117 void QFontDialog::updateStyles() {}
118 void QFontDialog::updateSizes() {}
124 enum Type { LineEdit, SpinBox, DoubleSpinBox, ComboBox, EditableComboBox };
QFontDialog(QWidget *parent=0)
Constructs a standard font dialog.
The QColor class provides colors based on RGB, HSV or CMYK values.
#define QT_END_NAMESPACE
This macro expands to.
QColorDialog(QWidget *parent=0)
Constructs a color dialog with the given parent.
The QString class provides a Unicode character string.
static QFont getFont(bool *ok, const QFont &initial, QWidget *parent, const QString &title, FontDialogOptions options)
Executes a modal font dialog and returns a font.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QColorDialog class provides a dialog widget for specifying colors.
The QFontDialog class provides a dialog widget for selecting a font.
The QFont class specifies a font used for drawing text.
~QColorDialog()
Destroys the color dialog.