17 Q_PROPERTY(
bool cleared READ isCleared)
18 Q_PROPERTY(
bool minimumHidden READ minimumHidden WRITE setMinimumHidden)
19 Q_PROPERTY(QString placeholderText READ placeholderText WRITE setPlaceholderText)
24 bool minimumHidden() const;
25 void setMinimumHidden(
bool value);
26 QString placeholderText() const;
27 void setPlaceholderText(const QString &placeholderText);
28 bool isCleared() const override;
31 int valueFromText(const QString &
text) const override;
32 QString textFromValue(
int val) const override;
35 void handleValueChanged(
int value);
36 void handleClearButtonClicked() override;
37 void handleCustomLayoutCreated() override;