MythTV master
setupwizard_general.h
Go to the documentation of this file.
1#ifndef GENERALSETUPWIZARD_H
2#define GENERALSETUPWIZARD_H
3
4// MythTV
11
12class 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
void CreateBusyDialog(const QString &message)
MythUIBusyDialog * m_busyPopup
~GeneralSetupWizard() override=default
MythUIButton * m_deleteButton
MythUIButton * m_submitButton
MythUIText * m_profileLocation
GeneralSetupWizard(MythScreenStack *parent, const char *name=nullptr)
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
MythUIButton * m_nextButton
HardwareProfile * m_hardwareProfile
bool Create(void) override
MythUIButton * m_viewButton
void OnDeletePromptReturn(bool submit)
MythUIText * m_adminPassword
MythUIButton * m_cancelButton
MythScreenStack * m_popupStack
void OnSubmitPromptReturn(bool submit)
Screen in which all other widgets are contained and rendered.
A single button widget.
Definition: mythuibutton.h:22
All purpose text widget, displays a text string.
Definition: mythuitext.h:29