Go to the documentation of this file. 1 #ifndef MYTHUI_BUTTONTREE_H_
2 #define MYTHUI_BUTTONTREE_H_
27 void Reset(
void)
override;
28 bool SetNodeByString(QStringList route);
29 bool SetNodeById(QList<int> route);
31 void ShowSearchDialog(
void);
34 void SetActive(
bool active);
38 void RemoveCurrentItem(
bool deleteNode =
false);
56 bool showWarnings)
override;
62 void SetTreeState(
bool refreshAll =
false);
66 void SwitchList(
bool right);
69 bool m_initialized {
false};
73 int m_depthOffset {0};
virtual bool keyPressEvent(QKeyEvent *event)
Key event handler.
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 gestureEvent(MythGestureEvent *event)
Mouse click/movement handler, receives mouse gesture events from the QCoreApplication event loop.
A custom event that represents a mouse gesture.
virtual bool ParseElement(const QString &filename, QDomElement &element, bool showWarnings)
Parse the xml definition of this widget setting the state of the object accordingly.