MythTV  master
mythuibuttonlist.h
Go to the documentation of this file.
1 #ifndef MYTHUIBUTTONLIST_H_
2 #define MYTHUIBUTTONLIST_H_
3 
4 #include <utility>
5 
6 // Qt headers
7 #include <QHash>
8 #include <QList>
9 #include <QString>
10 #include <QVariant>
11 
12 // MythTV headers
13 #include "mythuitype.h"
14 #include "mythscreentype.h"
15 #include "mythimage.h"
16 
17 class MythUIButtonList;
18 class MythUIScrollBar;
19 class MythUIStateType;
20 class MythUIGroup;
21 class MythUIProgressBar;
22 
24  QString text;
25  QString state;
26 };
27 
28 struct ProgressInfo {
29  int8_t start {0}; // All in the range [0-100]
30  int8_t total {0};
31  int8_t used {0};
32 };
33 
34 using muibCbFn = QString (*)(const QString &name, void *data);
35 struct muibCbInfo
36 {
37  muibCbFn fn {nullptr};
38  void* data {nullptr};
39 };
40 
42 {
43  public:
44  enum CheckState {
45  CantCheck = -1,
46  NotChecked = 0,
48  FullChecked
49  };
50 
51  MythUIButtonListItem(MythUIButtonList *lbtype, QString text,
52  QString image = "", bool checkable = false,
53  CheckState state = CantCheck, bool showArrow = false,
54  int listPosition = -1);
55  MythUIButtonListItem(MythUIButtonList *lbtype, const QString& text,
56  QVariant data, int listPosition = -1);
57  template <typename SLOT>
59  const QString& text, SLOT slot, int listPosition = -1)
60  : MythUIButtonListItem(lbtype, text, QVariant::fromValue(static_cast<MythUICallbackMF>(slot)), listPosition) { }
61  template <typename SLOT>
63  const QString& text, SLOT slot, int listPosition = -1)
64  : MythUIButtonListItem(lbtype, text, QVariant::fromValue(static_cast<MythUICallbackMFc>(slot)), listPosition) { }
65  virtual ~MythUIButtonListItem();
66 
67  MythUIButtonList *parent() const;
68 
69  void SetText(const QString &text, const QString &name="",
70  const QString &state="");
71  void SetTextFromMap(const InfoMap &infoMap, const QString &state="");
72  void SetTextFromMap(const QMap<QString, TextProperties> &stringMap);
73  void SetTextCb(muibCbFn fn, void *data);
74  QString GetText(const QString &name="") const;
75  TextProperties GetTextProp(const QString &name = "") const;
76 
77  bool FindText(const QString &searchStr, const QString &fieldList = "**ALL**",
78  bool startsWith = false) const;
79 
80  void SetFontState(const QString &state, const QString &name="");
81 
85  void SetImage(MythImage *image, const QString &name="");
86 
92  MythImage *GetImage(const QString &name="");
93 
95  bool HasImage(const QString &name="")
96  {
97  MythImage *img = GetImage(name);
98  if (img)
99  {
100  img->DecrRef();
101  return true;
102  }
103 
104  return false;
105  }
106 
107  void SetImage(const QString &filename, const QString &name="",
108  bool force_reload = false);
109  void SetImageFromMap(const InfoMap &imageMap);
110  void SetImageCb(muibCbFn fn, void *data);
111  QString GetImageFilename(const QString &name="") const;
112 
113  void SetProgress1(int start, int total, int used);
114  void SetProgress2(int start, int total, int used);
115 
116  void DisplayState(const QString &state, const QString &name);
117  void SetStatesFromMap(const InfoMap &stateMap);
118  void SetStateCb(muibCbFn fn, void *data);
119  QString GetState(const QString &name);
120 
121  bool isVisible() const { return m_isVisible; }
122  void setVisible(bool flag) { m_isVisible = flag; }
123 
124  bool checkable() const;
125  void setCheckable(bool flag);
126 
127  bool isEnabled() const;
128  void setEnabled(bool flag);
129 
130  CheckState state() const;
131  void setChecked(CheckState state);
132 
133  void setDrawArrow(bool flag);
134 
135  void SetData(QVariant data);
136  QVariant GetData();
137 
138  bool MoveUpDown(bool flag);
139 
140  virtual void SetToRealButton(MythUIStateType *button, bool selected);
141 
142  private:
143  void DoButtonText(MythUIText *buttontext);
144  void DoButtonImage(MythUIImage *buttonimage);
145  void DoButtonArrow(MythUIImage *buttonarrow) const;
146  void DoButtonCheck(MythUIStateType *buttoncheck);
147  void DoButtonProgress1(MythUIProgressBar *buttonprogress) const;
148  void DoButtonProgress2(MythUIProgressBar *buttonprogress) const;
149  void DoButtonLookupText(MythUIText *text, const TextProperties& textprop);
150  static void DoButtonLookupFilename(MythUIImage *image, const QString& filename);
151  static void DoButtonLookupImage(MythUIImage *uiimage, MythImage *image);
152  static void DoButtonLookupState(MythUIStateType *statetype, const QString& name);
153 
154  protected:
155  MythUIButtonList *m_parent {nullptr};
156  QString m_text;
157  QString m_fontState;
158  MythImage *m_image {nullptr};
160  bool m_checkable {false};
161  CheckState m_state {CantCheck};
162  QVariant m_data {0};
163  bool m_showArrow {false};
164  bool m_isVisible {false};
165  bool m_enabled {true};
166  bool m_debugme {false};
167  ProgressInfo m_progress1 {0,0,0};
168  ProgressInfo m_progress2 {0,0,0};
169 
170  QMap<QString, TextProperties> m_strings;
171  QMap<QString, MythImage*> m_images;
177 
178  friend class MythUIButtonList;
179  friend class MythGenericTree;
180 };
181 
192 {
193  Q_OBJECT
194  public:
195  MythUIButtonList(MythUIType *parent, const QString &name);
196  MythUIButtonList(MythUIType *parent, const QString &name,
197  QRect area, bool showArrow = true,
198  bool showScrollBar = false);
199  ~MythUIButtonList() override;
200 
201  bool keyPressEvent(QKeyEvent *event) override; // MythUIType
202  bool gestureEvent(MythGestureEvent *event) override; // MythUIType
203  void customEvent(QEvent *event) override; // MythUIType
204 
205  enum MovementUnit { MoveItem, MoveColumn, MoveRow, MovePage, MoveMax,
206  MoveMid, MoveByAmount };
207  enum LayoutType { LayoutVertical, LayoutHorizontal, LayoutGrid };
208 
209  void SetDrawFromBottom(bool draw);
210 
211  void Reset() override; // MythUIType
212  void Update();
213 
214  virtual void SetValue(int value) { MoveToNamedPosition(QString::number(value)); }
215  virtual void SetValue(const QString &value) { MoveToNamedPosition(value); }
216  void SetValueByData(const QVariant& data);
217  virtual int GetIntValue() const;
218  virtual QString GetValue() const;
219  QVariant GetDataValue() const;
220  MythRect GetButtonArea(void) const;
221 
222  void SetItemCurrent(MythUIButtonListItem* item);
223  void SetItemCurrent(int current, int topPos = -1);
224  MythUIButtonListItem* GetItemCurrent() const;
225  MythUIButtonListItem* GetItemFirst() const;
226  MythUIButtonListItem* GetItemNext(MythUIButtonListItem *item) const;
227  MythUIButtonListItem* GetItemAt(int pos) const;
228  MythUIButtonListItem* GetItemByData(const QVariant& data);
229 
230  uint ItemWidth(void);
231  uint ItemHeight(void);
232  LayoutType GetLayout() const { return m_layout; }
233 
234  bool MoveItemUpDown(MythUIButtonListItem *item, bool up);
235 
236  void SetAllChecked(MythUIButtonListItem::CheckState state);
237 
238  int GetCurrentPos() const { return m_selPosition; }
239  int GetItemPos(MythUIButtonListItem* item) const;
240  int GetTopItemPos(void) const { return m_topPosition; }
241  int GetCount() const;
242  int GetVisibleCount();
243  bool IsEmpty() const;
244 
245  virtual bool MoveDown(MovementUnit unit = MoveItem, uint amount = 0);
246  virtual bool MoveUp(MovementUnit unit = MoveItem, uint amount = 0);
247  bool MoveToNamedPosition(const QString &position_name);
248 
249  void RemoveItem(MythUIButtonListItem *item);
250 
251  void SetLCDTitles(const QString &title, const QString &columnList = "");
252  void updateLCD(void);
253 
254  void SetSearchFields(const QString &fields) { m_searchFields = fields; }
255  void ShowSearchDialog(void);
256  bool Find(const QString &searchStr, bool startsWith = false);
257  bool FindNext(void);
258  bool FindPrev(void);
259 
260  void LoadInBackground(int start = 0, int pageSize = 20);
261  int StopLoad(void);
262 
263  public slots:
264  void Select();
265  void Deselect();
266  void ToggleEnabled();
267 
268  signals:
269  void itemSelected(MythUIButtonListItem* item);
270  void itemClicked(MythUIButtonListItem* item);
271  void itemVisible(MythUIButtonListItem* item);
272  void itemLoaded(MythUIButtonListItem* item);
273 
274  protected:
275  enum ScrollStyle { ScrollFree, ScrollCenter, ScrollGroupCenter };
276  enum ArrangeType { ArrangeFixed, ArrangeFill, ArrangeSpread, ArrangeStack };
277  enum WrapStyle { WrapCaptive = -1, WrapNone = 0, WrapSelect, WrapItems,
278  WrapFlowing };
279 
280  void DrawSelf(MythPainter *p, int xoffset, int yoffset,
281  int alphaMod, QRect clipRect) override; // MythUIType
282  void Const();
283  virtual void Init();
284 
285  void InsertItem(MythUIButtonListItem *item, int listPosition = -1);
286 
287  int minButtonWidth(const MythRect & area);
288  int minButtonHeight(const MythRect & area);
289  void InitButton(int itemIdx, MythUIStateType* & realButton,
290  MythUIButtonListItem* & buttonItem);
291  MythUIGroup *PrepareButton(int buttonIdx, int itemIdx,
292  int & selectedIdx, int & button_shift);
293  bool DistributeRow(int & first_button, int & last_button,
294  int & first_item, int & last_item,
295  int & selected_column, int & skip_cols,
296  bool grow_left, bool grow_right,
297  int ** col_widths, int & row_height,
298  int total_height, int split_height,
299  int & col_cnt, bool & wrapped);
300  bool DistributeCols(int & first_button, int & last_button,
301  int & first_item, int & last_item,
302  int & selected_column, int & selected_row,
303  int & skip_cols, int ** col_widths,
304  QList<int> & row_heights,
305  int & top_height, int & bottom_height,
306  bool & wrapped);
307  bool DistributeButtons(void);
308  void CalculateButtonPositions(void);
309  void CalculateArrowStates(void);
310  void SetScrollBarPosition(void);
311  void ItemVisible(MythUIButtonListItem *item);
312 
313  void SetActive(bool active);
314 
315  int PageUp(void);
316  int PageDown(void);
317 
318  bool DoFind(bool doMove, bool searchForward);
319 
320  void FindEnabledUp(MovementUnit unit);
321  void FindEnabledDown(MovementUnit unit);
322 
323  /* methods for subclasses to override */
324  virtual void CalculateVisibleItems(void);
325  virtual QPoint GetButtonPosition(int column, int row) const;
326 
327  void SetButtonArea(const MythRect &rect);
328  bool ParseElement(const QString &filename, QDomElement &element,
329  bool showWarnings) override; // MythUIType
330  void CopyFrom(MythUIType *base) override; // MythUIType
331  void CreateCopy(MythUIType *parent) override; // MythUIType
332  void Finalize(void) override; // MythUIType
333 
334  void SanitizePosition(void);
335 
336 
337 
338  LayoutType m_layout {LayoutVertical};
339  ArrangeType m_arrange {ArrangeFixed};
340  ScrollStyle m_scrollStyle {ScrollFree};
341  WrapStyle m_wrapStyle {WrapNone};
342  int m_alignment {Qt::AlignLeft | Qt::AlignTop};
343 
344  MythRect m_contentsRect {0, 0, 0, 0};
345 
346  MythPoint m_searchPosition {-2,-2};
347  QString m_searchFields {"**ALL**"};
348  QString m_searchStr;
349  bool m_searchStartsWith {false};
350 
351  int m_itemWidth {0};
352  int m_itemHeight {0};
353  int m_itemHorizSpacing {0};
354  int m_itemVertSpacing {0};
355  int m_itemsVisible {0};
356  int m_maxVisible {0};
357  int m_rows {0};
358  int m_columns {0};
359  int m_leftColumns {0};
360  int m_rightColumns {0};
361  int m_topRows {0};
362  int m_bottomRows {0};
363 
364  bool m_active {false};
365  bool m_showArrow {true};
366  bool m_showScrollBar {true};
367 
368  MythUIScrollBar *m_scrollBar {nullptr};
369  MythUIStateType *m_upArrow {nullptr};
370  MythUIStateType *m_downArrow {nullptr};
371 
372  MythUIStateType *m_buttontemplate {nullptr};
373 
374  QVector<MythUIStateType *> m_buttonList;
375  QMap<int, MythUIButtonListItem *> m_buttonToItem;
376  QHash<QString, QString> m_actionRemap;
377 
378  bool m_initialized {false};
379  bool m_needsUpdate {false};
380  bool m_clearing {false};
381 
382  int m_selPosition {0};
383  int m_topPosition {0};
384  int m_itemCount {0};
385  bool m_keepSelAtBottom {false};
386 
387  QList<MythUIButtonListItem*> m_itemList;
388  int m_nextItemLoaded {0};
389 
390  bool m_drawFromBottom {false};
391 
392  QString m_lcdTitle;
393  QStringList m_lcdColumns;
394 
395  friend class MythUIButtonListItem;
396  friend class MythUIButtonTree;
397 };
398 
400 {
401  Q_OBJECT
402  public:
403  SearchButtonListDialog(MythScreenStack *parent, const char *name,
404  MythUIButtonList *parentList, QString searchText)
405  : MythScreenType(parent, name, false),
406  m_parentList(parentList), m_searchText(std::move(searchText)) {}
407  ~SearchButtonListDialog(void) override = default;
408 
409  bool Create(void) override; // MythScreenType
410  bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
411 
412  protected slots:
413  void searchChanged(void);
414  void prevClicked(void);
415  void nextClicked(void);
416 
417  protected:
418  bool m_startsWith {false};
419 
420  MythUIButtonList *m_parentList {nullptr};
421  QString m_searchText;
422 
423  MythUITextEdit *m_searchEdit {nullptr};
424  MythUIButton *m_prevButton {nullptr};
425  MythUIButton *m_nextButton {nullptr};
426  MythUIStateType *m_searchState {nullptr};
427 };
428 
430 
431 #endif
MythUIType::keyPressEvent
virtual bool keyPressEvent(QKeyEvent *event)
Key event handler.
Definition: mythuitype.cpp:992
MythUIButtonList::GetTopItemPos
int GetTopItemPos(void) const
Definition: mythuibuttonlist.h:240
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(GrabberScript *)
ProgressInfo::start
int8_t start
Definition: mythuibuttonlist.h:29
MythUIButtonList::m_itemList
QList< MythUIButtonListItem * > m_itemList
Definition: mythuibuttonlist.h:387
MythUIButtonListItem::isVisible
bool isVisible() const
Definition: mythuibuttonlist.h:121
MythUIButtonListItem::HalfChecked
@ HalfChecked
Definition: mythuibuttonlist.h:47
MythUIButtonList::GetLayout
LayoutType GetLayout() const
Definition: mythuibuttonlist.h:232
MythUIImage
Image widget, displays a single image or multiple images in sequence.
Definition: mythuiimage.h:97
MUI_PUBLIC
#define MUI_PUBLIC
Definition: mythuiexp.h:9
muibCbFn
QString(*)(const QString &name, void *data) muibCbFn
Definition: mythuibuttonlist.h:34
false
VERBOSE_PREAMBLE false
Definition: verbosedefs.h:85
MythUIButtonListItem::m_strings
QMap< QString, TextProperties > m_strings
Definition: mythuibuttonlist.h:170
MythUIButtonListItem::m_stateCb
muibCbInfo m_stateCb
Definition: mythuibuttonlist.h:176
ProgressInfo
Definition: mythuibuttonlist.h:28
MythUIButtonList::MoveRow
@ MoveRow
Definition: mythuibuttonlist.h:205
MythUIButtonListItem::m_imageFilenames
InfoMap m_imageFilenames
Definition: mythuibuttonlist.h:172
MythScreenStack
Definition: mythscreenstack.h:16
MythScreenType::Create
virtual bool Create(void)
Definition: mythscreentype.cpp:266
muibCbInfo
Definition: mythuibuttonlist.h:35
MythUIButtonListItem::m_fontState
QString m_fontState
Definition: mythuibuttonlist.h:157
MythUIType::customEvent
void customEvent(QEvent *event) override
Definition: mythuitype.cpp:1006
MythUITextEdit
A text entry and edit widget.
Definition: mythuitextedit.h:34
ProgressInfo::total
int8_t total
Definition: mythuibuttonlist.h:30
SearchButtonListDialog::m_searchText
QString m_searchText
Definition: mythuibuttonlist.h:421
MythUIGroup
Create a group of widgets.
Definition: mythuigroup.h:11
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:45
MythUIButtonListItem::m_imageFilename
QString m_imageFilename
Definition: mythuibuttonlist.h:159
MythUIButtonListItem::m_textCb
muibCbInfo m_textCb
Definition: mythuibuttonlist.h:174
MythUIButtonList::SetSearchFields
void SetSearchFields(const QString &fields)
Definition: mythuibuttonlist.h:254
MythUIButtonListItem::MythUIButtonListItem
MythUIButtonListItem(typename std::enable_if< FunctionPointerTest< SLOT >::MemberFunction, MythUIButtonList * >::type lbtype, const QString &text, SLOT slot, int listPosition=-1)
Definition: mythuibuttonlist.h:58
MythUIButtonListItem::MythUIButtonListItem
MythUIButtonListItem(typename std::enable_if< FunctionPointerTest< SLOT >::MemberConstFunction, MythUIButtonList * >::type lbtype, const QString &text, SLOT slot, int listPosition=-1)
Definition: mythuibuttonlist.h:62
MythUIButtonListItem::setVisible
void setVisible(bool flag)
Definition: mythuibuttonlist.h:122
SearchButtonListDialog
Definition: mythuibuttonlist.h:399
MythRect
Wrapper around QRect allowing us to handle percentage and other relative values for areas in mythui.
Definition: mythrect.h:17
MythUIType::CreateCopy
virtual void CreateCopy(MythUIType *parent)
Copy the state of this widget to the one given, it must be of the same type.
Definition: mythuitype.cpp:1231
MythUIType::DrawSelf
virtual void DrawSelf(MythPainter *p, int xoffset, int yoffset, int alphaMod, QRect clipRect)
Definition: mythuitype.cpp:478
MythUIButtonList::m_buttonToItem
QMap< int, MythUIButtonListItem * > m_buttonToItem
Definition: mythuibuttonlist.h:375
MythDate::current
QDateTime current(bool stripped)
Returns current Date and Time in UTC.
Definition: mythdate.cpp:14
MythUIButtonListItem::m_imageCb
muibCbInfo m_imageCb
Definition: mythuibuttonlist.h:175
MythUIButtonListItem::CheckState
CheckState
Definition: mythuibuttonlist.h:44
MythUIButtonListItem::HasImage
bool HasImage(const QString &name="")
Returns true when the image exists.
Definition: mythuibuttonlist.h:95
InfoMap
QHash< QString, QString > InfoMap
Definition: mythtypes.h:15
MythUIButtonListItem
Definition: mythuibuttonlist.h:41
MythUICallbackMF
void(QObject::*)(void) MythUICallbackMF
Definition: mythuitype.h:44
MythUIButtonList::m_lcdColumns
QStringList m_lcdColumns
Definition: mythuibuttonlist.h:393
MythUIButtonList::GetCurrentPos
int GetCurrentPos() const
Definition: mythuibuttonlist.h:238
MythUIButtonList::ArrangeType
ArrangeType
Definition: mythuibuttonlist.h:276
MythUIProgressBar
Progress bar widget.
Definition: mythuiprogressbar.h:12
MythUIButtonListItem::m_states
InfoMap m_states
Definition: mythuibuttonlist.h:173
hardwareprofile.config.p
p
Definition: config.py:33
MythUIButtonList::LayoutType
LayoutType
Definition: mythuibuttonlist.h:207
SearchButtonListDialog::SearchButtonListDialog
SearchButtonListDialog(MythScreenStack *parent, const char *name, MythUIButtonList *parentList, QString searchText)
Definition: mythuibuttonlist.h:403
MythUIButtonList::ScrollStyle
ScrollStyle
Definition: mythuibuttonlist.h:275
MythUIButton
A single button widget.
Definition: mythuibutton.h:21
MythImage::DecrRef
int DecrRef(void) override
Decrements reference count and deletes on 0.
Definition: mythimage.cpp:52
TextProperties
Definition: mythuibuttonlist.h:23
TextProperties::state
QString state
Definition: mythuibuttonlist.h:25
MythUIButtonTree
A tree widget for displaying and navigating a MythGenericTree()
Definition: mythuibuttontree.h:16
MythUIType::CopyFrom
virtual void CopyFrom(MythUIType *base)
Copy this widgets state from another.
Definition: mythuitype.cpp:1174
GetState
#define GetState(a, b)
Definition: audiooutputopensles.cpp:47
MythUIButtonList::m_searchStr
QString m_searchStr
Definition: mythuibuttonlist.h:348
uint
unsigned int uint
Definition: compat.h:79
MythUIScrollBar
Scroll bar widget.
Definition: mythuiscrollbar.h:15
muibCbInfo::fn
muibCbFn fn
Definition: mythuibuttonlist.h:37
MythUIButtonList::MovementUnit
MovementUnit
Definition: mythuibuttonlist.h:205
MythUIType::Reset
virtual void Reset(void)
Reset the widget to it's original state, should not reset changes made by the theme.
Definition: mythuitype.cpp:72
MythUIType
The base class on which all widgets and screens are based.
Definition: mythuitype.h:85
MythUIButtonListItem::m_images
QMap< QString, MythImage * > m_images
Definition: mythuibuttonlist.h:171
MythUIButtonList::SetValue
virtual void SetValue(const QString &value)
Definition: mythuibuttonlist.h:215
mythimage.h
MythUIButtonList::m_actionRemap
QHash< QString, QString > m_actionRemap
Definition: mythuibuttonlist.h:376
MythUIText
All purpose text widget, displays a text string.
Definition: mythuitext.h:28
MythScreenType::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: mythscreentype.cpp:404
MythUIButtonListItem::m_text
QString m_text
Definition: mythuibuttonlist.h:156
MythUIButtonList::m_lcdTitle
QString m_lcdTitle
Definition: mythuibuttonlist.h:392
MythUIButtonList::LayoutVertical
@ LayoutVertical
Definition: mythuibuttonlist.h:207
MythUIButtonList::WrapStyle
WrapStyle
Definition: mythuibuttonlist.h:277
MythPainter
Definition: mythpainter.h:34
MythImage
Definition: mythimage.h:36
MythUIType::gestureEvent
virtual bool gestureEvent(MythGestureEvent *event)
Mouse click/movement handler, receives mouse gesture events from the QCoreApplication event loop.
Definition: mythuitype.cpp:1016
std
Definition: mythchrono.h:23
MythGenericTree
Definition: mythgenerictree.h:27
MythUIButtonList::MoveMid
@ MoveMid
Definition: mythuibuttonlist.h:206
FunctionPointerTest
Definition: mythuitype.h:53
MythGestureEvent
A custom event that represents a mouse gesture.
Definition: mythgesture.h:39
MythUICallbackMFc
void(QObject::*)(void) const MythUICallbackMFc
Definition: mythuitype.h:45
MythUIButtonList::m_buttonList
QVector< MythUIStateType * > m_buttonList
Definition: mythuibuttonlist.h:374
MythUIButtonList::SetValue
virtual void SetValue(int value)
Definition: mythuibuttonlist.h:214
MythUIType::ParseElement
virtual bool ParseElement(const QString &filename, QDomElement &element, bool showWarnings)
Parse the xml definition of this widget setting the state of the object accordingly.
Definition: mythuitype.cpp:1240
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition: mythuibuttonlist.h:191
build_compdb.filename
filename
Definition: build_compdb.py:21
TextProperties::text
QString text
Definition: mythuibuttonlist.h:24
muibCbInfo::data
void * data
Definition: mythuibuttonlist.h:38
MythUIStateType
This widget is used for grouping other widgets for display when a particular named state is called....
Definition: mythuistatetype.h:22
MythUIType::Finalize
virtual void Finalize(void)
Perform any post-xml parsing initialisation tasks.
Definition: mythuitype.cpp:1316
mythscreentype.h
mythuitype.h
ProgressInfo::used
int8_t used
Definition: mythuibuttonlist.h:31
MythPoint
Wrapper around QPoint allowing us to handle percentage and other relative values for positioning in m...
Definition: mythrect.h:88