KSane
labeledfslider.cpp
116 connect(m_spinb, QOverload<double>::of(&QDoubleSpinBox::valueChanged), this, QOverload<double>::of(&LabeledFSlider::syncValues));
117 connect(m_slider, QOverload<int>::of(&QSlider::valueChanged), this, QOverload<int>::of(&LabeledFSlider::syncValues));
void valueChanged(const QVariant &value)
OptionUnit valueUnit() const
QVariant minimumValue() const
bool setValue(const QVariant &value)
QVariant stepValue() const
QString title() const
QVariant value() const
QString description() const
QVariant maximumValue() const
OptionUnit
LabeledFSlider(QWidget *parent, const QString &text, double min, double max, double step)
Create the slider.
Definition labeledfslider.cpp:21
void valueChanged(const QVariant &val)
Emit the slider value changes.
QString i18nc(const char *context, const char *text, const TYPE &arg...)
Definition hiderectitem.cpp:12
void setMaximum(int)
void setMinimum(int)
void setOrientation(Qt::Orientation)
void setRange(int min, int max)
void setSingleStep(int)
void sliderReleased()
void setValue(int)
void valueChanged(int value)
void setAlignment(Qt::Alignment flag)
virtual QSize sizeHint() const const override
void setDecimals(int prec)
void setMaximum(double max)
void setMinimum(double min)
void setRange(double minimum, double maximum)
void setSingleStep(double val)
void setSuffix(const QString &suffix)
void setValue(double val)
void valueChanged(double d)
void addWidget(QWidget *widget, int fromRow, int fromColumn, int rowSpan, int columnSpan, Qt::Alignment alignment)
void setColumnStretch(int column, int stretch)
void setBuddy(QWidget *buddy)
bool activate()
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
int width() const const
AlignRight
Horizontal
double toDouble(bool *ok) const const
void setMinimumWidth(int minw)
void setToolTip(const QString &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.