Inherits QSlider.
|
|
using | ColorFunction = AZStd::function< QColor(qreal)> |
| |
|
using | ToolTipFunction = AZStd::function< QString(qreal)> |
| |
|
|
| GradientSlider (Qt::Orientation orientation, QWidget *parent=nullptr) |
| |
|
| GradientSlider (QWidget *parent=nullptr) |
| |
|
void | setColorFunction (ColorFunction colorFunction) |
| |
|
void | setToolTipFunction (ToolTipFunction toolTipFunction) |
| |
|
void | updateGradient () |
| |
|
int | decimals () const |
| |
|
void | setDecimals (int decimals) |
| |
|
QPoint | toolTipOffset () const |
| |
|
void | setToolTipOffset (const QPoint &toolTipOffset) |
| |
|
int | toolTipOffsetX () const |
| |
|
void | setToolTipOffsetX (int toolTipOffsetX) |
| |
|
int | toolTipOffsetY () const |
| |
|
void | setToolTipOffsetY (int toolTipOffsetY) |
| |
|
bool | GetIgnoreWheelEvents () const |
| |
|
void | SetIgnoreWheelEvents (bool shouldIgnore) |
| |
|
QColor | colorAt (qreal position) const |
| |
|
|
void | resizeEvent (QResizeEvent *e) override |
| |
|
void | keyPressEvent (QKeyEvent *e) override |
| |
|
void | mouseMoveEvent (QMouseEvent *e) override |
| |
|
void | wheelEvent (QWheelEvent *e) override |
| |
|
|
int | decimals |
| |
|
int | toolTipOffsetX |
| |
|
int | toolTipOffsetY |
| |
The documentation for this class was generated from the following file:
- Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/GradientSlider.h