List of all members.
Private Attributes |
QColor | c |
bool | sel |
QString | t |
Constructor & Destructor Documentation
ColorPickerItem::ColorPickerItem |
( |
const QColor & |
color = Qt::white , |
|
|
const QString & |
text = QString::null , |
|
|
QWidget * |
parent = 0 |
|
) |
| |
Constructs a ColorPickerItem whose color is set to color, and whose name is set to text.
References t.
ColorPickerItem::~ColorPickerItem |
( |
| ) |
|
Member Function Documentation
void ColorPickerItem::clicked |
( |
| ) |
|
|
signal |
QColor ColorPickerItem::color |
( |
| ) |
const |
bool ColorPickerItem::isSelected |
( |
| ) |
const |
void ColorPickerItem::mouseMoveEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
void ColorPickerItem::mousePressEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
void ColorPickerItem::mouseReleaseEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
void ColorPickerItem::paintEvent |
( |
QPaintEvent * |
e | ) |
|
|
protected |
void ColorPickerItem::selected |
( |
| ) |
|
|
signal |
void ColorPickerItem::setColor |
( |
const QColor & |
color, |
|
|
const QString & |
text = QString() |
|
) |
| |
|
slot |
Sets the item's color to color, and its name to text.
References c, color(), t, and text().
void ColorPickerItem::setSelected |
( |
bool |
selected | ) |
|
QString ColorPickerItem::text |
( |
| ) |
const |
Member Data Documentation
QColor ColorPickerItem::c |
|
private |
bool ColorPickerItem::sel |
|
private |
QString ColorPickerItem::t |
|
private |
The documentation for this class was generated from the following file: