Detailed Description
Definition at line 57 of file qcolordialog.h.
#include <qcolordialog.h>
List of all
members.
Public Types
|
| enum |
ColorDialogOption
{
ShowAlphaChannel = 0x00000001,
NoButtons = 0x00000002,
DontUseNativeDialog = 0x00000004 } |
Signals
|
| void |
currentColorChanged
(const QColor
&color) |
| void |
colorSelected
(const QColor
&color) |
Public Member Functions
|
| |
QColorDialog
(QWidget
*parent=0) |
| |
QColorDialog
(const QColor
&initial, QWidget
*parent=0) |
| |
~QColorDialog
() |
| void |
setCurrentColor
(const QColor
&color) |
| QColor |
currentColor
() const |
| QColor |
selectedColor
() const |
| void |
setOption
(ColorDialogOption
option, bool on=true) |
| bool |
testOption
(ColorDialogOption
option) const |
| void |
setOptions
(ColorDialogOptions options) |
|
ColorDialogOptions |
options
() const |
| void |
open
(QObject *receiver,
const char *member) |
| void |
setVisible
(bool visible) |
Static Public Member
Functions
|
| static QColor |
getColor
(const QColor
&initial, QWidget
*parent, const QString
&title, ColorDialogOptions options=0) |
| static QColor |
getColor
(const QColor
&initial=Qt::white, QWidget *parent=0) |
| static QRgb |
getRgba
(QRgb
rgba=0xffffffff, bool *ok=0, QWidget *parent=0) |
| static
int |
customCount
() |
| static QRgb |
customColor
(int index) |
| static
void |
setCustomColor
(int index, QRgb
color) |
| static
void |
setStandardColor
(int index, QRgb
color) |
Protected Member Functions
|
| void |
changeEvent
(QEvent *event) |
| void |
done
(int result) |
Properties
|
| QColor |
currentColor |
|
ColorDialogOptions |
options |
Member Enumeration Documentation
- Enumerator:
-
|
ShowAlphaChannel |
|
|
NoButtons |
|
|
DontUseNativeDialog |
|
Definition at line 67 of file qcolordialog.h.
Constructor & Destructor Documentation
Member Function Documentation
| void setCurrentColor |
( |
const QColor & |
color |
) |
|
| QColor selectedColor |
( |
|
) |
const |
| void setOptions |
( |
ColorDialogOptions |
options |
) |
|
| ColorDialogOptions options |
( |
|
) |
const |
| void open |
( |
QObject * |
receiver, |
|
|
const char * |
member |
|
) |
|
|
| void setVisible |
( |
bool |
visible |
) |
[virtual] |
| static QColor getColor |
( |
const QColor & |
initial, |
|
|
QWidget * |
parent, |
|
|
const QString & |
title, |
|
|
ColorDialogOptions |
options = 0 |
|
) |
|
[static] |
| static QRgb
getRgba |
( |
QRgb |
rgba = 0xffffffff, |
|
|
bool * |
ok = 0, |
|
|
QWidget * |
parent = 0 |
|
) |
|
[static] |
| static int customCount |
( |
|
) |
[static] |
| static QRgb
customColor |
( |
int |
index |
) |
[static] |
| static void setCustomColor |
( |
int |
index, |
|
|
QRgb |
color |
|
) |
|
[static] |
| static void setStandardColor |
( |
int |
index, |
|
|
QRgb |
color |
|
) |
|
[static] |
| void currentColorChanged |
( |
const QColor & |
color |
) |
[signal] |
| void colorSelected |
( |
const QColor & |
color |
) |
[signal] |
| void changeEvent |
( |
QEvent * |
event |
) |
[protected, virtual] |
| void done |
( |
int |
result |
) |
[protected, virtual] |
Property Documentation
QColor currentColor [read,
write] |
ColorDialogOptions options [read,
write] |
The documentation for this class was generated from the following
file:
QColorDialog QColorDialog QColorDialog
QColorDialog QColorDialog QColorDialog QColorDialog QColorDialog
QColorDialog QColorDialog
QColorDialog QColorDialog QColorDialog
QColorDialog QColorDialog QColorDialog QColorDialog QColorDialog
QColorDialog QColorDialog