during the execution of the program. Use setCustomColor() to set
the custom colors, and use customColor() to get them.
- Additional widgets that allow users to pick colors are available
- as \l{Qt Solutions}.
-
The \l{dialogs/standarddialogs}{Standard Dialogs} example shows
how to use QColorDialog as well as other built-in Qt dialogs.
\image plastique-colordialog.png A color dialog in the Plastique widget style.
- \sa QColor, QFileDialog, QPrintDialog, QFontDialog, {Standard Dialogs Example}
+ \sa QColor, QFileDialog, QFontDialog, {Standard Dialogs Example}
*/
/*!
#endif
}
-/*!
- \fn void QErrorMessage::message(const QString & message)
-
- Use showMessage(\a message) instead.
-*/
-
QT_END_NAMESPACE
#endif // QT_NO_ERRORMESSAGE
The \l{dialogs/standarddialogs}{Standard Dialogs} example shows
how to use QFileDialog as well as other built-in Qt dialogs.
- \sa QDir, QFileInfo, QFile, QPrintDialog, QColorDialog, QFontDialog, {Standard Dialogs Example},
+ \sa QDir, QFileInfo, QFile, QColorDialog, QFontDialog, {Standard Dialogs Example},
{Application Example}
*/
\image plastique-fontdialog.png A font dialog in the Plastique widget style.
- \sa QFont, QFontInfo, QFontMetrics, QColorDialog, QFileDialog, QPrintDialog,
+ \sa QFont, QFontInfo, QFontMetrics, QColorDialog, QFileDialog,
{Standard Dialogs Example}
*/
return (staticName == dynamicName);
}
-/*!
- \fn QFont QFontDialog::getFont(bool *ok, const QFont &initial, QWidget* parent, const char* name)
- \since 4.5
-
- Call getFont(\a ok, \a initial, \a parent) instead.
-
- \warning Do not delete \a parent during the execution of the dialog.
- If you want to do this, you should create the dialog
- yourself using one of the QFontDialog constructors.
-
- The \a name parameter is ignored.
-*/
-
-/*!
- \fn QFont QFontDialog::getFont(bool *ok, QWidget* parent, const char* name)
-
- Call getFont(\a ok, \a parent) instead.
-
- \warning Do not delete \a parent during the execution of the dialog.
- If you want to do this, you should create the dialog
- yourself using one of the QFontDialog constructors.
-
- The \a name parameter is ignored.
-*/
-
QT_END_NAMESPACE
#include "qfontdialog.moc"
}
/*!
- \fn QString QInputDialog::getText(const QString &title, const QString &label,
- QLineEdit::EchoMode echo = QLineEdit::Normal,
- const QString &text = QString(), bool *ok = 0,
- QWidget *parent = 0, const char *name = 0, Qt::WindowFlags flags = 0)
-
- Call getText(\a parent, \a title, \a label, \a echo, \a text, \a
- ok, \a flags) instead.
-
- The \a name parameter is ignored.
-*/
-
-/*!
- \fn double QInputDialog::getDouble(const QString &title, const QString &label, double value = 0,
- double min = -2147483647, double max = 2147483647,
- int decimals = 1, bool *ok = 0,
- QWidget *parent = 0, const char *name = 0, Qt::WindowFlags flags = 0)
-
- Call getDouble(\a parent, \a title, \a label, \a value, \a
- min, \a max, \a decimals, \a ok, \a flags).
-
- The \a name parameter is ignored.
-*/
-
-/*!
- \fn QString QInputDialog::getItem(const QString &title, const QString &label, const QStringList &list,
- int current = 0, bool editable = true, bool *ok = 0,
- QWidget *parent = 0, const char *name = 0, Qt::WindowFlags flags = 0)
-
- Call getItem(\a parent, \a title, \a label, \a list, \a current,
- \a editable, \a ok, \a flags) instead.
-
- The \a name parameter is ignored.
-*/
-
-/*!
\fn void QInputDialog::doubleValueChanged(double value)
This signal is emitted whenever the double value changes in the dialog.