MythTV  master
setupwizard_general.h
Go to the documentation of this file.
1 #ifndef GENERALSETUPWIZARD_H
2 #define GENERALSETUPWIZARD_H
3 
4 // libmythui
5 #include "mythuitext.h"
6 #include "mythuibutton.h"
7 #include "mythuicheckbox.h"
8 #include "mythscreentype.h"
9 #include "mythdialogbox.h"
10 #include "mythprogressdialog.h"
11 
12 class HardwareProfile;
13 
15 {
16  Q_OBJECT
17 
18  public:
19 
20  GeneralSetupWizard(MythScreenStack *parent, const char *name = nullptr);
21  ~GeneralSetupWizard() = default;
22 
23  bool Create(void) override; // MythScreenType
24  bool keyPressEvent(QKeyEvent *) override; // MythScreenType
25 
26  void save(void);
27 
28  public slots:
29  void OnSubmitPromptReturn(bool submit);
30  void OnDeletePromptReturn(bool submit);
31 
32  private:
33  void CreateBusyDialog(const QString& message);
34 
38 
41 
44 
47 
49 
50  private slots:
51  void loadData(void);
52  void slotNext(void);
53 
54  void slotSubmit(void);
55  void slotView(void);
56  void slotDelete(void);
57 };
58 
59 #endif
60 
unsigned int slots[4]
Definition: element.c:38
MythUIButton * m_cancelButton
All purpose text widget, displays a text string.
Definition: mythuitext.h:28
MythUIText * m_profileLocation
~GeneralSetupWizard()=default
MythUIButton * m_viewButton
MythUIButton * m_nextButton
void CreateBusyDialog(const QString &message)
HardwareProfile * m_hardwareProfile
MythUIButton * m_deleteButton
bool Create(void) override
MythUIButton * m_submitButton
const char * name
Definition: ParseText.cpp:328
A single button widget.
Definition: mythuibutton.h:21
MythUIBusyDialog * m_busyPopup
void OnSubmitPromptReturn(bool submit)
void OnDeletePromptReturn(bool submit)
MythUIText * m_adminPassword
Screen in which all other widgets are contained and rendered.
MythScreenStack * m_popupStack
GeneralSetupWizard(MythScreenStack *parent, const char *name=nullptr)
bool keyPressEvent(QKeyEvent *) override
Key event handler.