Go to the documentation of this file. 1 #ifndef MYTHUI_SCROLLBAR_H_
2 #define MYTHUI_SCROLLBAR_H_
24 void Reset(
void)
override;
28 void SetPageStep(
int value);
29 void SetSliderPosition(
int value);
30 void SetMaximum(
int value);
33 void DoneFading(
void);
37 bool showWarnings)
override;
42 void CalculatePosition(
void);
43 void timerEvent(QTimerEvent *event)
override;
49 int m_sliderPosition {0};
52 std::chrono::milliseconds m_hideDelay {0ms};
Wrapper around QRect allowing us to handle percentage and other relative values for areas in mythui.
virtual void CreateCopy(MythUIType *parent)
Copy the state of this widget to the one given, it must be of the same type.
virtual void CopyFrom(MythUIType *base)
Copy this widgets state from another.
virtual void Reset(void)
Reset the widget to it's original state, should not reset changes made by the theme.
The base class on which all widgets and screens are based.
virtual bool ParseElement(const QString &filename, QDomElement &element, bool showWarnings)
Parse the xml definition of this widget setting the state of the object accordingly.
virtual void Finalize(void)
Perform any post-xml parsing initialisation tasks.