Go to the documentation of this file. 1 #ifndef MYTHUISPINBOX_H_
2 #define MYTHUISPINBOX_H_
24 void SetRange(
int low,
int high,
int step,
uint pageMultiple = 5);
30 void AddSelection (
int value,
const QString &label =
"");
38 std::enable_if_t<std::chrono::__is_duration<T>::value, T>
42 std::enable_if_t<std::chrono::__is_duration<T>::value,
void>
48 bool showWarnings)
override;
52 bool MoveDown(MovementUnit unit = MoveItem,
uint amount = 0)
override;
53 bool MoveUp(MovementUnit unit = MoveItem,
uint amount = 0)
override;
54 void ShowEntryDialog(QString initialEntry);
56 bool m_hasTemplate {
false};
75 int low,
int high,
int step);
78 bool Create(
void)
override;
81 void entryChanged(
void);
92 bool m_okClicked {
false };
QString m_positiveTemplate
std::enable_if_t< std::chrono::__is_duration< T >::value, void > SetDuration(T val)
QString GetValue(void) const override
MythUIButtonList * m_parentList
virtual bool Create(void)
A text entry and edit widget.
Screen in which all other widgets are contained and rendered.
QString m_negativeTemplate
void SetValue(int val) override
MythUISpinBox(MythUIType *parent, const QString &name)
int GetIntValue(void) const override
void SetValue(const QString &val) override
The base class on which all widgets and screens are based.
All purpose text widget, displays a text string.
std::enable_if_t< std::chrono::__is_duration< T >::value, T > GetDuration()
A widget for offering a range of numerical values where only the the bounding values and interval are...