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  explicit GeneralSetupWizard(MythScreenStack *parent, const char *name = nullptr);
21  ~GeneralSetupWizard() override = default;
22 
23  bool Create(void) override; // MythScreenType
24  bool keyPressEvent(QKeyEvent *event) 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 
GeneralSetupWizard::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: setupwizard_general.cpp:267
GeneralSetupWizard
Definition: setupwizard_general.h:15
mythuitext.h
GeneralSetupWizard::m_hardwareProfile
HardwareProfile * m_hardwareProfile
Definition: setupwizard_general.h:48
mythdialogbox.h
MythScreenStack
Definition: mythscreenstack.h:16
GeneralSetupWizard::m_deleteButton
MythUIButton * m_deleteButton
Definition: setupwizard_general.h:37
GeneralSetupWizard::m_nextButton
MythUIButton * m_nextButton
Definition: setupwizard_general.h:39
GeneralSetupWizard::m_cancelButton
MythUIButton * m_cancelButton
Definition: setupwizard_general.h:40
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:45
GeneralSetupWizard::OnSubmitPromptReturn
void OnSubmitPromptReturn(bool submit)
Definition: setupwizard_general.cpp:135
GeneralSetupWizard::slotSubmit
void slotSubmit(void)
Definition: setupwizard_general.cpp:120
GeneralSetupWizard::m_submitButton
MythUIButton * m_submitButton
Definition: setupwizard_general.h:35
GeneralSetupWizard::m_popupStack
MythScreenStack * m_popupStack
Definition: setupwizard_general.h:45
mythprogressdialog.h
GeneralSetupWizard::slotView
void slotView(void)
Definition: setupwizard_general.cpp:166
GeneralSetupWizard::CreateBusyDialog
void CreateBusyDialog(const QString &message)
Definition: setupwizard_general.cpp:280
HardwareProfile
Definition: hardwareprofile.h:17
GeneralSetupWizard::save
void save(void)
Definition: setupwizard_general.cpp:263
MythUIButton
A single button widget.
Definition: mythuibutton.h:22
GeneralSetupWizard::loadData
void loadData(void)
Definition: setupwizard_general.cpp:91
GeneralSetupWizard::slotDelete
void slotDelete(void)
Definition: setupwizard_general.cpp:211
MythUIBusyDialog
Definition: mythprogressdialog.h:37
GeneralSetupWizard::~GeneralSetupWizard
~GeneralSetupWizard() override=default
GeneralSetupWizard::Create
bool Create(void) override
Definition: setupwizard_general.cpp:26
MythUIText
All purpose text widget, displays a text string.
Definition: mythuitext.h:29
GeneralSetupWizard::OnDeletePromptReturn
void OnDeletePromptReturn(bool submit)
Definition: setupwizard_general.cpp:233
GeneralSetupWizard::m_adminPassword
MythUIText * m_adminPassword
Definition: setupwizard_general.h:43
mythuibutton.h
GeneralSetupWizard::m_viewButton
MythUIButton * m_viewButton
Definition: setupwizard_general.h:36
GeneralSetupWizard::slotNext
void slotNext(void)
Definition: setupwizard_general.cpp:105
GeneralSetupWizard::m_profileLocation
MythUIText * m_profileLocation
Definition: setupwizard_general.h:42
GeneralSetupWizard::GeneralSetupWizard
GeneralSetupWizard(MythScreenStack *parent, const char *name=nullptr)
Definition: setupwizard_general.cpp:19
mythuicheckbox.h
GeneralSetupWizard::m_busyPopup
MythUIBusyDialog * m_busyPopup
Definition: setupwizard_general.h:46
mythscreentype.h