◆ DHueSaturationSelector()
Digikam::DHueSaturationSelector::DHueSaturationSelector |
( |
QWidget *const |
parent = nullptr | ) |
|
|
explicit |
◆ ~DHueSaturationSelector()
Digikam::DHueSaturationSelector::~DHueSaturationSelector |
( |
| ) |
|
|
override |
◆ chooserMode()
◆ colorValue()
int Digikam::DHueSaturationSelector::colorValue |
( |
| ) |
const |
Returns the color value (also known as luminosity, 0-255)
- Returns
- The color value (0-255)
Referenced by drawPalette().
◆ contentsRect()
QRect Digikam::DPointSelect::contentsRect |
( |
| ) |
const |
|
inherited |
◆ drawContents()
void Digikam::DHueSaturationSelector::drawContents |
( |
QPainter * |
painter | ) |
|
|
overrideprotectedvirtual |
◆ drawMarker()
void Digikam::DPointSelect::drawMarker |
( |
QPainter * |
p, |
|
|
int |
xp, |
|
|
int |
yp |
|
) |
| |
|
protectedvirtualinherited |
◆ drawPalette()
void Digikam::DHueSaturationSelector::drawPalette |
( |
QPixmap * |
pixmap | ) |
|
|
protectedvirtual |
◆ hue()
int Digikam::DHueSaturationSelector::hue |
( |
| ) |
const |
◆ minimumSizeHint()
QSize Digikam::DPointSelect::minimumSizeHint |
( |
| ) |
const |
|
overrideinherited |
Reimplemented to give the widget a minimum size
◆ mouseMoveEvent()
void Digikam::DPointSelect::mouseMoveEvent |
( |
QMouseEvent * |
e | ) |
|
|
overrideprotectedinherited |
◆ mousePressEvent()
void Digikam::DPointSelect::mousePressEvent |
( |
QMouseEvent * |
e | ) |
|
|
overrideprotectedinherited |
◆ paintEvent()
void Digikam::DPointSelect::paintEvent |
( |
QPaintEvent * |
e | ) |
|
|
overrideprotectedinherited |
◆ resizeEvent()
void Digikam::DHueSaturationSelector::resizeEvent |
( |
QResizeEvent * |
| ) |
|
|
overrideprotected |
◆ saturation()
int Digikam::DHueSaturationSelector::saturation |
( |
| ) |
const |
◆ setChooserMode()
void Digikam::DHueSaturationSelector::setChooserMode |
( |
DColorChooserMode |
chooserMode | ) |
|
◆ setColorValue()
void Digikam::DHueSaturationSelector::setColorValue |
( |
int |
color | ) |
|
Sets the color value (0-255)
- Parameters
-
colorValue | The color value (0-255) |
◆ setHue()
void Digikam::DHueSaturationSelector::setHue |
( |
int |
hue | ) |
|
◆ setMarkerColor()
void Digikam::DPointSelect::setMarkerColor |
( |
const QColor & |
col | ) |
|
|
inherited |
Sets the color used to draw the marker
- Parameters
-
◆ setRange()
void Digikam::DPointSelect::setRange |
( |
int |
minX, |
|
|
int |
minY, |
|
|
int |
maxX, |
|
|
int |
maxY |
|
) |
| |
|
inherited |
◆ setSaturation()
void Digikam::DHueSaturationSelector::setSaturation |
( |
int |
saturation | ) |
|
◆ setValues()
void Digikam::DPointSelect::setValues |
( |
int |
xPos, |
|
|
int |
yPos |
|
) |
| |
|
inherited |
◆ setXValue()
void Digikam::DPointSelect::setXValue |
( |
int |
xPos | ) |
|
|
inherited |
◆ setYValue()
void Digikam::DPointSelect::setYValue |
( |
int |
yPos | ) |
|
|
inherited |
◆ updateContents()
void Digikam::DHueSaturationSelector::updateContents |
( |
| ) |
|
◆ valueChanged
void Digikam::DPointSelect::valueChanged |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
signalinherited |
◆ valuesFromPosition()
void Digikam::DPointSelect::valuesFromPosition |
( |
int |
x, |
|
|
int |
y, |
|
|
int & |
xVal, |
|
|
int & |
yVal |
|
) |
| const |
|
protectedinherited |
◆ wheelEvent()
void Digikam::DPointSelect::wheelEvent |
( |
QWheelEvent * |
e | ) |
|
|
overrideprotectedinherited |
◆ xValue()
int Digikam::DPointSelect::xValue |
( |
| ) |
const |
|
inherited |
- Returns
- the current value in horizontal direction.
◆ yValue()
int Digikam::DPointSelect::yValue |
( |
| ) |
const |
|
inherited |
- Returns
- the current value in vertical direction.
◆ Private
◆ xValue
int Digikam::DPointSelect::xValue |
|
readwriteinherited |
◆ yValue
int Digikam::DPointSelect::yValue |
|
readwriteinherited |
The documentation for this class was generated from the following files: