equal
deleted
inserted
replaced
24 #include "AbstractPage.h" |
24 #include "AbstractPage.h" |
25 |
25 |
26 class GameUIConfig; |
26 class GameUIConfig; |
27 class HWRecorder; |
27 class HWRecorder; |
28 class VideoItem; |
28 class VideoItem; |
|
29 class HWForm; |
29 |
30 |
30 class PageVideos : public AbstractPage |
31 class PageVideos : public AbstractPage |
31 { |
32 { |
32 Q_OBJECT |
33 Q_OBJECT |
33 |
34 |
52 { return comboAudioCodecs->itemData(comboAudioCodecs->currentIndex()).toString(); } |
53 { return comboAudioCodecs->itemData(comboAudioCodecs->currentIndex()).toString(); } |
53 |
54 |
54 void setDefaultCodecs(); |
55 void setDefaultCodecs(); |
55 bool tryCodecs(const QString & format, const QString & vcodec, const QString & acodec); |
56 bool tryCodecs(const QString & format, const QString & vcodec, const QString & acodec); |
56 void addRecorder(HWRecorder* pRecorder); |
57 void addRecorder(HWRecorder* pRecorder); |
|
58 bool tryQuit(HWForm *form); |
|
59 QString getVideosInProgress(); // get multi-line string with list of videos in progress |
57 |
60 |
58 private: |
61 private: |
59 // virtuals from AbstractPage |
62 // virtuals from AbstractPage |
60 QLayout * bodyLayoutDefinition(); |
63 QLayout * bodyLayoutDefinition(); |
61 QLayout * footerLayoutDefinition(); |
64 QLayout * footerLayoutDefinition(); |
89 |
92 |
90 // this flag is used to distinguish if cell was changed from code or by user |
93 // this flag is used to distinguish if cell was changed from code or by user |
91 // (in signal cellChanged) |
94 // (in signal cellChanged) |
92 bool nameChangedFromCode; |
95 bool nameChangedFromCode; |
93 |
96 |
|
97 int numRecorders; |
|
98 |
94 private slots: |
99 private slots: |
95 void changeAVFormat(int index); |
100 void changeAVFormat(int index); |
96 void changeUseGameRes(int state); |
101 void changeUseGameRes(int state); |
97 void changeRecordAudio(int state); |
102 void changeRecordAudio(int state); |
98 void setDefaultOptions(); |
103 void setDefaultOptions(); |