MythTV  master
scheduleeditor.h
Go to the documentation of this file.
1 #ifndef SCHEDULERECORDING_H_
2 #define SCHEDULERECORDING_H_
3 
4 #include "mythscreentype.h"
5 #include "schedulecommon.h"
6 
7 // libmythbase
8 #include "mythdb.h"
9 
10 // libmyth
11 #include "mythcontext.h"
12 
13 // libmythtv
14 #include "recordingrule.h"
15 #include "recordinginfo.h"
16 
17 // libmythmetadata
18 #include "metadatafactory.h"
19 
20 class ProgramInfo;
21 class MythUIText;
22 class MythUIButton;
23 class MythUIButtonList;
25 class MythUIStateType;
26 class MythUISpinBox;
27 class TV;
28 
29 class ScheduleEditor;
30 class SchedEditChild;
31 
33 {
34  protected:
36  SchedOptMixin *other = nullptr);
37  void SetRule(RecordingRule *rule) { m_rule = rule; };
38  void Create(bool *err);
39  void Load(void);
40  void Save(void);
41  void RuleChanged(void);
43 
53 
54  private:
56  RecordingRule *m_rule {nullptr};
57  SchedOptMixin *m_other {nullptr};
58  bool m_loaded {false};
59  bool m_haveRepeats {false};
60 };
61 
63 {
64  protected:
66  StoreOptMixin *other = nullptr)
67  : m_screen(&screen), m_rule(rule), m_other(other) {}
68  void SetRule(RecordingRule *rule) { m_rule = rule; };
69  void Create(bool *err);
70  void Load(void);
71  void Save(void);
72  void RuleChanged(void);
74  void PromptForRecGroup(void);
75  void SetRecGroup(int recgroupID, QString recgroup);
76 
77  static int CreateRecordingGroup(const QString &groupName);
78 
86 
87  private:
89  RecordingRule *m_rule {nullptr};
90  StoreOptMixin *m_other {nullptr};
91  bool m_loaded {false};
92 };
93 
95 {
96  protected:
98  PostProcMixin *other= nullptr)
99  : m_screen(&screen), m_rule(rule), m_other(other) {}
100  void SetRule(RecordingRule *rule) { m_rule = rule; };
101  void Create(bool *err);
102  void Load(void);
103  void Save(void);
104  void RuleChanged(void);
105  void TranscodeChanged(bool enable);
106 
115 
116  private:
118  RecordingRule *m_rule {nullptr};
119  PostProcMixin *m_other {nullptr};
120  bool m_loaded {false};
121 };
122 
124 {
125  protected:
127  FilterOptMixin *other = nullptr)
128  : m_screen(&screen), m_rule(rule), m_other(other) {}
129  void SetRule(RecordingRule *rule) { m_rule = rule; };
130  void Create(bool *err);
131  void Load(void);
132  void Save(void);
133  void RuleChanged(void);
134  static void ToggleSelected(MythUIButtonListItem *item);
135 
138 
139  private:
141  RecordingRule *m_rule {nullptr};
143  bool m_loaded {false};
144 
145  QStringList m_descriptions;
146 };
147 
149  public SchedOptMixin, public FilterOptMixin,
150  public StoreOptMixin, public PostProcMixin
151 {
152  friend class SchedEditChild;
153  Q_OBJECT
154  public:
155  ScheduleEditor(MythScreenStack *parent, RecordingInfo* recinfo,
156  TV *player = nullptr);
157  ScheduleEditor(MythScreenStack *parent, RecordingRule* recrule,
158  TV *player = nullptr);
159  ~ScheduleEditor() override;
160 
161  bool Create(void) override; // MythScreenType
162  bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
163  void customEvent(QEvent *event) override; // ScheduleCommon
164 
165  void showMenu(void);
166  void showUpcomingByRule(void);
167  void showUpcomingByTitle(void);
168 
170  static void *RunScheduleEditor(ProgramInfo *proginfo, void *player = nullptr);
171 
172  signals:
173  void ruleSaved(int ruleId);
174  void ruleDeleted(int ruleId);
175  void templateLoaded(void);
176 
177  public slots:
178  void ShowSchedOpt(void);
179  void ShowFilters(void);
180  void ShowStoreOpt(void);
181  void ShowPostProc(void);
182  void ShowMetadataOptions(void);
183  void ShowPreviousView(void);
184  void ShowNextView(void);
185  void ShowPreview(void);
186  void Save(void);
187 
188  protected slots:
189  void RuleChanged(MythUIButtonListItem *item);
191  static void FilterChanged(MythUIButtonListItem *item);
193  void PromptForRecGroup(void);
194  void TranscodeChanged(bool enable);
195  void ShowSchedInfo(void);
196  void ChildClosing(void);
197  void Close(void) override; // MythScreenType
198 
199  private:
201  void Load(void) override; // MythScreenType
202  void LoadTemplate(const QString& name);
203  void DeleteRule(void);
204 
205  void showTemplateMenu(void);
206 
207  ProgramInfo *GetCurrentProgram(void) const override // ScheduleCommon
208  { return m_recInfo; };
209 
212 
213  bool m_sendSig {false};
214 
217 
219 
227 
228  TV *m_player {nullptr};
229 
230  bool m_loaded {false};
231 
232  enum View
233  {
240  };
241 
244 };
245 
247 {
248  Q_OBJECT
249  protected:
250  SchedEditChild(MythScreenStack *parent, const QString &name,
251  ScheduleEditor &editor, RecordingRule &rule,
252  RecordingInfo *recinfo);
253  ~SchedEditChild() override = default;
254 
255  bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
256  virtual bool CreateEditChild(
257  const QString &xmlfile, const QString &winname, bool isTemplate);
258 
259  signals:
260  void Closing(void);
261 
262  public slots:
263  void Close(void) override; // MythScreenType
264  void Load(void) override = 0; // MythScreenType
265  virtual void Save(void) = 0;
266 
267  protected:
268  void SetTextFromMaps(void);
269 
273 
277 };
278 
280 {
281  Q_OBJECT
282  public:
284  RecordingRule &rule, RecordingInfo *recinfo);
285  ~SchedOptEditor() override = default;
286 
287  bool Create(void) override; // MythScreenType
288 
289  protected slots:
291 
292  private:
293  void Load(void) override; // SchedEditChild
294  void Save(void) override; // SchedEditChild
295 
297 };
298 
300 {
301  Q_OBJECT
302  public:
304  RecordingRule &rule, RecordingInfo *recinfo);
305  ~SchedFilterEditor() override = default;
306 
307  bool Create(void) override; // MythScreenType
308 
309  protected slots:
310  static void ToggleSelected(MythUIButtonListItem *item);
311 
312  private:
313  void Load(void) override; // SchedEditChild
314  void Save(void) override; // SchedEditChild
315 };
316 
318 {
319  Q_OBJECT
320  public:
322  RecordingRule &rule, RecordingInfo *recinfo);
323  ~StoreOptEditor() override = default;
324 
325  bool Create(void) override; // MythScreenType
326  void customEvent(QEvent *event) override; // MythUIType
327 
328  protected slots:
330  void PromptForRecGroup(void);
331 
332  private:
333  void Load(void) override; // SchedEditChild
334  void Save(void) override; // SchedEditChild
335 };
336 
338 {
339  Q_OBJECT
340  public:
342  RecordingRule &rule, RecordingInfo *recinfo);
343  ~PostProcEditor() override = default;
344 
345  bool Create(void) override; // MythScreenType
346 
347  protected slots:
348  void TranscodeChanged(bool enable);
349 
350  private:
351  void Load(void) override; // SchedEditChild
352  void Save(void) override; // SchedEditChild
353 };
354 
356 {
357  Q_OBJECT
358  public:
360  RecordingRule &rule, RecordingInfo *recinfo);
361  ~MetadataOptions() override;
362 
363  bool Create(void) override; // MythScreenType
364 
365  protected slots:
366  void ClearInetref();
367  void PerformQuery();
368  void SelectLocalFanart();
369  void SelectLocalCoverart();
370  void SelectLocalBanner();
371  void SelectOnlineFanart();
372  void SelectOnlineCoverart();
373  void SelectOnlineBanner();
374  void QueryComplete(MetadataLookup *lookup);
376  void OnImageSearchListSelection(const ArtworkInfo& info,
378  void OnArtworkSearchDone(MetadataLookup *lookup);
380 
381  void ValuesChanged();
382 
383  private:
384  void Load(void) override; // SchedEditChild
385  void Save(void) override; // SchedEditChild
386 
387  void CreateBusyDialog(const QString& title);
388  static void FindImagePopup(const QString &prefix,
389  const QString &prefixAlt,
390  QObject &inst,
391  const QString &returnEvent);
392  static QStringList GetSupportedImageExtensionFilter();
393 
396 
397  bool CanSetArtwork(void);
398 
399  void customEvent(QEvent *event) override; // MythUIType
400 
401  // For all metadata downloads
403 
404  // For image picking
407 
410 
411  MythUIImage *m_fanart {nullptr};
413  MythUIImage *m_banner {nullptr};
414 
416 
419 
428 
430 };
431 
432 #endif
MetadataOptions::~MetadataOptions
~MetadataOptions() override
Definition: scheduleeditor.cpp:1264
ScheduleEditor::m_view
int m_view
Definition: scheduleeditor.h:242
FilterOptMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:129
PostProcMixin::m_loaded
bool m_loaded
Definition: scheduleeditor.h:120
SchedEditChild::Save
virtual void Save(void)=0
ScheduleEditor::Load
void Load(void) override
Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (S...
Definition: scheduleeditor.cpp:242
MetadataOptions::CanSetArtwork
bool CanSetArtwork(void)
Definition: scheduleeditor.cpp:1556
SchedOptEditor::Create
bool Create(void) override
Definition: scheduleeditor.cpp:983
ScheduleEditor::View
View
Definition: scheduleeditor.h:232
VideoArtworkType
VideoArtworkType
Definition: metadataimagehelper.h:10
MetadataOptions::m_queryButton
MythUIButton * m_queryButton
Definition: scheduleeditor.h:421
MetadataOptions::OnImageSearchListSelection
void OnImageSearchListSelection(const ArtworkInfo &info, VideoArtworkType type)
Definition: scheduleeditor.cpp:1409
PostProcMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:117
MetadataOptions::FindImagePopup
static void FindImagePopup(const QString &prefix, const QString &prefixAlt, QObject &inst, const QString &returnEvent)
Definition: scheduleeditor.cpp:1517
RefCountHandler
Definition: referencecounterlist.h:17
SchedOptMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:37
ScheduleEditor::Close
void Close(void) override
Definition: scheduleeditor.cpp:230
MythUIImage
Image widget, displays a single image or multiple images in sequence.
Definition: mythuiimage.h:97
FilterOptMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2295
MetadataOptions::m_imageDownload
MetadataImageDownload * m_imageDownload
Definition: scheduleeditor.h:406
MetadataOptions::SelectOnlineFanart
void SelectOnlineFanart()
Definition: scheduleeditor.cpp:1468
MetadataImageDownload
Definition: metadataimagedownload.h:87
PostProcMixin::m_transcodeCheck
MythUICheckBox * m_transcodeCheck
Definition: scheduleeditor.h:108
SchedOptMixin::m_newrepeatList
MythUIButtonList * m_newrepeatList
Definition: scheduleeditor.h:52
MetadataOptions::CreateLookup
MetadataLookup * CreateLookup(MetadataType mtype)
Definition: scheduleeditor.cpp:1570
ScheduleEditor::customEvent
void customEvent(QEvent *event) override
Definition: scheduleeditor.cpp:564
mythdb.h
SchedOptEditor::DupMethodChanged
void DupMethodChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:1029
MetadataOptions::ClearInetref
void ClearInetref()
Definition: scheduleeditor.cpp:1387
MetadataType
MetadataType
Definition: metadatacommon.h:42
MetadataOptions::customEvent
void customEvent(QEvent *event) override
Definition: scheduleeditor.cpp:1706
SchedEditChild::SetTextFromMaps
void SetTextFromMaps(void)
Definition: scheduleeditor.cpp:948
PostProcMixin::m_userjob3Check
MythUICheckBox * m_userjob3Check
Definition: scheduleeditor.h:112
SchedOptMixin::SchedOptMixin
SchedOptMixin(MythScreenType &screen, RecordingRule *rule, SchedOptMixin *other=nullptr)
Definition: scheduleeditor.cpp:1922
StoreOptEditor::MaxEpisodesChanged
void MaxEpisodesChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:1148
MetadataOptions::QueryComplete
void QueryComplete(MetadataLookup *lookup)
Definition: scheduleeditor.cpp:1498
PostProcEditor::~PostProcEditor
~PostProcEditor() override=default
FilterOptMixin::m_activeFiltersList
MythUIButtonList * m_activeFiltersList
Definition: scheduleeditor.h:137
ScheduleEditor::Create
bool Create(void) override
Definition: scheduleeditor.cpp:132
StoreOptMixin::m_rule
RecordingRule * m_rule
Definition: scheduleeditor.h:89
PostProcMixin::m_metadataLookupCheck
MythUICheckBox * m_metadataLookupCheck
Definition: scheduleeditor.h:114
ScheduleEditor::MaxEpisodesChanged
void MaxEpisodesChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:381
PostProcMixin::m_userjob2Check
MythUICheckBox * m_userjob2Check
Definition: scheduleeditor.h:111
MetadataOptions::m_metadataFactory
MetadataFactory * m_metadataFactory
Definition: scheduleeditor.h:402
MetadataOptions::SelectLocalBanner
void SelectLocalBanner()
Definition: scheduleeditor.cpp:1457
RecordingInfo
Holds information on a TV Program one might wish to record.
Definition: recordinginfo.h:35
SchedFilterEditor::Create
bool Create(void) override
Definition: scheduleeditor.cpp:1050
StoreOptEditor::customEvent
void customEvent(QEvent *event) override
Definition: scheduleeditor.cpp:1158
ScheduleEditor::Save
void Save(void)
Definition: scheduleeditor.cpp:396
ScheduleEditor::ScheduleEditor
ScheduleEditor(MythScreenStack *parent, RecordingInfo *recinfo, TV *player=nullptr)
Definition: scheduleeditor.cpp:87
ScheduleEditor::~ScheduleEditor
~ScheduleEditor() override
Definition: scheduleeditor.cpp:120
ScheduleEditor::DupMethodChanged
void DupMethodChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:371
SchedEditChild::~SchedEditChild
~SchedEditChild() override=default
SchedEditChild::SchedEditChild
SchedEditChild(MythScreenStack *parent, const QString &name, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:877
MetadataOptions::m_inetrefClear
MythUIButton * m_inetrefClear
Definition: scheduleeditor.h:420
SchedOptEditor::m_filtersButton
MythUIButton * m_filtersButton
Definition: scheduleeditor.h:296
ScheduleEditor::showTemplateMenu
void showTemplateMenu(void)
Definition: scheduleeditor.cpp:838
SchedOptMixin::m_prioritySpin
MythUISpinBox * m_prioritySpin
Definition: scheduleeditor.h:44
MythScreenStack
Definition: mythscreenstack.h:16
SchedOptEditor::~SchedOptEditor
~SchedOptEditor() override=default
MetadataOptions::m_episodeSpin
MythUISpinBox * m_episodeSpin
Definition: scheduleeditor.h:418
ScheduleEditor::GetCurrentProgram
ProgramInfo * GetCurrentProgram(void) const override
Definition: scheduleeditor.h:207
ScheduleEditor::ShowPreviousView
void ShowPreviousView(void)
Definition: scheduleeditor.cpp:743
SchedEditChild::m_recordingRule
RecordingRule * m_recordingRule
Definition: scheduleeditor.h:271
StoreOptMixin::m_autoexpireCheck
MythUICheckBox * m_autoexpireCheck
Definition: scheduleeditor.h:85
RecordingRule
Internal representation of a recording rule, mirrors the record table.
Definition: recordingrule.h:32
PostProcEditor::TranscodeChanged
void TranscodeChanged(bool enable)
Definition: scheduleeditor.cpp:1231
MythUITextEdit
A text entry and edit widget.
Definition: mythuitextedit.h:32
MetadataOptions::m_fanart
MythUIImage * m_fanart
Definition: scheduleeditor.h:411
StoreOptMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:2342
MetadataDownload
Definition: metadatadownload.h:35
ScheduleEditor::ShowPostProc
void ShowPostProc(void)
Definition: scheduleeditor.cpp:476
PostProcMixin::m_userjob1Check
MythUICheckBox * m_userjob1Check
Definition: scheduleeditor.h:110
PostProcMixin::m_commflagCheck
MythUICheckBox * m_commflagCheck
Definition: scheduleeditor.h:107
PostProcEditor::Load
void Load(void) override
Definition: scheduleeditor.cpp:1225
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:44
SchedOptMixin::m_rule
RecordingRule * m_rule
Definition: scheduleeditor.h:56
SchedEditChild
Definition: scheduleeditor.h:246
ScheduleEditor::kMainView
@ kMainView
Definition: scheduleeditor.h:234
SchedFilterEditor::ToggleSelected
static void ToggleSelected(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:1089
ScheduleEditor::ruleSaved
void ruleSaved(int ruleId)
MetadataOptions::m_coverart
MythUIImage * m_coverart
Definition: scheduleeditor.h:412
MetadataOptions::MetadataOptions
MetadataOptions(MythScreenStack *parent, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:1248
MetadataOptions::Load
void Load(void) override
Definition: scheduleeditor.cpp:1368
StoreOptMixin::m_recgroupList
MythUIButtonList * m_recgroupList
Definition: scheduleeditor.h:80
schedulecommon.h
ScheduleEditor::DeleteRule
void DeleteRule(void)
Definition: scheduleeditor.cpp:421
StoreOptMixin::m_playgroupList
MythUIButtonList * m_playgroupList
Definition: scheduleeditor.h:82
StoreOptMixin::m_maxbehaviourList
MythUIButtonList * m_maxbehaviourList
Definition: scheduleeditor.h:84
MetadataOptions::HandleDownloadedImages
void HandleDownloadedImages(MetadataLookup *lookup)
Definition: scheduleeditor.cpp:1653
ScheduleEditor::m_rulesList
MythUIButtonList * m_rulesList
Definition: scheduleeditor.h:218
hardwareprofile.distros.mythtv_data.data_mythtv.prefix
string prefix
Definition: data_mythtv.py:40
ScheduleEditor::ChildClosing
void ChildClosing(void)
Definition: scheduleeditor.cpp:783
ScheduleEditor::ShowStoreOpt
void ShowStoreOpt(void)
Definition: scheduleeditor.cpp:451
MetadataOptions::Save
void Save(void) override
Definition: scheduleeditor.cpp:1483
ScheduleEditor::ShowMetadataOptions
void ShowMetadataOptions(void)
Definition: scheduleeditor.cpp:694
PostProcMixin
Mixin for post processing.
Definition: scheduleeditor.h:94
PostProcMixin::m_rule
RecordingRule * m_rule
Definition: scheduleeditor.h:118
MetadataLookup
Definition: metadatacommon.h:87
PostProcEditor::PostProcEditor
PostProcEditor(MythScreenStack *parent, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:1187
MetadataOptions::m_banner
MythUIImage * m_banner
Definition: scheduleeditor.h:413
ScheduleEditor::ShowSchedInfo
void ShowSchedInfo(void)
Definition: scheduleeditor.cpp:501
FilterOptMixin::FilterOptMixin
FilterOptMixin(MythScreenType &screen, RecordingRule *rule, FilterOptMixin *other=nullptr)
Definition: scheduleeditor.h:126
SchedFilterEditor::~SchedFilterEditor
~SchedFilterEditor() override=default
FilterOptMixin::m_other
FilterOptMixin * m_other
Definition: scheduleeditor.h:142
MetadataOptions::PerformQuery
void PerformQuery()
Definition: scheduleeditor.cpp:1393
SchedEditChild::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: scheduleeditor.cpp:885
MythUIButtonListItem
Definition: mythuibuttonlist.h:34
MetadataOptions::CreateBusyDialog
void CreateBusyDialog(const QString &title)
Definition: scheduleeditor.cpp:1373
SchedEditChild::m_recInfo
RecordingInfo * m_recInfo
Definition: scheduleeditor.h:272
SchedOptMixin::m_haveRepeats
bool m_haveRepeats
Definition: scheduleeditor.h:59
MetadataOptions::m_popupStack
MythScreenStack * m_popupStack
Definition: scheduleeditor.h:408
FilterOptMixin::m_loaded
bool m_loaded
Definition: scheduleeditor.h:143
FilterOptMixin::m_descriptions
QStringList m_descriptions
Definition: scheduleeditor.h:145
ScheduleEditor::ShowPreview
void ShowPreview(void)
Definition: scheduleeditor.cpp:658
SchedOptMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:55
MetadataOptions::m_onlineBannerButton
MythUIButton * m_onlineBannerButton
Definition: scheduleeditor.h:427
ScheduleEditor::m_schedOptButton
MythUIButton * m_schedOptButton
Definition: scheduleeditor.h:220
ScheduleEditor::FilterChanged
static void FilterChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:376
MetadataOptions::SelectOnlineCoverart
void SelectOnlineCoverart()
Definition: scheduleeditor.cpp:1473
SchedOptMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2124
SchedEditChild::Closing
void Closing(void)
ScheduleEditor::kSchedOptView
@ kSchedOptView
Definition: scheduleeditor.h:235
ScheduleEditor::m_saveButton
MythUIButton * m_saveButton
Definition: scheduleeditor.h:215
SchedOptMixin::m_startoffsetSpin
MythUISpinBox * m_startoffsetSpin
Definition: scheduleeditor.h:45
ScheduleEditor::ShowSchedOpt
void ShowSchedOpt(void)
Definition: scheduleeditor.cpp:426
StoreOptEditor::~StoreOptEditor
~StoreOptEditor() override=default
SchedOptMixin::DupMethodChanged
void DupMethodChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:2197
SchedFilterEditor
Select schedule filters.
Definition: scheduleeditor.h:299
StoreOptMixin::CreateRecordingGroup
static int CreateRecordingGroup(const QString &groupName)
Definition: scheduleeditor.cpp:2646
MetadataOptions::m_onlineCoverartButton
MythUIButton * m_onlineCoverartButton
Definition: scheduleeditor.h:426
SchedEditChild::CreateEditChild
virtual bool CreateEditChild(const QString &xmlfile, const QString &winname, bool isTemplate)
Definition: scheduleeditor.cpp:921
ArtworkInfo
Definition: metadataimagehelper.h:21
PostProcMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2840
MetadataOptions::m_artworkMap
ArtworkMap m_artworkMap
Definition: scheduleeditor.h:429
MetadataOptions::m_seasonSpin
MythUISpinBox * m_seasonSpin
Definition: scheduleeditor.h:417
ScheduleEditor::ruleDeleted
void ruleDeleted(int ruleId)
ScheduleEditor::kStoreOptView
@ kStoreOptView
Definition: scheduleeditor.h:237
ScheduleEditor::m_schedInfoButton
MythUIButton * m_schedInfoButton
Definition: scheduleeditor.h:223
MetadataOptions::m_localBannerButton
MythUIButton * m_localBannerButton
Definition: scheduleeditor.h:424
StoreOptEditor::StoreOptEditor
StoreOptEditor(MythScreenStack *parent, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:1101
ScheduleEditor::showMenu
void showMenu(void)
Definition: scheduleeditor.cpp:798
ScheduleEditor::m_previewButton
MythUIButton * m_previewButton
Definition: scheduleeditor.h:224
FilterOptMixin::m_filtersList
MythUIButtonList * m_filtersList
Definition: scheduleeditor.h:136
StoreOptMixin::MaxEpisodesChanged
void MaxEpisodesChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:2588
PostProcEditor
Select post-processing options.
Definition: scheduleeditor.h:337
ScheduleEditor::m_metadataButton
MythUIButton * m_metadataButton
Definition: scheduleeditor.h:225
StoreOptMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2528
MythUIButton
A single button widget.
Definition: mythuibutton.h:21
StoreOptMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2561
ScheduleCommon
Definition: schedulecommon.h:15
MetadataOptions::m_imageLookup
MetadataDownload * m_imageLookup
Definition: scheduleeditor.h:405
ScheduleEditor::m_player
TV * m_player
Definition: scheduleeditor.h:228
MetadataOptions::GetSupportedImageExtensionFilter
static QStringList GetSupportedImageExtensionFilter()
Definition: scheduleeditor.cpp:1543
ScheduleEditor::RunScheduleEditor
static void * RunScheduleEditor(ProgramInfo *proginfo, void *player=nullptr)
Callback.
Definition: scheduleeditor.cpp:66
ScheduleEditor::m_loaded
bool m_loaded
Definition: scheduleeditor.h:230
ScheduleEditor::kMetadataView
@ kMetadataView
Definition: scheduleeditor.h:239
MetadataOptions::m_onlineFanartButton
MythUIButton * m_onlineFanartButton
Definition: scheduleeditor.h:425
ScheduleEditor::PromptForRecGroup
void PromptForRecGroup(void)
Definition: scheduleeditor.cpp:386
PostProcMixin::TranscodeChanged
void TranscodeChanged(bool enable)
Definition: scheduleeditor.cpp:2867
PostProcMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2816
MythUIBusyDialog
Definition: mythprogressdialog.h:36
MetadataOptions::SelectOnlineBanner
void SelectOnlineBanner()
Definition: scheduleeditor.cpp:1478
SchedEditChild::Close
void Close(void) override
Definition: scheduleeditor.cpp:960
SchedEditChild::m_saveButton
MythUIButton * m_saveButton
Definition: scheduleeditor.h:275
SchedEditChild::Load
void Load(void) override=0
ScheduleEditor::templateLoaded
void templateLoaded(void)
FilterOptMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:2216
PostProcMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:2716
MetadataOptions
Select artwork and inetref for recordings.
Definition: scheduleeditor.h:355
PostProcMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:100
SchedEditChild::m_previewButton
MythUIButton * m_previewButton
Definition: scheduleeditor.h:276
FilterOptMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:140
ScheduleEditor::m_recInfo
RecordingInfo * m_recInfo
Definition: scheduleeditor.h:210
MythUICheckBox
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
Definition: mythuicheckbox.h:15
ScheduleEditor::m_cancelButton
MythUIButton * m_cancelButton
Definition: scheduleeditor.h:216
StoreOptMixin::m_maxepSpin
MythUISpinBox * m_maxepSpin
Definition: scheduleeditor.h:83
MetadataFactory
Definition: metadatafactory.h:85
SchedEditChild::m_backButton
MythUIButton * m_backButton
Definition: scheduleeditor.h:274
MetadataOptions::SelectLocalFanart
void SelectLocalFanart()
Definition: scheduleeditor.cpp:1435
StoreOptMixin
Mixin for storage options.
Definition: scheduleeditor.h:62
MetadataOptions::Create
bool Create(void) override
Definition: scheduleeditor.cpp:1281
SchedOptMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2163
StoreOptEditor::PromptForRecGroup
void PromptForRecGroup(void)
Definition: scheduleeditor.cpp:1153
SchedFilterEditor::SchedFilterEditor
SchedFilterEditor(MythScreenStack *parent, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:1041
MetadataOptions::m_localCoverartButton
MythUIButton * m_localCoverartButton
Definition: scheduleeditor.h:423
ScheduleEditor::ShowNextView
void ShowNextView(void)
Definition: scheduleeditor.cpp:763
PostProcMixin::PostProcMixin
PostProcMixin(MythScreenType &screen, RecordingRule *rule, PostProcMixin *other=nullptr)
Definition: scheduleeditor.h:97
ScheduleEditor::m_storeOptButton
MythUIButton * m_storeOptButton
Definition: scheduleeditor.h:221
ScheduleEditor::LoadTemplate
void LoadTemplate(const QString &name)
Definition: scheduleeditor.cpp:335
recordinginfo.h
StoreOptEditor::Load
void Load(void) override
Definition: scheduleeditor.cpp:1142
StoreOptMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:88
ProgramInfo
Holds information on recordings and videos.
Definition: programinfo.h:67
MythUIText
All purpose text widget, displays a text string.
Definition: mythuitext.h:30
MetadataOptions::SelectLocalCoverart
void SelectLocalCoverart()
Definition: scheduleeditor.cpp:1446
StoreOptEditor::Save
void Save(void) override
Definition: scheduleeditor.cpp:1175
SchedOptMixin::m_loaded
bool m_loaded
Definition: scheduleeditor.h:58
ScheduleEditor::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: scheduleeditor.cpp:528
SchedOptMixin::m_other
SchedOptMixin * m_other
Definition: scheduleeditor.h:57
MetadataOptions::ValuesChanged
void ValuesChanged()
Definition: scheduleeditor.cpp:1682
FilterOptMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2314
SchedOptMixin::m_dupscopeList
MythUIButtonList * m_dupscopeList
Definition: scheduleeditor.h:48
MetadataOptions::OnSearchListSelection
void OnSearchListSelection(const RefCountHandler< MetadataLookup > &lookup)
Definition: scheduleeditor.cpp:1404
FilterOptMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:2231
StoreOptMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:2383
SchedOptMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:1929
SchedOptMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:1977
StoreOptMixin::PromptForRecGroup
void PromptForRecGroup(void)
Definition: scheduleeditor.cpp:2599
ScheduleEditor::ShowFilters
void ShowFilters(void)
Definition: scheduleeditor.cpp:718
SchedEditChild::m_editor
ScheduleEditor * m_editor
Definition: scheduleeditor.h:270
SchedOptMixin::m_ruleactiveCheck
MythUICheckBox * m_ruleactiveCheck
Definition: scheduleeditor.h:51
mythcontext.h
ScheduleEditor::Q_DISABLE_COPY
Q_DISABLE_COPY(ScheduleEditor)
metadatafactory.h
PostProcMixin::m_userjob4Check
MythUICheckBox * m_userjob4Check
Definition: scheduleeditor.h:113
SchedOptEditor::SchedOptEditor
SchedOptEditor(MythScreenStack *parent, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:974
SchedOptMixin::m_dupmethodList
MythUIButtonList * m_dupmethodList
Definition: scheduleeditor.h:47
MythUISpinBox
A widget for offering a range of numerical values where only the the bounding values and interval are...
Definition: mythuispinbox.h:16
PostProcMixin::m_other
PostProcMixin * m_other
Definition: scheduleeditor.h:119
ScheduleEditor::m_sendSig
bool m_sendSig
Definition: scheduleeditor.h:213
SchedOptEditor
Select schedule options.
Definition: scheduleeditor.h:279
PostProcEditor::Save
void Save(void) override
Definition: scheduleeditor.cpp:1236
SchedFilterEditor::Save
void Save(void) override
Definition: scheduleeditor.cpp:1084
SchedOptMixin
Mixin for schedule options.
Definition: scheduleeditor.h:32
SchedOptMixin::m_inputList
MythUIButtonList * m_inputList
Definition: scheduleeditor.h:50
StoreOptMixin::m_other
StoreOptMixin * m_other
Definition: scheduleeditor.h:90
ArtworkMap
QMultiMap< VideoArtworkType, ArtworkInfo > ArtworkMap
Definition: metadataimagehelper.h:31
MetadataOptions::m_localFanartButton
MythUIButton * m_localFanartButton
Definition: scheduleeditor.h:422
StoreOptEditor
Select storage options.
Definition: scheduleeditor.h:317
StoreOptMixin::StoreOptMixin
StoreOptMixin(MythScreenType &screen, RecordingRule *rule, StoreOptMixin *other=nullptr)
Definition: scheduleeditor.h:65
StoreOptMixin::m_recprofileList
MythUIButtonList * m_recprofileList
Definition: scheduleeditor.h:79
MetadataOptions::FindNetArt
void FindNetArt(VideoArtworkType type)
Definition: scheduleeditor.cpp:1608
StoreOptMixin::SetRecGroup
void SetRecGroup(int recgroupID, QString recgroup)
Definition: scheduleeditor.cpp:2621
ScheduleEditor::showUpcomingByTitle
void showUpcomingByTitle(void)
Definition: scheduleeditor.cpp:640
StoreOptMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:68
MetadataOptions::m_busyPopup
MythUIBusyDialog * m_busyPopup
Definition: scheduleeditor.h:409
MetadataOptions::m_inetrefEdit
MythUITextEdit * m_inetrefEdit
Definition: scheduleeditor.h:415
ScheduleEditor::m_filtersButton
MythUIButton * m_filtersButton
Definition: scheduleeditor.h:226
FilterOptMixin::ToggleSelected
static void ToggleSelected(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:2327
FilterOptMixin
Mixin for Filters.
Definition: scheduleeditor.h:123
ScheduleEditor::m_recordingRule
RecordingRule * m_recordingRule
Definition: scheduleeditor.h:211
recordingrule.h
PostProcMixin::m_transcodeprofileList
MythUIButtonList * m_transcodeprofileList
Definition: scheduleeditor.h:109
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition: mythuibuttonlist.h:177
SchedOptEditor::Load
void Load(void) override
Definition: scheduleeditor.cpp:1018
StoreOptEditor::Create
bool Create(void) override
Definition: scheduleeditor.cpp:1110
StoreOptMixin::m_loaded
bool m_loaded
Definition: scheduleeditor.h:91
SchedOptEditor::Save
void Save(void) override
Definition: scheduleeditor.cpp:1024
SchedOptMixin::m_endoffsetSpin
MythUISpinBox * m_endoffsetSpin
Definition: scheduleeditor.h:46
ScheduleEditor::m_postProcButton
MythUIButton * m_postProcButton
Definition: scheduleeditor.h:222
StoreOptMixin::m_storagegroupList
MythUIButtonList * m_storagegroupList
Definition: scheduleeditor.h:81
ScheduleEditor
Construct a recording schedule.
Definition: scheduleeditor.h:148
ScheduleEditor::showUpcomingByRule
void showUpcomingByRule(void)
Definition: scheduleeditor.cpp:618
PostProcEditor::Create
bool Create(void) override
Definition: scheduleeditor.cpp:1196
ScheduleEditor::m_child
SchedEditChild * m_child
Definition: scheduleeditor.h:243
MythUIStateType
This widget is used for grouping other widgets for display when a particular named state is called....
Definition: mythuistatetype.h:22
mythscreentype.h
FilterOptMixin::m_rule
RecordingRule * m_rule
Definition: scheduleeditor.h:141
SchedOptMixin::m_autoExtendList
MythUIButtonList * m_autoExtendList
Definition: scheduleeditor.h:49
ScheduleEditor::kPostProcView
@ kPostProcView
Definition: scheduleeditor.h:238
MetadataOptions::OnArtworkSearchDone
void OnArtworkSearchDone(MetadataLookup *lookup)
Definition: scheduleeditor.cpp:1623
SchedFilterEditor::Load
void Load(void) override
Definition: scheduleeditor.cpp:1078
PostProcMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:2673
ScheduleEditor::TranscodeChanged
void TranscodeChanged(bool enable)
Definition: scheduleeditor.cpp:391
TV
Control TV playback.
Definition: tv_play.h:154
ScheduleEditor::kFilterView
@ kFilterView
Definition: scheduleeditor.h:236