1#ifndef MYTHUISPINBOX_H_
2#define MYTHUISPINBOX_H_
4#include "libmythbase/mythconfig.h"
26 void SetRange(
int low,
int high,
int step,
uint pageMultiple = 5);
32 void AddSelection (
int value,
const QString &label =
"");
41 std::enable_if_t<std::chrono::__is_duration_v<T>, T>
43 std::enable_if_t<std::chrono::__is_duration<T>::value, T>
49 std::enable_if_t<std::chrono::__is_duration_v<T>,
void>
51 std::enable_if_t<std::chrono::__is_duration<T>::value,
void>
58 bool showWarnings)
override;
62 bool MoveDown(MovementUnit unit = MoveItem,
uint amount = 0)
override;
63 bool MoveUp(MovementUnit unit = MoveItem,
uint amount = 0)
override;
64 void ShowEntryDialog(QString initialEntry);
66 bool m_hasTemplate {
false};
85 int low,
int high,
int step);
88 bool Create(
void)
override;
91 void entryChanged(
void);
102 bool m_okClicked {
false };
Screen in which all other widgets are contained and rendered.
A widget for offering a range of numerical values where only the the bounding values and interval are...
QString m_positiveTemplate
~MythUISpinBox() override=default
void SetValue(const QString &val) override
void SetValue(int val) override
MythUISpinBox(MythUIType *parent, const QString &name)
std::enable_if_t< std::chrono::__is_duration< T >::value, T > GetDuration()
QString m_negativeTemplate
std::enable_if_t< std::chrono::__is_duration< T >::value, void > SetDuration(T val)
QString GetValue(void) const override
int GetIntValue(void) const override
A text entry and edit widget.
All purpose text widget, displays a text string.
The base class on which all widgets and screens are based.
MythUIButtonList * m_parentList
~SpinBoxEntryDialog(void) override=default