7#include <QtWidgets/qtwidgetsglobal.h>
9#include <QtWidgets/qdialog.h>
22 NOTIFY currentColorChanged)
23 Q_PROPERTY(ColorDialogOptions options READ options WRITE setOptions)
27 ShowAlphaChannel = 0x00000001,
28 NoButtons = 0x00000002,
29 DontUseNativeDialog = 0x00000004,
30 NoEyeDropperButton = 0x00000008
41 QColor currentColor()
const;
43 QColor selectedColor()
const;
45 void setOption(ColorDialogOption
option,
bool on =
true);
46 bool testOption(ColorDialogOption
option)
const;
47 void setOptions(ColorDialogOptions options);
48 ColorDialogOptions options()
const;
58 ColorDialogOptions options = ColorDialogOptions());
60 static int customCount();
The QColorDialog class provides a dialog widget for specifying colors.
void currentColorChanged(const QColor &color)
This signal is emitted whenever the current color changes in the dialog.
void colorSelected(const QColor &color)
This signal is emitted just after the user has clicked \uicontrol{OK} to select a color to use.
The QColor class provides colors based on RGB, HSV or CMYK values.
The QDialog class is the base class of dialog windows.
virtual void done(int)
Closes the dialog and sets its result code to r.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
GLsizei const GLfloat * v
[13]
GLfloat GLfloat GLfloat GLfloat h
QT_BEGIN_NAMESPACE typedef unsigned int QRgb
#define QT_REQUIRE_CONFIG(feature)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent