◆ CustomStepsIntSpinBox()
Digikam::CustomStepsIntSpinBox::CustomStepsIntSpinBox |
( |
QWidget *const |
parent = nullptr | ) |
|
|
explicit |
This is a normal QIntSpinBox which allows to customize the stepping behavior, for cases where linear steps are not applicable
◆ ~CustomStepsIntSpinBox()
Digikam::CustomStepsIntSpinBox::~CustomStepsIntSpinBox |
( |
| ) |
|
|
override |
◆ enableFractionMagic()
void Digikam::CustomStepsIntSpinBox::enableFractionMagic |
( |
const QString & |
prefix | ) |
|
◆ fractionMagicValue()
double Digikam::CustomStepsIntSpinBox::fractionMagicValue |
( |
| ) |
const |
◆ reset()
void Digikam::CustomStepsIntSpinBox::reset |
( |
| ) |
|
◆ setFractionMagicValue()
void Digikam::CustomStepsIntSpinBox::setFractionMagicValue |
( |
double |
value | ) |
|
◆ setInvertStepping()
void Digikam::CustomStepsIntSpinBox::setInvertStepping |
( |
bool |
invert | ) |
|
◆ setSingleSteps()
void Digikam::CustomStepsIntSpinBox::setSingleSteps |
( |
int |
smaller, |
|
|
int |
larger |
|
) |
| |
◆ setSuggestedInitialValue()
void Digikam::CustomStepsIntSpinBox::setSuggestedInitialValue |
( |
int |
initialValue | ) |
|
◆ setSuggestedValues()
void Digikam::CustomStepsIntSpinBox::setSuggestedValues |
( |
const QList< int > & |
values | ) |
|
Set a list of values that are usually applicable for the type of data of the combo box. The user can still type in any other value. Boundaries are not touched. Up or below the min and max values of the list given, default stepping is used.
Referenced by Digikam::SearchFieldRangeInt::setSuggestedValues().
◆ stepBy()
void Digikam::CustomStepsIntSpinBox::stepBy |
( |
int |
steps | ) |
|
|
override |
◆ stepEnabled()
QAbstractSpinBox::StepEnabled Digikam::CustomStepsIntSpinBox::stepEnabled |
( |
| ) |
const |
|
overrideprotected |
◆ textFromValue()
QString Digikam::CustomStepsIntSpinBox::textFromValue |
( |
int |
value | ) |
const |
|
overrideprotected |
◆ valueFromText()
int Digikam::CustomStepsIntSpinBox::valueFromText |
( |
const QString & |
text | ) |
const |
|
overrideprotected |
The documentation for this class was generated from the following files: