MythTV  master
setupwizard_video.h
Go to the documentation of this file.
1 #ifndef VIDEOSETUPWIZARD_H
2 #define VIDEOSETUPWIZARD_H
3 
4 // Utility headers
5 #include <videodisplayprofile.h>
6 
7 // libmythui
8 #include <mythuibutton.h>
9 #include <mythuibuttonlist.h>
10 #include <mythprogressdialog.h>
11 #include <mythscreentype.h>
12 #include <mythdialogbox.h>
13 
14 extern const QString VIDEO_SAMPLE_HD_LOCATION;
15 extern const QString VIDEO_SAMPLE_SD_LOCATION;
16 extern const QString VIDEO_SAMPLE_HD_FILENAME;
17 extern const QString VIDEO_SAMPLE_SD_FILENAME;
18 
20 {
21  Q_OBJECT
22 
23  public:
24 
26  MythScreenType *audio, const char *name = nullptr);
28 
29  bool Create(void) override; // MythScreenType
30  bool keyPressEvent(QKeyEvent *) override; // MythScreenType
31  void customEvent(QEvent *e) override; // MythUIType
32 
33  void save(void);
34 
35  private:
36  void initProgressDialog();
37 
38  enum TestType
39  {
40  ttNone = 0,
43  };
44 
45  QString m_downloadFile;
47 
50 
54 
57 
60 
61  private slots:
62  void slotNext(void);
63  void slotPrevious(void);
64  void loadData(void);
65 
66  void testSDVideo(void);
67  void testHDVideo(void);
68  void playVideoTest(const QString& desc,
69  const QString& title,
70  const QString& file);
71 
72  void DownloadSample(const QString& url, const QString& dest);
73 };
74 
75 #endif
unsigned int slots[4]
Definition: element.c:38
VideoSetupWizard(MythScreenStack *parent, MythScreenType *general, MythScreenType *audio, const char *name=nullptr)
MythUIButton * m_testSDButton
MythUIButton * m_prevButton
bool keyPressEvent(QKeyEvent *) override
Key event handler.
MythScreenType * m_generalScreen
void playVideoTest(const QString &desc, const QString &title, const QString &file)
MythScreenType * m_audioScreen
MythScreenStack * m_popupStack
void DownloadSample(const QString &url, const QString &dest)
MythUIButton * m_testHDButton
const QString VIDEO_SAMPLE_HD_FILENAME
const QString VIDEO_SAMPLE_SD_FILENAME
const char * name
Definition: ParseText.cpp:328
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
const QString VIDEO_SAMPLE_HD_LOCATION
A single button widget.
Definition: mythuibutton.h:21
const QString VIDEO_SAMPLE_SD_LOCATION
void customEvent(QEvent *e) override
bool Create(void) override
MythUIButtonList * m_playbackProfileButtonList
Screen in which all other widgets are contained and rendered.
MythUIProgressDialog * m_progressDialog
MythUIButton * m_nextButton