MythTV  master
setupwizard_video.h
Go to the documentation of this file.
1 #ifndef VIDEOSETUPWIZARD_H
2 #define VIDEOSETUPWIZARD_H
3 
4 // MythTV
11 
12 extern const QString VIDEO_SAMPLE_HD_LOCATION;
13 extern const QString VIDEO_SAMPLE_SD_LOCATION;
14 extern const QString VIDEO_SAMPLE_HD_FILENAME;
15 extern 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 
36  enum TestType
37  {
38  ttNone = 0,
41  };
42 
43  QString m_downloadFile;
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
VIDEO_SAMPLE_SD_LOCATION
const QString VIDEO_SAMPLE_SD_LOCATION
Definition: setupwizard_video.cpp:22
VideoSetupWizard::m_generalScreen
MythScreenType * m_generalScreen
Definition: setupwizard_video.h:46
VideoSetupWizard::~VideoSetupWizard
~VideoSetupWizard() override
Definition: setupwizard_video.cpp:87
build_compdb.dest
dest
Definition: build_compdb.py:9
VideoSetupWizard::playVideoTest
void playVideoTest(const QString &desc, const QString &title, const QString &file)
Definition: setupwizard_video.cpp:201
VideoSetupWizard::ttHighDefinition
@ ttHighDefinition
Definition: setupwizard_video.h:39
VideoSetupWizard::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: setupwizard_video.cpp:142
VIDEO_SAMPLE_SD_FILENAME
const QString VIDEO_SAMPLE_SD_FILENAME
Definition: setupwizard_video.cpp:26
VideoSetupWizard::testSDVideo
void testSDVideo(void)
Definition: setupwizard_video.cpp:155
VideoSetupWizard::initProgressDialog
void initProgressDialog()
Definition: setupwizard_video.cpp:218
VIDEO_SAMPLE_HD_LOCATION
const QString VIDEO_SAMPLE_HD_LOCATION
Definition: setupwizard_video.cpp:20
VideoSetupWizard::Create
bool Create(void) override
Definition: setupwizard_video.cpp:40
mythdialogbox.h
MythScreenStack
Definition: mythscreenstack.h:16
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:45
VideoSetupWizard::save
void save(void)
Definition: setupwizard_video.cpp:130
build_compdb.file
file
Definition: build_compdb.py:55
mythuibuttonlist.h
mythprogressdialog.h
VideoSetupWizard::customEvent
void customEvent(QEvent *e) override
Definition: setupwizard_video.cpp:235
VideoSetupWizard::ttStandardDefinition
@ ttStandardDefinition
Definition: setupwizard_video.h:40
VideoSetupWizard::m_downloadFile
QString m_downloadFile
Definition: setupwizard_video.h:43
VideoSetupWizard::m_playbackProfileButtonList
MythUIButtonList * m_playbackProfileButtonList
Definition: setupwizard_video.h:49
VideoSetupWizard
Definition: setupwizard_video.h:17
MythUIProgressDialog
Definition: mythprogressdialog.h:59
VideoSetupWizard::slotPrevious
void slotPrevious(void)
Definition: setupwizard_video.cpp:137
VideoSetupWizard::ttNone
@ ttNone
Definition: setupwizard_video.h:38
MythUIButton
A single button widget.
Definition: mythuibutton.h:21
VideoSetupWizard::m_progressDialog
MythUIProgressDialog * m_progressDialog
Definition: setupwizard_video.h:51
mythvideoprofile.h
VideoSetupWizard::VideoSetupWizard
VideoSetupWizard(MythScreenStack *parent, MythScreenType *general, MythScreenType *audio, const char *name=nullptr)
Definition: setupwizard_video.cpp:29
VideoSetupWizard::TestType
TestType
Definition: setupwizard_video.h:36
VideoSetupWizard::m_nextButton
MythUIButton * m_nextButton
Definition: setupwizard_video.h:56
VideoSetupWizard::m_testType
TestType m_testType
Definition: setupwizard_video.h:44
VideoSetupWizard::m_prevButton
MythUIButton * m_prevButton
Definition: setupwizard_video.h:57
VideoSetupWizard::slotNext
void slotNext(void)
Definition: setupwizard_video.cpp:111
VideoSetupWizard::testHDVideo
void testHDVideo(void)
Definition: setupwizard_video.cpp:178
mythuibutton.h
VideoSetupWizard::m_testSDButton
MythUIButton * m_testSDButton
Definition: setupwizard_video.h:53
VideoSetupWizard::loadData
void loadData(void)
Definition: setupwizard_video.cpp:92
VideoSetupWizard::DownloadSample
void DownloadSample(const QString &url, const QString &dest)
Definition: setupwizard_video.cpp:212
VideoSetupWizard::m_testHDButton
MythUIButton * m_testHDButton
Definition: setupwizard_video.h:54
VIDEO_SAMPLE_HD_FILENAME
const QString VIDEO_SAMPLE_HD_FILENAME
Definition: setupwizard_video.cpp:24
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition: mythuibuttonlist.h:191
VideoSetupWizard::m_audioScreen
MythScreenType * m_audioScreen
Definition: setupwizard_video.h:47
mythscreentype.h
VideoSetupWizard::m_popupStack
MythScreenStack * m_popupStack
Definition: setupwizard_video.h:50