◆ DColorValueSelector() [1/2]
Digikam::DColorValueSelector::DColorValueSelector |
( |
QWidget *const |
parent = nullptr | ) |
|
|
explicit |
◆ DColorValueSelector() [2/2]
Digikam::DColorValueSelector::DColorValueSelector |
( |
Qt::Orientation |
o, |
|
|
QWidget *const |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~DColorValueSelector()
Digikam::DColorValueSelector::~DColorValueSelector |
( |
| ) |
|
|
override |
◆ arrowDirection()
Qt::ArrowType Digikam::DSelector::arrowDirection |
( |
| ) |
const |
|
inherited |
- Returns
- the current arrow direction
◆ chooserMode()
Returns the current chooser mode.
- Returns
- The chooser mode (one of the DColorChooserMode constants)
Referenced by drawPalette().
◆ colorValue()
int Digikam::DColorValueSelector::colorValue |
( |
| ) |
const |
Returns the current color value.
- Returns
- The color value (0-255)
◆ contentsRect()
QRect Digikam::DSelector::contentsRect |
( |
| ) |
const |
|
inherited |
◆ drawArrow()
void Digikam::DSelector::drawArrow |
( |
QPainter * |
painter, |
|
|
const QPoint & |
pos |
|
) |
| |
|
protectedvirtualinherited |
◆ drawContents()
void Digikam::DColorValueSelector::drawContents |
( |
QPainter * |
painter | ) |
|
|
overrideprotectedvirtual |
◆ drawPalette()
void Digikam::DColorValueSelector::drawPalette |
( |
QPixmap * |
pixmap | ) |
|
|
protectedvirtual |
◆ hue()
int Digikam::DColorValueSelector::hue |
( |
| ) |
const |
Returns the current hue value.
- Returns
- The hue value (0-359)
◆ indent()
bool Digikam::DSelector::indent |
( |
| ) |
const |
|
inherited |
- Returns
- whether the indent option is set.
◆ mouseMoveEvent()
void Digikam::DSelector::mouseMoveEvent |
( |
QMouseEvent * |
e | ) |
|
|
overrideprotectedinherited |
◆ mousePressEvent()
void Digikam::DSelector::mousePressEvent |
( |
QMouseEvent * |
e | ) |
|
|
overrideprotectedinherited |
◆ mouseReleaseEvent()
void Digikam::DSelector::mouseReleaseEvent |
( |
QMouseEvent * |
e | ) |
|
|
overrideprotectedinherited |
◆ paintEvent()
void Digikam::DSelector::paintEvent |
( |
QPaintEvent * |
| ) |
|
|
overrideprotectedinherited |
◆ resizeEvent()
void Digikam::DColorValueSelector::resizeEvent |
( |
QResizeEvent * |
| ) |
|
|
overrideprotected |
◆ saturation()
int Digikam::DColorValueSelector::saturation |
( |
| ) |
const |
Returns the current saturation value.
- Returns
- The saturation value (0-255)
◆ setArrowDirection()
void Digikam::DSelector::setArrowDirection |
( |
Qt::ArrowType |
direction | ) |
|
|
inherited |
◆ setChooserMode()
Sets the chooser mode. Doesn't automatically update the widget; you have to call updateContents manually.
- Parameters
-
chooserMode | Sets the chooser mode (one of the DColorChooserMode constants) |
References Digikam::ChooserHue.
◆ setColorValue()
void Digikam::DColorValueSelector::setColorValue |
( |
int |
colorValue | ) |
|
Sets the color value. Doesn't automatically update the widget; you have to call updateContents manually.
- Parameters
-
colorValue | Sets the color value (0-255) |
References colorValue.
◆ setHue()
void Digikam::DColorValueSelector::setHue |
( |
int |
hue | ) |
|
Sets the hue value. Doesn't automatically update the widget; you have to call updateContents manually.
- Parameters
-
hue | Sets the hue value (0-359) |
References hue.
◆ setIndent()
void Digikam::DSelector::setIndent |
( |
bool |
i | ) |
|
|
inherited |
Sets the indent option of the widget to i. This determines whether a shaded frame is drawn.
◆ setSaturation()
void Digikam::DColorValueSelector::setSaturation |
( |
int |
saturation | ) |
|
Sets the saturation value. Doesn't automatically update the widget; you have to call updateContents manually.
- Parameters
-
saturation | Sets the saturation value (0-255) |
References saturation.
◆ updateContents()
void Digikam::DColorValueSelector::updateContents |
( |
| ) |
|
◆ wheelEvent()
void Digikam::DSelector::wheelEvent |
( |
QWheelEvent * |
e | ) |
|
|
overrideprotectedinherited |
◆ Private
◆ arrowDirection
Qt::ArrowType Digikam::DSelector::arrowDirection |
|
readwriteinherited |
◆ colorValue
int Digikam::DColorValueSelector::colorValue |
|
readwrite |
◆ hue
int Digikam::DColorValueSelector::hue |
|
readwrite |
◆ indent
bool Digikam::DSelector::indent |
|
readwriteinherited |
◆ maxValue
int Digikam::DSelector::maxValue |
|
readwriteinherited |
◆ minValue
int Digikam::DSelector::minValue |
|
readwriteinherited |
◆ saturation
int Digikam::DColorValueSelector::saturation |
|
readwrite |
◆ value
int Digikam::DSelector::value |
|
readwriteinherited |
The documentation for this class was generated from the following files: