|
QGIS API Documentation
2.8.2-Wien
|
A native operating system dialog for selecting a color. More...
#include <qgscolordialog.h>
Public Member Functions | |
| QgsColorDialog () | |
| ~QgsColorDialog () | |
Static Public Member Functions | |
| static QColor | getLiveColor (const QColor &initialColor, QObject *updateObject, const char *updateSlot, QWidget *parent=0, const QString &title="", QColorDialog::ColorDialogOptions options=0) |
| Return a color selection from a QColorDialog, with live updating of interim selections. | |
A native operating system dialog for selecting a color.
Definition at line 31 of file qgscolordialog.h.
| QgsColorDialog::QgsColorDialog | ( | ) |
Definition at line 33 of file qgscolordialog.cpp.
| QgsColorDialog::~QgsColorDialog | ( | ) |
Definition at line 37 of file qgscolordialog.cpp.
|
static |
Return a color selection from a QColorDialog, with live updating of interim selections.
| initialColor | The initial color of the selection dialog. |
| updateObject | The receiver object of the live updating. |
| updateSlot | The receiver object's slot for live updating (e.g. SLOT( setValidColor( const QColor& ) ) ). |
| parent | Parent widget. Usually 0 is best for native system color dialogs. |
| title | The title of the QColorDialog. |
| options | ColorDialogOptions passed to QColorDialog. |
Definition at line 41 of file qgscolordialog.cpp.
1.8.1.2