MythTV  master
mythdialogbox.h
Go to the documentation of this file.
1 #ifndef MYTHDIALOGBOX_H_
2 #define MYTHDIALOGBOX_H_
3 
4 #include <functional>
5 #include <utility>
6 
7 // Qt headers
8 #include <QDir>
9 #include <QEvent>
10 #include <QString>
11 #include <QStringList>
12 
13 // MythTV headers
14 #include "mythscreentype.h"
15 #include "mythuitextedit.h"
16 #include "mythmainwindow.h"
17 #include "mythlogging.h"
18 
19 
20 class QTimer;
21 
23 class MythUIButtonList;
24 class MythUIButton;
25 class MythUITextEdit;
26 class MythUISpinBox;
27 class MythUIImage;
28 class MythUIStateType;
29 class MythMenu;
30 
31 
41 class MUI_PUBLIC DialogCompletionEvent : public QEvent
42 {
43  public:
44  DialogCompletionEvent(QString id, int result, QString text,
45  QVariant data)
46  : QEvent(kEventType),
47  m_id(std::move(id)), m_result(result),
48  m_resultText(std::move(text)),
49  m_resultData(std::move(data)) { }
50  ~DialogCompletionEvent() override;
51 
52  QString GetId() { return m_id; }
53  int GetResult() const { return m_result; }
54  QString GetResultText() { return m_resultText; }
55  QVariant GetData() { return m_resultData; }
56 
57  static Type kEventType;
58 
59  private:
60  QString m_id;
61  int m_result;
62  QString m_resultText;
63  QVariant m_resultData;
64 };
65 
66 
67 using MythUIButtonCallback = std::function<void(void)>;
68 
70 {
71  public:
72  explicit MythMenuItem(QString text, QVariant data = 0, bool checked = false, MythMenu *subMenu = nullptr) :
73  m_text(std::move(text)), m_data(std::move(data)),
74  m_checked(checked), m_subMenu(subMenu), m_useSlot(false) { Init(); }
75  MythMenuItem(QString text, const char *slot, bool checked = false, MythMenu *subMenu = nullptr) :
76  m_text(std::move(text)), m_data(QVariant::fromValue(slot)),
77  m_checked(checked), m_subMenu(subMenu) { Init(); }
78  MythMenuItem(QString text, const MythUIButtonCallback &slot, bool checked = false, MythMenu *subMenu = nullptr) :
79  m_text(std::move(text)), m_data(QVariant::fromValue(slot)),
80  m_checked(checked), m_subMenu(subMenu) { Init(); }
81 
82  QString m_text;
83  QVariant m_data {0};
84  bool m_checked {false};
85  MythMenu *m_subMenu {nullptr};
86  bool m_useSlot {true};
87 
88  private:
89  void Init(void) {}
90 };
91 
93 {
94  friend class MythDialogBox;
95 
96  public:
97  MythMenu(QString text, QObject *retobject, QString resultid);
98  MythMenu(QString title, QString text, QObject *retobject, QString resultid);
99  ~MythMenu(void);
100 
101  void AddItem(const QString &title, QVariant data = 0, MythMenu *subMenu = nullptr,
102  bool selected = false, bool checked = false);
103  void AddItem(const QString &title, const char *slot, MythMenu *subMenu = nullptr,
104  bool selected = false, bool checked = false);
105  void AddItem(const QString &title, const MythUIButtonCallback &slot,
106  MythMenu *subMenu = nullptr, bool selected = false,
107  bool checked = false);
108 
109  void SetSelectedByTitle(const QString &title);
110  void SetSelectedByData(const QVariant& data);
111 
112  void SetParent(MythMenu *parent) { m_parentMenu = parent; }
113 
114  bool IsEmpty() { return m_menuItems.isEmpty(); }
115 
116  private:
117  void Init(void) {}
118  void AddItem(MythMenuItem *item, bool selected, MythMenu *subMenu);
119 
120  MythMenu *m_parentMenu {nullptr};
121  QString m_title;
122  QString m_text;
123  QString m_resultid;
124  QObject *m_retObject {nullptr};
125  QList<MythMenuItem*> m_menuItems;
126  int m_selectedItem {0};
127 };
128 
138 {
139  Q_OBJECT
140  public:
141  MythDialogBox(QString text,
142  MythScreenStack *parent, const char *name,
143  bool fullscreen = false, bool osd = false)
144  : MythScreenType(parent, name, false), m_fullscreen(fullscreen),
145  m_osdDialog(osd), m_text(std::move(text)) {}
146  MythDialogBox(QString title, QString text,
147  MythScreenStack *parent, const char *name,
148  bool fullscreen = false, bool osd = false)
149  : MythScreenType(parent, name, false), m_fullscreen(fullscreen),
150  m_osdDialog(osd), m_title(std::move(title)),m_text(std::move(text)) {}
151  MythDialogBox(MythMenu* menu, MythScreenStack *parent, const char *name,
152  bool fullscreen = false, bool osd = false)
153  : MythScreenType(parent, name, false), m_fullscreen(fullscreen),
154  m_osdDialog(osd), m_menu(menu), m_currentMenu(menu) {}
155  ~MythDialogBox(void) override;
156 
157  bool Create(void) override; // MythScreenType
158 
159  void SetMenuItems(MythMenu *menu);
160 
161  void SetReturnEvent(QObject *retobject, const QString &resultid);
162  void SetBackAction(const QString &text, QVariant data);
163  void SetExitAction(const QString &text, QVariant data);
164  void SetText(const QString &text);
165 
166  void AddButton(const QString &title, QVariant data = 0,
167  bool newMenu = false, bool setCurrent = false);
168  void AddButton(const QString &title, const char *slot,
169  bool newMenu = false, bool setCurrent = false);
170  void AddButton(const QString &title, const MythUIButtonCallback &slot,
171  bool newMenu = false, bool setCurrent = false)
172  {
173  AddButton(title, QVariant::fromValue(slot), newMenu, setCurrent);
174  m_useSlots = true;
175  }
176 
177  bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
178  bool gestureEvent(MythGestureEvent *event) override; // MythScreenType
179 
180  public slots:
181  void Select(MythUIButtonListItem* item);
182 
183  signals:
184  void Selected();
185  void Closed(QString, int);
186 
187  protected:
188  void SendEvent(int res, const QString& text = "", const QVariant& data = 0);
189  void updateMenu(void);
190 
191  MythUIText *m_titlearea {nullptr};
192  MythUIText *m_textarea {nullptr};
193  MythUIButtonList *m_buttonList {nullptr};
194  QObject *m_retObject {nullptr};
195  QString m_id;
196  bool m_useSlots {false};
197 
198  bool m_fullscreen {false};
199  bool m_osdDialog {false};
200  QString m_title;
201  QString m_text;
202 
203  QString m_backtext;
204  QVariant m_backdata {0};
205  QString m_exittext;
206  QVariant m_exitdata {0};
207 
208  MythMenu *m_menu {nullptr};
209  MythMenu *m_currentMenu {nullptr};
210 };
211 
212 
222 {
223  Q_OBJECT
224 
225  public:
226  MythConfirmationDialog(MythScreenStack *parent, QString message,
227  bool showCancel = true)
228  : MythScreenType(parent, "mythconfirmpopup"),
229  m_message(std::move(message)), m_showCancel(showCancel) {}
230 
231  bool Create(void) override; // MythScreenType
232  void SetReturnEvent(QObject *retobject, const QString &resultid);
233  void SetData(QVariant data) { m_resultData = std::move(data); }
234  void SetMessage(const QString &message);
235 
236  bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
237 
238  signals:
239  void haveResult(bool);
240 
241  private:
242  void sendResult(bool ok);
243  MythUIText *m_messageText {nullptr};
244  QString m_message;
245  bool m_showCancel {true};
246  QObject *m_retObject {nullptr};
247  QString m_id;
248  QVariant m_resultData;
249 
250  private slots:
251  void Confirm(void);
252  void Cancel();
253 };
254 
264 {
265  Q_OBJECT
266 
267  public:
268  MythTextInputDialog(MythScreenStack *parent, QString message,
269  InputFilter filter = FilterNone,
270  bool isPassword = false,
271  QString defaultValue = "")
272  : MythScreenType(parent, "mythtextinputpopup"),
273  m_message(std::move(message)), m_defaultValue(std::move(defaultValue)),
274  m_filter(filter), m_isPassword(isPassword) {}
275 
276  bool Create(void) override; // MythScreenType
277  void SetReturnEvent(QObject *retobject, const QString &resultid);
278 
279  signals:
280  void haveResult(QString);
281 
282  protected:
283  MythUITextEdit *m_textEdit {nullptr};
284  QString m_message;
285  QString m_defaultValue;
287  bool m_isPassword {false};
288  QObject *m_retObject {nullptr};
289  QString m_id;
290 
291  protected slots:
292  void sendResult();
293 };
294 
295 
305 {
306  Q_OBJECT
307 
308  public:
309  MythSpinBoxDialog(MythScreenStack *parent, QString message);
310 
311  bool Create(void) override; // MythScreenType
312  void SetReturnEvent(QObject *retobject, const QString &resultid);
313 
314  void SetRange(int low, int high, int step, uint pageMultiple=5);
315  void AddSelection(const QString& label, int value);
316  void SetValue(const QString & value);
317  void SetValue(int value);
318 
319  signals:
320  void haveResult(QString);
321 
322  protected:
324  QString m_message;
325  QString m_defaultValue;
326  QObject *m_retObject;
327  QString m_id;
328 
329  protected slots:
330  void sendResult();
331 };
332 
333 
349 {
350  Q_OBJECT
351 
352  public:
354  const QString &title,
355  const QStringList &list,
356  bool matchAnywhere = false,
357  const QString &defaultValue = "");
358 
359  bool Create(void) override; // MythScreenType
360  void SetReturnEvent(QObject *retobject, const QString &resultid);
361 
362  signals:
363  void haveResult(QString);
364 
365  private:
370 
371  QString m_title;
372  QString m_defaultValue;
373  QStringList m_list;
375 
376  QObject *m_retObject;
377  QString m_id;
378 
379  private slots:
380  void slotSendResult(void);
381  void slotUpdateList(void);
382 };
383 
393 {
394  Q_OBJECT
395 
396  public:
397  // FIXME Not sure about this enum
399  // Date Resolution
400  kNoDate = 0x01,
401  kYear = 0x02,
402  kMonth = 0x04,
403  kDay = 0x08,
404 
405  // Time Resolution
406  kNoTime = 0x10,
407  kHours = 0x20,
408  kMinutes = 0x40,
409 
410  // Work forward/backwards or backwards and fowards from start time
411  kFutureDates = 0x100,
412  kPastDates = 0x200,
413  kAllDates = 0x300
414  };
415 
416  MythTimeInputDialog(MythScreenStack *parent, QString message,
417  int resolutionFlags,
418  QDateTime startTime = QDateTime::currentDateTime(),
419  int rangeLimit = 14);
420 
421  bool Create() override; // MythScreenType
422  void SetReturnEvent(QObject *retobject, const QString &resultid);
423 
424  signals:
425  void haveResult(QDateTime time);
426 
427  private slots:
428  void okClicked(void);
429 
430  private:
431  QString m_message;
432  QDateTime m_startTime;
435  QStringList m_list;
436  QString m_currentValue;
437 
440 
441  QObject *m_retObject;
442  QString m_id;
443 };
444 
445 MUI_PUBLIC MythConfirmationDialog *ShowOkPopup(const QString &message, QObject *parent = nullptr,
446  const char *slot = nullptr, bool showCancel = false);
447 template <typename Func>
448 MUI_PUBLIC MythConfirmationDialog *ShowOkPopup(const QString &message, QObject *parent,
449  Func slot, bool showCancel = false)
450 {
451  QString LOC = "ShowOkPopup('" + message + "') - ";
452  MythScreenStack *stk = nullptr;
453 
455 
456  if (win)
457  stk = win->GetStack("popup stack");
458  else
459  {
460  LOG(VB_GENERAL, LOG_ERR, LOC + "no main window?");
461  return nullptr;
462  }
463 
464  if (!stk)
465  {
466  LOG(VB_GENERAL, LOG_ERR, LOC + "no popup stack? "
467  "Is there a MythThemeBase?");
468  return nullptr;
469  }
470 
471  auto *pop = new MythConfirmationDialog(stk, message, showCancel);
472  if (pop->Create())
473  {
474  stk->AddScreen(pop);
475  if (parent)
476  QObject::connect(pop, &MythConfirmationDialog::haveResult, parent, slot,
477  Qt::QueuedConnection);
478  }
479  else
480  {
481  delete pop;
482  pop = nullptr;
483  LOG(VB_GENERAL, LOG_ERR, LOC + "Couldn't Create() Dialog");
484  }
485 
486  return pop;
487 }
488 
491 
493 Q_DECLARE_METATYPE(const char*)
495 
496 #endif
MythMenu::m_menuItems
QList< MythMenuItem * > m_menuItems
Definition: mythdialogbox.h:125
MythDialogBox::m_id
QString m_id
Definition: mythdialogbox.h:195
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(GrabberScript *)
MythUISearchDialog
Provide a dialog to quickly find an entry in a list.
Definition: mythdialogbox.h:349
MythUISearchDialog::m_title
QString m_title
Definition: mythdialogbox.h:371
MythMenu::Init
void Init(void)
Definition: mythdialogbox.h:117
FilterNone
@ FilterNone
Definition: mythuitextedit.h:19
MythUIImage
Image widget, displays a single image or multiple images in sequence.
Definition: mythuiimage.h:98
DialogCompletionEvent::GetId
QString GetId()
Definition: mythdialogbox.h:52
MUI_PUBLIC
#define MUI_PUBLIC
Definition: mythuiexp.h:9
MythUISearchDialog::m_titleText
MythUIText * m_titleText
Definition: mythdialogbox.h:368
false
VERBOSE_PREAMBLE false
Definition: verbosedefs.h:85
MythDialogBox::MythDialogBox
MythDialogBox(QString text, MythScreenStack *parent, const char *name, bool fullscreen=false, bool osd=false)
Definition: mythdialogbox.h:141
MythTimeInputDialog::m_id
QString m_id
Definition: mythdialogbox.h:442
MythConfirmationDialog::m_resultData
QVariant m_resultData
Definition: mythdialogbox.h:248
MythSpinBoxDialog::m_spinBox
MythUISpinBox * m_spinBox
Definition: mythdialogbox.h:323
ShowOkPopup
MUI_PUBLIC MythConfirmationDialog * ShowOkPopup(const QString &message, QObject *parent=nullptr, const char *slot=nullptr, bool showCancel=false)
Non-blocking version of MythPopupBox::showOkPopup()
Definition: mythdialogbox.cpp:551
MythSpinBoxDialog::m_id
QString m_id
Definition: mythdialogbox.h:327
title
QString title
Definition: mythplugins/mytharchive/mytharchivehelper/main.cpp:636
MythConfirmationDialog::MythConfirmationDialog
MythConfirmationDialog(MythScreenStack *parent, QString message, bool showCancel=true)
Definition: mythdialogbox.h:226
MythDialogBox::MythDialogBox
MythDialogBox(QString title, QString text, MythScreenStack *parent, const char *name, bool fullscreen=false, bool osd=false)
Definition: mythdialogbox.h:146
MythTextInputDialog::m_id
QString m_id
Definition: mythdialogbox.h:289
MythUISearchDialog::haveResult
void haveResult(QString)
DialogCompletionEvent::kEventType
static Type kEventType
Definition: mythdialogbox.h:57
LOC
#define LOC
Definition: audioconvert.cpp:38
MythConfirmationDialog::haveResult
void haveResult(bool)
MythScreenStack
Definition: mythscreenstack.h:16
MythScreenType::Create
virtual bool Create(void)
Definition: mythscreentype.cpp:282
MythUITextEdit
A text entry and edit widget.
Definition: mythuitextedit.h:33
MythUISearchDialog::m_matchAnywhere
bool m_matchAnywhere
Definition: mythdialogbox.h:374
MythTextInputDialog::m_message
QString m_message
Definition: mythdialogbox.h:284
MythTextInputDialog::m_defaultValue
QString m_defaultValue
Definition: mythdialogbox.h:285
LOG
#define LOG(_MASK_, _LEVEL_, _QSTRING_)
Definition: mythlogging.h:23
MythDialogBox::Closed
void Closed(QString, int)
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:45
MythSpinBoxDialog::m_defaultValue
QString m_defaultValue
Definition: mythdialogbox.h:325
MythMenuItem::MythMenuItem
MythMenuItem(QString text, QVariant data=0, bool checked=false, MythMenu *subMenu=nullptr)
Definition: mythdialogbox.h:72
InputFilter
InputFilter
Definition: mythuitextedit.h:18
MythMenu::IsEmpty
bool IsEmpty()
Definition: mythdialogbox.h:114
MythTextInputDialog::haveResult
void haveResult(QString)
menu
static MythThemedMenu * menu
Definition: mythtv/programs/mythtv-setup/main.cpp:53
MythConfirmationDialog::m_message
QString m_message
Definition: mythdialogbox.h:244
MythMainWindow::GetStack
MythScreenStack * GetStack(const QString &stackname)
Definition: mythmainwindow.cpp:326
MythSpinBoxDialog::m_message
QString m_message
Definition: mythdialogbox.h:324
MythConfirmationDialog::SetData
void SetData(QVariant data)
Definition: mythdialogbox.h:233
SendEvent
static int SendEvent(const MythUtilCommandLineParser &cmdline)
Definition: backendutils.cpp:53
DialogCompletionEvent::DialogCompletionEvent
DialogCompletionEvent(QString id, int result, QString text, QVariant data)
Definition: mythdialogbox.h:44
MythMenuItem::MythMenuItem
MythMenuItem(QString text, const char *slot, bool checked=false, MythMenu *subMenu=nullptr)
Definition: mythdialogbox.h:75
MythSpinBoxDialog::haveResult
void haveResult(QString)
MythUIButtonListItem
Definition: mythuibuttonlist.h:28
MythMenuItem::m_text
QString m_text
Definition: mythdialogbox.h:82
mythlogging.h
MythDialogBox::m_text
QString m_text
Definition: mythdialogbox.h:201
DialogCompletionEvent::m_result
int m_result
Definition: mythdialogbox.h:61
MythDialogBox
Basic menu dialog, message and a list of options.
Definition: mythdialogbox.h:138
MythTimeInputDialog::m_rangeLimit
int m_rangeLimit
Definition: mythdialogbox.h:434
MythTimeInputDialog::m_timeList
MythUIButtonList * m_timeList
Definition: mythdialogbox.h:439
DialogCompletionEvent::m_resultData
QVariant m_resultData
Definition: mythdialogbox.h:63
MythUIButton
A single button widget.
Definition: mythuibutton.h:22
MythMenuItem
Definition: mythdialogbox.h:70
WaitFor
bool MUI_PUBLIC WaitFor(MythConfirmationDialog *dialog)
Blocks until confirmation dialog exits.
Definition: mythdialogbox.cpp:592
MythMenuItem::Init
void Init(void)
Definition: mythdialogbox.h:89
MythTimeInputDialog::m_dateList
MythUIButtonList * m_dateList
Definition: mythdialogbox.h:438
MythSpinBoxDialog::m_retObject
QObject * m_retObject
Definition: mythdialogbox.h:326
MythTimeInputDialog::m_currentValue
QString m_currentValue
Definition: mythdialogbox.h:436
MythTimeInputDialog::haveResult
void haveResult(QDateTime time)
uint
unsigned int uint
Definition: compat.h:140
MythMenu::m_text
QString m_text
Definition: mythdialogbox.h:122
MythUISearchDialog::m_textEdit
MythUITextEdit * m_textEdit
Definition: mythdialogbox.h:367
MythMenu::m_resultid
QString m_resultid
Definition: mythdialogbox.h:123
MythMenu::SetParent
void SetParent(MythMenu *parent)
Definition: mythdialogbox.h:112
MythDialogBox::m_title
QString m_title
Definition: mythdialogbox.h:200
MythMenu
Definition: mythdialogbox.h:93
MythDialogBox::Selected
void Selected()
MythUISearchDialog::m_defaultValue
QString m_defaultValue
Definition: mythdialogbox.h:372
MythTimeInputDialog::m_startTime
QDateTime m_startTime
Definition: mythdialogbox.h:432
MythUIText
All purpose text widget, displays a text string.
Definition: mythuitext.h:29
MythScreenType::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: mythscreentype.cpp:414
MythMenu::m_title
QString m_title
Definition: mythdialogbox.h:121
MythConfirmationDialog
Dialog asking for user confirmation.
Definition: mythdialogbox.h:222
MythTimeInputDialog::m_resolution
int m_resolution
Definition: mythdialogbox.h:433
mythuitextedit.h
MythUISearchDialog::m_retObject
QObject * m_retObject
Definition: mythdialogbox.h:376
MythTimeInputDialog::m_list
QStringList m_list
Definition: mythdialogbox.h:435
MythDialogBox::AddButton
void AddButton(const QString &title, const MythUIButtonCallback &slot, bool newMenu=false, bool setCurrent=false)
Definition: mythdialogbox.h:170
DialogCompletionEvent
Event dispatched from MythUI modal dialogs to a listening class containing a result of some form.
Definition: mythdialogbox.h:42
MythUISearchDialog::m_itemList
MythUIButtonList * m_itemList
Definition: mythdialogbox.h:366
MythConfirmationDialog::m_id
QString m_id
Definition: mythdialogbox.h:247
MythMenuItem::MythMenuItem
MythMenuItem(QString text, const MythUIButtonCallback &slot, bool checked=false, MythMenu *subMenu=nullptr)
Definition: mythdialogbox.h:78
GetMythMainWindow
MythMainWindow * GetMythMainWindow(void)
Definition: mythmainwindow.cpp:105
MythUISearchDialog::m_list
QStringList m_list
Definition: mythdialogbox.h:373
MythTimeInputDialog::m_retObject
QObject * m_retObject
Definition: mythdialogbox.h:441
MythUISearchDialog::m_matchesText
MythUIText * m_matchesText
Definition: mythdialogbox.h:369
MythDialogBox::m_backtext
QString m_backtext
Definition: mythdialogbox.h:203
MythUISpinBox
A widget for offering a range of numerical values where only the the bounding values and interval are...
Definition: mythuispinbox.h:17
MythScreenType::gestureEvent
bool gestureEvent(MythGestureEvent *event) override
Mouse click/movement handler, receives mouse gesture events from the QCoreApplication event loop.
Definition: mythscreentype.cpp:456
DialogCompletionEvent::GetResult
int GetResult() const
Definition: mythdialogbox.h:53
MythGestureEvent
A custom event that represents a mouse gesture.
Definition: mythgesture.h:40
MythUIButtonCallback
std::function< void(void)> MythUIButtonCallback
Definition: mythdialogbox.h:67
MythTextInputDialog
Dialog prompting the user to enter a text string.
Definition: mythdialogbox.h:264
MythTimeInputDialog::TimeInputResolution
TimeInputResolution
Definition: mythdialogbox.h:398
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition: mythuibuttonlist.h:144
MythSpinBoxDialog
Dialog prompting the user to enter a number using a spin box.
Definition: mythdialogbox.h:305
mythmainwindow.h
MythTimeInputDialog
Definition: mythdialogbox.h:393
MythScreenStack::AddScreen
virtual void AddScreen(MythScreenType *screen, bool allowFade=true)
Definition: mythscreenstack.cpp:49
MythDialogBox::m_exittext
QString m_exittext
Definition: mythdialogbox.h:205
MythTimeInputDialog::m_message
QString m_message
Definition: mythdialogbox.h:431
MythUISearchDialog::m_id
QString m_id
Definition: mythdialogbox.h:377
MythDialogBox::MythDialogBox
MythDialogBox(MythMenu *menu, MythScreenStack *parent, const char *name, bool fullscreen=false, bool osd=false)
Definition: mythdialogbox.h:151
DialogCompletionEvent::m_resultText
QString m_resultText
Definition: mythdialogbox.h:62
MythMainWindow
Definition: mythmainwindow.h:35
DialogCompletionEvent::m_id
QString m_id
Definition: mythdialogbox.h:60
MythUIStateType
This widget is used for grouping other widgets for display when a particular named state is called.
Definition: mythuistatetype.h:23
mythscreentype.h
DialogCompletionEvent::GetData
QVariant GetData()
Definition: mythdialogbox.h:55
MythDialogBox::m_retObject
QObject * m_retObject
Definition: mythdialogbox.h:194
DialogCompletionEvent::GetResultText
QString GetResultText()
Definition: mythdialogbox.h:54
MythTextInputDialog::MythTextInputDialog
MythTextInputDialog(MythScreenStack *parent, QString message, InputFilter filter=FilterNone, bool isPassword=false, QString defaultValue="")
Definition: mythdialogbox.h:268