1#ifndef WIDGETS_CLEARSPINBOX_H
2#define WIDGETS_CLEARSPINBOX_H
9QT_FORWARD_DECLARE_CLASS(QHBoxLayout)
35 void handleValueChanged(
int value);
36 void handleClearButtonClicked() override;
37 void handleCustomLayoutCreated() override;
48 return m_minimumHidden;
56 m_minimumHidden = value;
65 return lineEdit()->placeholderText();
bool isCleared() const override
Returns whether the related widget is cleared.
void setMinimumHidden(bool value)
Sets whether the minimum value should be hidden.
QString textFromValue(int val) const override
void setPlaceholderText(const QString &placeholderText)
Sets the placeholder text.
ClearSpinBox(QWidget *parent=nullptr)
Constructs a clear spin box.
int valueFromText(const QString &text) const override
#define QT_UTILITIES_EXPORT
Marks the symbol to be exported by the qtutilities library.