25 #ifndef DIGIKAM_DSLIDER_SPINBOX_H
26 #define DIGIKAM_DSLIDER_SPINBOX_H
30 #include <QAbstractSpinBox>
31 #include <QStyleOptionSpinBox>
32 #include <QStyleOptionProgressBar>
37 class DAbstractSliderSpinBoxPrivate;
38 class DSliderSpinBoxPrivate;
39 class DDoubleSliderSpinBoxPrivate;
85 bool eventFilter(QObject* recv, QEvent* e)
override;
94 int valueForX(
int x, Qt::KeyboardModifiers modifiers = Qt::NoModifier)
const;
111 DAbstractSliderSpinBoxPrivate*
const d_ptr;
118 void paint(QPainter& painter);
Definition: dsliderspinbox.h:42
virtual void setInternalValue(int value, bool blockUpdateSignal)=0
void contextMenuEvent(QContextMenuEvent *event) override
Definition: dsliderspinbox.cpp:920
void paint(QPainter &painter)
Definition: dsliderspinbox.cpp:212
void showEdit()
Definition: dsliderspinbox.cpp:150
QRect progressRect(const QStyleOptionSpinBox &spinBoxOptions) const
Definition: dsliderspinbox.cpp:801
virtual QSize minimumSize() const
Definition: dsliderspinbox.cpp:725
QStyleOptionProgressBar progressBarOptions() const
Definition: dsliderspinbox.cpp:773
void wheelEvent(QWheelEvent *e) override
Definition: dsliderspinbox.cpp:589
QRect downButtonRect(const QStyleOptionSpinBox &spinBoxOptions) const
Definition: dsliderspinbox.cpp:831
bool isDragging() const
Definition: dsliderspinbox.cpp:945
void hideEdit()
Definition: dsliderspinbox.cpp:175
void paintFusion(QPainter &painter)
Definition: dsliderspinbox.cpp:252
void setSuffix(const QString &suffix)
Definition: dsliderspinbox.cpp:901
void mouseReleaseEvent(QMouseEvent *e) override
Definition: dsliderspinbox.cpp:473
void mouseMoveEvent(QMouseEvent *e) override
Definition: dsliderspinbox.cpp:510
void paintEvent(QPaintEvent *e) override
Definition: dsliderspinbox.cpp:183
void changeEvent(QEvent *e) override
Definition: dsliderspinbox.cpp:951
void setPrefix(const QString &prefix)
Definition: dsliderspinbox.cpp:895
void mousePressEvent(QMouseEvent *e) override
Definition: dsliderspinbox.cpp:445
void keyPressEvent(QKeyEvent *e) override
Definition: dsliderspinbox.cpp:537
void paintBreeze(QPainter &painter)
Definition: dsliderspinbox.cpp:385
virtual QString valueString() const =0
DAbstractSliderSpinBox(QWidget *const parent, DAbstractSliderSpinBoxPrivate *const q)
Definition: dsliderspinbox.cpp:102
bool eventFilter(QObject *recv, QEvent *e) override
Definition: dsliderspinbox.cpp:616
int valueForX(int x, Qt::KeyboardModifiers modifiers=Qt::NoModifier) const
Definition: dsliderspinbox.cpp:837
void setExponentRatio(double dbl)
Definition: dsliderspinbox.cpp:907
QSize sizeHint() const override
Definition: dsliderspinbox.cpp:662
~DAbstractSliderSpinBox() override
Definition: dsliderspinbox.cpp:144
void editLostFocus()
Definition: dsliderspinbox.cpp:925
QRect upButtonRect(const QStyleOptionSpinBox &spinBoxOptions) const
Definition: dsliderspinbox.cpp:825
QSize minimumSizeHint() const override
Definition: dsliderspinbox.cpp:720
void paintPlastique(QPainter &painter)
Definition: dsliderspinbox.cpp:322
void focusInEvent(QFocusEvent *e) override
Definition: dsliderspinbox.cpp:606
void setBlockUpdateSignalOnDrag(bool block)
Definition: dsliderspinbox.cpp:914
QStyleOptionSpinBox spinBoxOptions() const
Definition: dsliderspinbox.cpp:730
DAbstractSliderSpinBoxPrivate *const d_ptr
Definition: dsliderspinbox.h:111
Definition: dsliderspinbox.h:175
double minimum() const
Definition: dsliderspinbox.cpp:1135
void setMinimum(double minimum)
Definition: dsliderspinbox.cpp:1142
void valueChanged(double value)
void setInternalValue(int value, bool blockUpdateSignal) override
Definition: dsliderspinbox.cpp:1204
void setRange(double minimum, double maximum, int decimals=0)
Definition: dsliderspinbox.cpp:1104
double fastSliderStep() const
Definition: dsliderspinbox.cpp:1161
QString valueString() const override
Definition: dsliderspinbox.cpp:1195
DDoubleSliderSpinBox(QWidget *const parent=nullptr)
Definition: dsliderspinbox.cpp:1095
double value()
Definition: dsliderspinbox.cpp:1174
double maximum() const
Definition: dsliderspinbox.cpp:1148
void setMaximum(double maximum)
Definition: dsliderspinbox.cpp:1155
void setSingleStep(double value)
Definition: dsliderspinbox.cpp:1189
void setValue(double value)
Definition: dsliderspinbox.cpp:1181
void setFastSliderStep(double step)
Definition: dsliderspinbox.cpp:1168
~DDoubleSliderSpinBox() override
Definition: dsliderspinbox.cpp:1100
Definition: dsliderspinbox.h:131
DSliderSpinBox(QWidget *const parent=nullptr)
Definition: dsliderspinbox.cpp:984
void setInternalValue(int value, bool blockUpdateSignal) override
Definition: dsliderspinbox.cpp:1077
int fastSliderStep() const
Definition: dsliderspinbox.cpp:1031
void valueChanged(int value)
int minimum
Definition: dsliderspinbox.h:134
void setMinimum(int minimum)
Definition: dsliderspinbox.cpp:1012
int value()
Get the value, don't use value()
Definition: dsliderspinbox.cpp:1044
void setMaximum(int maximum)
Definition: dsliderspinbox.cpp:1025
void setFastSliderStep(int step)
Definition: dsliderspinbox.cpp:1038
QString valueString() const override
Definition: dsliderspinbox.cpp:1057
void setRange(int minimum, int maximum)
Definition: dsliderspinbox.cpp:994
void setValue(int value)
Set the value, don't use setValue()
Definition: dsliderspinbox.cpp:1051
void setSingleStep(int value)
Definition: dsliderspinbox.cpp:1066
~DSliderSpinBox() override
Definition: dsliderspinbox.cpp:990
void setPageStep(int value)
Definition: dsliderspinbox.cpp:1072
int maximum
Definition: dsliderspinbox.h:135
QStringView prefix
Definition: itemviewutilities.cpp:593
QStringView suffix
Definition: itemviewutilities.cpp:594
qulonglong value
Definition: itemviewutilities.cpp:592
Definition: datefolderview.cpp:43