◆ ColorPickerItem()
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.
◆ ~ColorPickerItem()
ColorPickerItem::~ColorPickerItem |
( |
| ) |
|
◆ clicked
void ColorPickerItem::clicked |
( |
| ) |
|
|
signal |
◆ color()
QColor ColorPickerItem::color |
( |
| ) |
const |
◆ isSelected()
bool ColorPickerItem::isSelected |
( |
| ) |
const |
◆ mouseMoveEvent()
void ColorPickerItem::mouseMoveEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
◆ mousePressEvent()
void ColorPickerItem::mousePressEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
◆ mouseReleaseEvent()
void ColorPickerItem::mouseReleaseEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
◆ paintEvent()
void ColorPickerItem::paintEvent |
( |
QPaintEvent * |
e | ) |
|
|
protected |
◆ selected
void ColorPickerItem::selected |
( |
| ) |
|
|
signal |
◆ setColor
void ColorPickerItem::setColor |
( |
const QColor & |
color, |
|
|
const QString & |
text = QString() |
|
) |
| |
|
slot |
Sets the item's color to color, and its name to text.
References color(), and text().
◆ setSelected()
void ColorPickerItem::setSelected |
( |
bool |
selected | ) |
|
◆ text()
QString ColorPickerItem::text |
( |
| ) |
const |
The documentation for this class was generated from the following file:
- src/Mod/Spreadsheet/Gui/qtcolorpicker.cpp