MythTV master
setupwizard_video.h
Go to the documentation of this file.
1#ifndef VIDEOSETUPWIZARD_H
2#define VIDEOSETUPWIZARD_H
3
4// MythTV
11
12extern const QString VIDEO_SAMPLE_HD_LOCATION;
13extern const QString VIDEO_SAMPLE_SD_LOCATION;
14extern const QString VIDEO_SAMPLE_HD_FILENAME;
15extern const QString VIDEO_SAMPLE_SD_FILENAME;
16
18{
19 Q_OBJECT
20
21 public:
22
24 MythScreenType *audio, const char *name = nullptr);
25 ~VideoSetupWizard() override;
26
27 bool Create(void) override; // MythScreenType
28 bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
29 void customEvent(QEvent *e) override; // MythUIType
30
31 void save(void);
32
33 private:
34 void initProgressDialog();
35
37 {
38 ttNone = 0,
41 };
42
45
48
52
55
58
59 private slots:
60 void slotNext(void);
61 void slotPrevious(void);
62 void loadData(void);
63
64 void testSDVideo(void);
65 void testHDVideo(void);
66 void playVideoTest(const QString& desc,
67 const QString& title,
68 const QString& file);
69
70 void DownloadSample(const QString& url, const QString& dest);
71};
72
73#endif
Screen in which all other widgets are contained and rendered.
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
A single button widget.
Definition: mythuibutton.h:22
bool Create(void) override
MythUIProgressDialog * m_progressDialog
void playVideoTest(const QString &desc, const QString &title, const QString &file)
MythScreenType * m_audioScreen
MythScreenType * m_generalScreen
MythUIButtonList * m_playbackProfileButtonList
void customEvent(QEvent *e) override
MythUIButton * m_testHDButton
~VideoSetupWizard() override
MythUIButton * m_nextButton
MythUIButton * m_testSDButton
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
void DownloadSample(const QString &url, const QString &dest)
MythScreenStack * m_popupStack
MythUIButton * m_prevButton
VideoSetupWizard(MythScreenStack *parent, MythScreenType *general, MythScreenType *audio, const char *name=nullptr)
const QString VIDEO_SAMPLE_HD_LOCATION
const QString VIDEO_SAMPLE_SD_LOCATION
const QString VIDEO_SAMPLE_HD_FILENAME
const QString VIDEO_SAMPLE_SD_FILENAME