MythTV  master
scheduleeditor.h
Go to the documentation of this file.
1 #ifndef SCHEDULERECORDING_H_
2 #define SCHEDULERECORDING_H_
3 
4 // MythTV
5 #include "libmythbase/mythdb.h"
10 
11 // MythFrontend
12 #include "schedulecommon.h"
13 
14 class ProgramInfo;
15 class MythUIText;
16 class MythUIButton;
17 class MythUIButtonList;
19 class MythUIStateType;
20 class MythUISpinBox;
21 class TV;
22 
23 class ScheduleEditor;
24 class SchedEditChild;
25 
27 {
28  protected:
30  SchedOptMixin *other = nullptr);
31  void SetRule(RecordingRule *rule) { m_rule = rule; };
32  void Create(bool *err);
33  void Load(void);
34  void Save(void);
35  void RuleChanged(void);
37 
47 
48  private:
50  RecordingRule *m_rule {nullptr};
51  SchedOptMixin *m_other {nullptr};
52  bool m_loaded {false};
53  bool m_haveRepeats {false};
54 };
55 
57 {
58  protected:
60  StoreOptMixin *other = nullptr)
61  : m_screen(&screen), m_rule(rule), m_other(other) {}
62  void SetRule(RecordingRule *rule) { m_rule = rule; };
63  void Create(bool *err);
64  void Load(void);
65  void Save(void);
66  void RuleChanged(void);
68  void PromptForRecGroup(void);
69  void SetRecGroup(int recgroupID, QString recgroup);
70 
71  static int CreateRecordingGroup(const QString &groupName);
72 
80 
81  private:
83  RecordingRule *m_rule {nullptr};
84  StoreOptMixin *m_other {nullptr};
85  bool m_loaded {false};
86 };
87 
89 {
90  protected:
92  PostProcMixin *other= nullptr)
93  : m_screen(&screen), m_rule(rule), m_other(other) {}
94  void SetRule(RecordingRule *rule) { m_rule = rule; };
95  void Create(bool *err);
96  void Load(void);
97  void Save(void);
98  void RuleChanged(void);
99  void TranscodeChanged(bool enable);
100 
109 
110  private:
112  RecordingRule *m_rule {nullptr};
113  PostProcMixin *m_other {nullptr};
114  bool m_loaded {false};
115 };
116 
118 {
119  protected:
121  FilterOptMixin *other = nullptr)
122  : m_screen(&screen), m_rule(rule), m_other(other) {}
123  void SetRule(RecordingRule *rule) { m_rule = rule; };
124  void Create(bool *err);
125  void Load(void);
126  void Save(void);
127  void RuleChanged(void);
128  static void ToggleSelected(MythUIButtonListItem *item);
129 
132 
133  private:
135  RecordingRule *m_rule {nullptr};
137  bool m_loaded {false};
138 
139  QStringList m_descriptions;
140 };
141 
143  public SchedOptMixin, public FilterOptMixin,
144  public StoreOptMixin, public PostProcMixin
145 {
146  friend class SchedEditChild;
147  Q_OBJECT
148  public:
149  ScheduleEditor(MythScreenStack *parent, RecordingInfo* recinfo,
150  TV *player = nullptr);
151  ScheduleEditor(MythScreenStack *parent, RecordingRule* recrule,
152  TV *player = nullptr);
153  ~ScheduleEditor() override;
154 
155  bool Create(void) override; // MythScreenType
156  bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
157  void customEvent(QEvent *event) override; // ScheduleCommon
158 
159  void showMenu(void);
160  void showUpcomingByRule(void);
161  void showUpcomingByTitle(void);
162 
164  static void *RunScheduleEditor(ProgramInfo *proginfo, void *player = nullptr);
165 
166  signals:
167  void ruleSaved(int ruleId);
168  void ruleDeleted(int ruleId);
169  void templateLoaded(void);
170 
171  public slots:
172  void ShowSchedOpt(void);
173  void ShowFilters(void);
174  void ShowStoreOpt(void);
175  void ShowPostProc(void);
176  void ShowMetadataOptions(void);
177  void ShowPreviousView(void);
178  void ShowNextView(void);
179  void ShowPreview(void);
180  void Save(void);
181 
182  protected slots:
183  void RuleChanged(MythUIButtonListItem *item);
185  static void FilterChanged(MythUIButtonListItem *item);
187  void PromptForRecGroup(void);
188  void TranscodeChanged(bool enable);
189  void ShowSchedInfo(void);
190  void ChildClosing(void);
191  void Close(void) override; // MythScreenType
192 
193  private:
195  void Load(void) override; // MythScreenType
196  void LoadTemplate(const QString& name);
197  void DeleteRule(void);
198 
199  void showTemplateMenu(void);
200 
201  ProgramInfo *GetCurrentProgram(void) const override // ScheduleCommon
202  { return m_recInfo; };
203 
206 
207  bool m_sendSig {false};
208 
211 
213 
221 
222  TV *m_player {nullptr};
223 
224  bool m_loaded {false};
225 
226  enum View : std::uint8_t
227  {
234  };
235 
238 };
239 
241 {
242  Q_OBJECT
243  protected:
244  SchedEditChild(MythScreenStack *parent, const QString &name,
245  ScheduleEditor &editor, RecordingRule &rule,
246  RecordingInfo *recinfo);
247  ~SchedEditChild() override = default;
248 
249  bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
250  virtual bool CreateEditChild(
251  const QString &xmlfile, const QString &winname, bool isTemplate);
252 
253  signals:
254  void Closing(void);
255 
256  public slots:
257  void Close(void) override; // MythScreenType
258  void Load(void) override = 0; // MythScreenType
259  virtual void Save(void) = 0;
260 
261  protected:
262  void SetTextFromMaps(void);
263 
267 
271 };
272 
274 {
275  Q_OBJECT
276  public:
278  RecordingRule &rule, RecordingInfo *recinfo);
279  ~SchedOptEditor() override = default;
280 
281  bool Create(void) override; // MythScreenType
282 
283  protected slots:
285 
286  private:
287  void Load(void) override; // SchedEditChild
288  void Save(void) override; // SchedEditChild
289 
291 };
292 
294 {
295  Q_OBJECT
296  public:
298  RecordingRule &rule, RecordingInfo *recinfo);
299  ~SchedFilterEditor() override = default;
300 
301  bool Create(void) override; // MythScreenType
302 
303  protected slots:
304  static void ToggleSelected(MythUIButtonListItem *item);
305 
306  private:
307  void Load(void) override; // SchedEditChild
308  void Save(void) override; // SchedEditChild
309 };
310 
312 {
313  Q_OBJECT
314  public:
316  RecordingRule &rule, RecordingInfo *recinfo);
317  ~StoreOptEditor() override = default;
318 
319  bool Create(void) override; // MythScreenType
320  void customEvent(QEvent *event) override; // MythUIType
321 
322  protected slots:
324  void PromptForRecGroup(void);
325 
326  private:
327  void Load(void) override; // SchedEditChild
328  void Save(void) override; // SchedEditChild
329 };
330 
332 {
333  Q_OBJECT
334  public:
336  RecordingRule &rule, RecordingInfo *recinfo);
337  ~PostProcEditor() override = default;
338 
339  bool Create(void) override; // MythScreenType
340 
341  protected slots:
342  void TranscodeChanged(bool enable);
343 
344  private:
345  void Load(void) override; // SchedEditChild
346  void Save(void) override; // SchedEditChild
347 };
348 
350 {
351  Q_OBJECT
352  public:
354  RecordingRule &rule, RecordingInfo *recinfo);
355  ~MetadataOptions() override;
356 
357  bool Create(void) override; // MythScreenType
358 
359  protected slots:
360  void ClearInetref();
361  void PerformQuery();
362  void SelectLocalFanart();
363  void SelectLocalCoverart();
364  void SelectLocalBanner();
365  void SelectOnlineFanart();
366  void SelectOnlineCoverart();
367  void SelectOnlineBanner();
368  void QueryComplete(MetadataLookup *lookup);
372  void OnArtworkSearchDone(MetadataLookup *lookup);
374 
375  void ValuesChanged();
376 
377  private:
378  void Load(void) override; // SchedEditChild
379  void Save(void) override; // SchedEditChild
380 
381  void CreateBusyDialog(const QString& title);
382  static void FindImagePopup(const QString &prefix,
383  const QString &prefixAlt,
384  QObject &inst,
385  const QString &returnEvent);
386  static QStringList GetSupportedImageExtensionFilter();
387 
390 
391  bool CanSetArtwork(void);
392 
393  void customEvent(QEvent *event) override; // MythUIType
394 
395  // For all metadata downloads
397 
398  // For image picking
401 
404 
405  MythUIImage *m_fanart {nullptr};
407  MythUIImage *m_banner {nullptr};
408 
410 
413 
422 
424 };
425 
426 #endif
MetadataOptions::~MetadataOptions
~MetadataOptions() override
Definition: scheduleeditor.cpp:1257
ScheduleEditor::m_view
int m_view
Definition: scheduleeditor.h:236
FilterOptMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:123
PostProcMixin::m_loaded
bool m_loaded
Definition: scheduleeditor.h:114
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:235
MetadataOptions::CanSetArtwork
bool CanSetArtwork(void)
Definition: scheduleeditor.cpp:1561
SchedOptEditor::Create
bool Create(void) override
Definition: scheduleeditor.cpp:978
MetadataOptions::m_queryButton
MythUIButton * m_queryButton
Definition: scheduleeditor.h:415
MetadataOptions::OnImageSearchListSelection
void OnImageSearchListSelection(const ArtworkInfo &info, VideoArtworkType type)
Definition: scheduleeditor.cpp:1412
PostProcMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:111
MetadataOptions::FindImagePopup
static void FindImagePopup(const QString &prefix, const QString &prefixAlt, QObject &inst, const QString &returnEvent)
Definition: scheduleeditor.cpp:1520
RefCountHandler
Definition: referencecounterlist.h:17
SchedOptMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:31
ScheduleEditor::Close
void Close(void) override
Definition: scheduleeditor.cpp:223
MythUIImage
Image widget, displays a single image or multiple images in sequence.
Definition: mythuiimage.h:97
FilterOptMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2310
MetadataOptions::m_imageDownload
MetadataImageDownload * m_imageDownload
Definition: scheduleeditor.h:400
MetadataOptions::SelectOnlineFanart
void SelectOnlineFanart()
Definition: scheduleeditor.cpp:1471
MetadataImageDownload
Definition: metadataimagedownload.h:87
PostProcMixin::m_transcodeCheck
MythUICheckBox * m_transcodeCheck
Definition: scheduleeditor.h:102
SchedOptMixin::m_newrepeatList
MythUIButtonList * m_newrepeatList
Definition: scheduleeditor.h:46
MetadataOptions::CreateLookup
MetadataLookup * CreateLookup(MetadataType mtype)
Definition: scheduleeditor.cpp:1575
ScheduleEditor::customEvent
void customEvent(QEvent *event) override
Definition: scheduleeditor.cpp:559
mythdb.h
SchedOptEditor::DupMethodChanged
void DupMethodChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:1024
MetadataOptions::ClearInetref
void ClearInetref()
Definition: scheduleeditor.cpp:1390
ScheduleEditor::kMetadataView
@ kMetadataView
Definition: scheduleeditor.h:233
ScheduleEditor::kFilterView
@ kFilterView
Definition: scheduleeditor.h:230
MetadataOptions::customEvent
void customEvent(QEvent *event) override
Definition: scheduleeditor.cpp:1711
SchedEditChild::SetTextFromMaps
void SetTextFromMaps(void)
Definition: scheduleeditor.cpp:943
PostProcMixin::m_userjob3Check
MythUICheckBox * m_userjob3Check
Definition: scheduleeditor.h:106
SchedOptMixin::SchedOptMixin
SchedOptMixin(MythScreenType &screen, RecordingRule *rule, SchedOptMixin *other=nullptr)
Definition: scheduleeditor.cpp:1927
StoreOptEditor::MaxEpisodesChanged
void MaxEpisodesChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:1143
MetadataOptions::QueryComplete
void QueryComplete(MetadataLookup *lookup)
Definition: scheduleeditor.cpp:1501
PostProcEditor::~PostProcEditor
~PostProcEditor() override=default
FilterOptMixin::m_activeFiltersList
MythUIButtonList * m_activeFiltersList
Definition: scheduleeditor.h:131
ScheduleEditor::Create
bool Create(void) override
Definition: scheduleeditor.cpp:125
StoreOptMixin::m_rule
RecordingRule * m_rule
Definition: scheduleeditor.h:83
PostProcMixin::m_metadataLookupCheck
MythUICheckBox * m_metadataLookupCheck
Definition: scheduleeditor.h:108
ScheduleEditor::MaxEpisodesChanged
void MaxEpisodesChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:374
PostProcMixin::m_userjob2Check
MythUICheckBox * m_userjob2Check
Definition: scheduleeditor.h:105
MetadataOptions::m_metadataFactory
MetadataFactory * m_metadataFactory
Definition: scheduleeditor.h:396
MetadataOptions::SelectLocalBanner
void SelectLocalBanner()
Definition: scheduleeditor.cpp:1460
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:1045
StoreOptEditor::customEvent
void customEvent(QEvent *event) override
Definition: scheduleeditor.cpp:1153
ScheduleEditor::Save
void Save(void)
Definition: scheduleeditor.cpp:389
ScheduleEditor::ScheduleEditor
ScheduleEditor(MythScreenStack *parent, RecordingInfo *recinfo, TV *player=nullptr)
Definition: scheduleeditor.cpp:80
ScheduleEditor::~ScheduleEditor
~ScheduleEditor() override
Definition: scheduleeditor.cpp:113
ScheduleEditor::DupMethodChanged
void DupMethodChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:364
SchedEditChild::~SchedEditChild
~SchedEditChild() override=default
SchedEditChild::SchedEditChild
SchedEditChild(MythScreenStack *parent, const QString &name, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:872
MetadataOptions::m_inetrefClear
MythUIButton * m_inetrefClear
Definition: scheduleeditor.h:414
SchedOptEditor::m_filtersButton
MythUIButton * m_filtersButton
Definition: scheduleeditor.h:290
ScheduleEditor::showTemplateMenu
void showTemplateMenu(void)
Definition: scheduleeditor.cpp:833
SchedOptMixin::m_prioritySpin
MythUISpinBox * m_prioritySpin
Definition: scheduleeditor.h:38
MythScreenStack
Definition: mythscreenstack.h:16
SchedOptEditor::~SchedOptEditor
~SchedOptEditor() override=default
MetadataOptions::m_episodeSpin
MythUISpinBox * m_episodeSpin
Definition: scheduleeditor.h:412
ScheduleEditor::GetCurrentProgram
ProgramInfo * GetCurrentProgram(void) const override
Definition: scheduleeditor.h:201
ScheduleEditor::ShowPreviousView
void ShowPreviousView(void)
Definition: scheduleeditor.cpp:738
SchedEditChild::m_recordingRule
RecordingRule * m_recordingRule
Definition: scheduleeditor.h:265
StoreOptMixin::m_autoexpireCheck
MythUICheckBox * m_autoexpireCheck
Definition: scheduleeditor.h:79
RecordingRule
Internal representation of a recording rule, mirrors the record table.
Definition: recordingrule.h:28
PostProcEditor::TranscodeChanged
void TranscodeChanged(bool enable)
Definition: scheduleeditor.cpp:1226
MythUITextEdit
A text entry and edit widget.
Definition: mythuitextedit.h:34
MetadataOptions::m_fanart
MythUIImage * m_fanart
Definition: scheduleeditor.h:405
StoreOptMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:2357
MetadataDownload
Definition: metadatadownload.h:35
ScheduleEditor::ShowPostProc
void ShowPostProc(void)
Definition: scheduleeditor.cpp:469
PostProcMixin::m_userjob1Check
MythUICheckBox * m_userjob1Check
Definition: scheduleeditor.h:104
PostProcMixin::m_commflagCheck
MythUICheckBox * m_commflagCheck
Definition: scheduleeditor.h:101
PostProcEditor::Load
void Load(void) override
Definition: scheduleeditor.cpp:1220
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:45
SchedOptMixin::m_rule
RecordingRule * m_rule
Definition: scheduleeditor.h:50
SchedEditChild
Definition: scheduleeditor.h:240
SchedFilterEditor::ToggleSelected
static void ToggleSelected(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:1084
ScheduleEditor::ruleSaved
void ruleSaved(int ruleId)
MetadataOptions::m_coverart
MythUIImage * m_coverart
Definition: scheduleeditor.h:406
MetadataOptions::MetadataOptions
MetadataOptions(MythScreenStack *parent, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:1243
MetadataOptions::Load
void Load(void) override
Definition: scheduleeditor.cpp:1371
StoreOptMixin::m_recgroupList
MythUIButtonList * m_recgroupList
Definition: scheduleeditor.h:74
schedulecommon.h
ScheduleEditor::DeleteRule
void DeleteRule(void)
Definition: scheduleeditor.cpp:414
StoreOptMixin::m_playgroupList
MythUIButtonList * m_playgroupList
Definition: scheduleeditor.h:76
StoreOptMixin::m_maxbehaviourList
MythUIButtonList * m_maxbehaviourList
Definition: scheduleeditor.h:78
MetadataOptions::HandleDownloadedImages
void HandleDownloadedImages(MetadataLookup *lookup)
Definition: scheduleeditor.cpp:1658
ScheduleEditor::m_rulesList
MythUIButtonList * m_rulesList
Definition: scheduleeditor.h:212
hardwareprofile.distros.mythtv_data.data_mythtv.prefix
string prefix
Definition: data_mythtv.py:37
ScheduleEditor::ChildClosing
void ChildClosing(void)
Definition: scheduleeditor.cpp:778
VideoArtworkType
VideoArtworkType
Definition: metadataimagehelper.h:10
ScheduleEditor::ShowStoreOpt
void ShowStoreOpt(void)
Definition: scheduleeditor.cpp:444
MetadataOptions::Save
void Save(void) override
Definition: scheduleeditor.cpp:1486
ScheduleEditor::ShowMetadataOptions
void ShowMetadataOptions(void)
Definition: scheduleeditor.cpp:689
PostProcMixin
Mixin for post processing.
Definition: scheduleeditor.h:88
PostProcMixin::m_rule
RecordingRule * m_rule
Definition: scheduleeditor.h:112
MetadataLookup
Definition: metadatacommon.h:87
PostProcEditor::PostProcEditor
PostProcEditor(MythScreenStack *parent, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:1182
MetadataOptions::m_banner
MythUIImage * m_banner
Definition: scheduleeditor.h:407
ScheduleEditor::ShowSchedInfo
void ShowSchedInfo(void)
Definition: scheduleeditor.cpp:494
FilterOptMixin::FilterOptMixin
FilterOptMixin(MythScreenType &screen, RecordingRule *rule, FilterOptMixin *other=nullptr)
Definition: scheduleeditor.h:120
SchedFilterEditor::~SchedFilterEditor
~SchedFilterEditor() override=default
FilterOptMixin::m_other
FilterOptMixin * m_other
Definition: scheduleeditor.h:136
MetadataOptions::PerformQuery
void PerformQuery()
Definition: scheduleeditor.cpp:1396
SchedEditChild::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: scheduleeditor.cpp:880
ScheduleEditor::View
View
Definition: scheduleeditor.h:226
MythUIButtonListItem
Definition: mythuibuttonlist.h:41
MetadataOptions::CreateBusyDialog
void CreateBusyDialog(const QString &title)
Definition: scheduleeditor.cpp:1376
SchedEditChild::m_recInfo
RecordingInfo * m_recInfo
Definition: scheduleeditor.h:266
SchedOptMixin::m_haveRepeats
bool m_haveRepeats
Definition: scheduleeditor.h:53
MetadataOptions::m_popupStack
MythScreenStack * m_popupStack
Definition: scheduleeditor.h:402
FilterOptMixin::m_loaded
bool m_loaded
Definition: scheduleeditor.h:137
FilterOptMixin::m_descriptions
QStringList m_descriptions
Definition: scheduleeditor.h:139
ScheduleEditor::ShowPreview
void ShowPreview(void)
Definition: scheduleeditor.cpp:653
SchedOptMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:49
MetadataOptions::m_onlineBannerButton
MythUIButton * m_onlineBannerButton
Definition: scheduleeditor.h:421
ScheduleEditor::m_schedOptButton
MythUIButton * m_schedOptButton
Definition: scheduleeditor.h:214
ScheduleEditor::FilterChanged
static void FilterChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:369
MetadataOptions::SelectOnlineCoverart
void SelectOnlineCoverart()
Definition: scheduleeditor.cpp:1476
SchedOptMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2136
SchedEditChild::Closing
void Closing(void)
ScheduleEditor::m_saveButton
MythUIButton * m_saveButton
Definition: scheduleeditor.h:209
SchedOptMixin::m_startoffsetSpin
MythUISpinBox * m_startoffsetSpin
Definition: scheduleeditor.h:39
ScheduleEditor::kPostProcView
@ kPostProcView
Definition: scheduleeditor.h:232
ScheduleEditor::ShowSchedOpt
void ShowSchedOpt(void)
Definition: scheduleeditor.cpp:419
StoreOptEditor::~StoreOptEditor
~StoreOptEditor() override=default
SchedOptMixin::DupMethodChanged
void DupMethodChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:2212
SchedFilterEditor
Select schedule filters.
Definition: scheduleeditor.h:293
StoreOptMixin::CreateRecordingGroup
static int CreateRecordingGroup(const QString &groupName)
Definition: scheduleeditor.cpp:2661
MetadataOptions::m_onlineCoverartButton
MythUIButton * m_onlineCoverartButton
Definition: scheduleeditor.h:420
SchedEditChild::CreateEditChild
virtual bool CreateEditChild(const QString &xmlfile, const QString &winname, bool isTemplate)
Definition: scheduleeditor.cpp:916
ArtworkInfo
Definition: metadataimagehelper.h:21
PostProcMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2855
MetadataOptions::m_artworkMap
ArtworkMap m_artworkMap
Definition: scheduleeditor.h:423
MetadataOptions::m_seasonSpin
MythUISpinBox * m_seasonSpin
Definition: scheduleeditor.h:411
ScheduleEditor::ruleDeleted
void ruleDeleted(int ruleId)
ScheduleEditor::m_schedInfoButton
MythUIButton * m_schedInfoButton
Definition: scheduleeditor.h:217
MetadataOptions::m_localBannerButton
MythUIButton * m_localBannerButton
Definition: scheduleeditor.h:418
StoreOptEditor::StoreOptEditor
StoreOptEditor(MythScreenStack *parent, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:1096
ScheduleEditor::showMenu
void showMenu(void)
Definition: scheduleeditor.cpp:793
ScheduleEditor::m_previewButton
MythUIButton * m_previewButton
Definition: scheduleeditor.h:218
FilterOptMixin::m_filtersList
MythUIButtonList * m_filtersList
Definition: scheduleeditor.h:130
StoreOptMixin::MaxEpisodesChanged
void MaxEpisodesChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:2603
PostProcEditor
Select post-processing options.
Definition: scheduleeditor.h:331
ScheduleEditor::m_metadataButton
MythUIButton * m_metadataButton
Definition: scheduleeditor.h:219
StoreOptMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2543
MythUIButton
A single button widget.
Definition: mythuibutton.h:21
StoreOptMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2576
ScheduleCommon
Definition: schedulecommon.h:16
MetadataOptions::m_imageLookup
MetadataDownload * m_imageLookup
Definition: scheduleeditor.h:399
ScheduleEditor::m_player
TV * m_player
Definition: scheduleeditor.h:222
MetadataOptions::GetSupportedImageExtensionFilter
static QStringList GetSupportedImageExtensionFilter()
Definition: scheduleeditor.cpp:1548
MetadataType
MetadataType
Definition: metadatacommon.h:42
ScheduleEditor::RunScheduleEditor
static void * RunScheduleEditor(ProgramInfo *proginfo, void *player=nullptr)
Callback.
Definition: scheduleeditor.cpp:59
ScheduleEditor::m_loaded
bool m_loaded
Definition: scheduleeditor.h:224
MetadataOptions::m_onlineFanartButton
MythUIButton * m_onlineFanartButton
Definition: scheduleeditor.h:419
ScheduleEditor::PromptForRecGroup
void PromptForRecGroup(void)
Definition: scheduleeditor.cpp:379
PostProcMixin::TranscodeChanged
void TranscodeChanged(bool enable)
Definition: scheduleeditor.cpp:2882
PostProcMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2831
MythUIBusyDialog
Definition: mythprogressdialog.h:36
MetadataOptions::SelectOnlineBanner
void SelectOnlineBanner()
Definition: scheduleeditor.cpp:1481
SchedEditChild::Close
void Close(void) override
Definition: scheduleeditor.cpp:955
SchedEditChild::m_saveButton
MythUIButton * m_saveButton
Definition: scheduleeditor.h:269
SchedEditChild::Load
void Load(void) override=0
ScheduleEditor::templateLoaded
void templateLoaded(void)
FilterOptMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:2231
PostProcMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:2731
MetadataOptions
Select artwork and inetref for recordings.
Definition: scheduleeditor.h:349
PostProcMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:94
SchedEditChild::m_previewButton
MythUIButton * m_previewButton
Definition: scheduleeditor.h:270
FilterOptMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:134
ScheduleEditor::m_recInfo
RecordingInfo * m_recInfo
Definition: scheduleeditor.h:204
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:210
StoreOptMixin::m_maxepSpin
MythUISpinBox * m_maxepSpin
Definition: scheduleeditor.h:77
MetadataFactory
Definition: metadatafactory.h:85
SchedEditChild::m_backButton
MythUIButton * m_backButton
Definition: scheduleeditor.h:268
MetadataOptions::SelectLocalFanart
void SelectLocalFanart()
Definition: scheduleeditor.cpp:1438
StoreOptMixin
Mixin for storage options.
Definition: scheduleeditor.h:56
MetadataOptions::Create
bool Create(void) override
Definition: scheduleeditor.cpp:1274
SchedOptMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2175
StoreOptEditor::PromptForRecGroup
void PromptForRecGroup(void)
Definition: scheduleeditor.cpp:1148
SchedFilterEditor::SchedFilterEditor
SchedFilterEditor(MythScreenStack *parent, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:1036
MetadataOptions::m_localCoverartButton
MythUIButton * m_localCoverartButton
Definition: scheduleeditor.h:417
ScheduleEditor::ShowNextView
void ShowNextView(void)
Definition: scheduleeditor.cpp:758
PostProcMixin::PostProcMixin
PostProcMixin(MythScreenType &screen, RecordingRule *rule, PostProcMixin *other=nullptr)
Definition: scheduleeditor.h:91
ScheduleEditor::m_storeOptButton
MythUIButton * m_storeOptButton
Definition: scheduleeditor.h:215
ScheduleEditor::kStoreOptView
@ kStoreOptView
Definition: scheduleeditor.h:231
ScheduleEditor::LoadTemplate
void LoadTemplate(const QString &name)
Definition: scheduleeditor.cpp:328
recordinginfo.h
StoreOptEditor::Load
void Load(void) override
Definition: scheduleeditor.cpp:1137
StoreOptMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:82
ProgramInfo
Holds information on recordings and videos.
Definition: programinfo.h:67
MythUIText
All purpose text widget, displays a text string.
Definition: mythuitext.h:28
MetadataOptions::SelectLocalCoverart
void SelectLocalCoverart()
Definition: scheduleeditor.cpp:1449
StoreOptEditor::Save
void Save(void) override
Definition: scheduleeditor.cpp:1170
SchedOptMixin::m_loaded
bool m_loaded
Definition: scheduleeditor.h:52
ScheduleEditor::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: scheduleeditor.cpp:523
SchedOptMixin::m_other
SchedOptMixin * m_other
Definition: scheduleeditor.h:51
MetadataOptions::ValuesChanged
void ValuesChanged()
Definition: scheduleeditor.cpp:1687
FilterOptMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2329
SchedOptMixin::m_dupscopeList
MythUIButtonList * m_dupscopeList
Definition: scheduleeditor.h:42
MetadataOptions::OnSearchListSelection
void OnSearchListSelection(const RefCountHandler< MetadataLookup > &lookup)
Definition: scheduleeditor.cpp:1407
FilterOptMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:2246
StoreOptMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:2398
SchedOptMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:1934
SchedOptMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:1982
ScheduleEditor::kMainView
@ kMainView
Definition: scheduleeditor.h:228
StoreOptMixin::PromptForRecGroup
void PromptForRecGroup(void)
Definition: scheduleeditor.cpp:2614
ScheduleEditor::ShowFilters
void ShowFilters(void)
Definition: scheduleeditor.cpp:713
SchedEditChild::m_editor
ScheduleEditor * m_editor
Definition: scheduleeditor.h:264
ScheduleEditor::kSchedOptView
@ kSchedOptView
Definition: scheduleeditor.h:229
SchedOptMixin::m_ruleactiveCheck
MythUICheckBox * m_ruleactiveCheck
Definition: scheduleeditor.h:45
ScheduleEditor::Q_DISABLE_COPY
Q_DISABLE_COPY(ScheduleEditor)
metadatafactory.h
PostProcMixin::m_userjob4Check
MythUICheckBox * m_userjob4Check
Definition: scheduleeditor.h:107
SchedOptEditor::SchedOptEditor
SchedOptEditor(MythScreenStack *parent, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:969
SchedOptMixin::m_dupmethodList
MythUIButtonList * m_dupmethodList
Definition: scheduleeditor.h:41
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:113
ScheduleEditor::m_sendSig
bool m_sendSig
Definition: scheduleeditor.h:207
SchedOptEditor
Select schedule options.
Definition: scheduleeditor.h:273
PostProcEditor::Save
void Save(void) override
Definition: scheduleeditor.cpp:1231
SchedFilterEditor::Save
void Save(void) override
Definition: scheduleeditor.cpp:1079
SchedOptMixin
Mixin for schedule options.
Definition: scheduleeditor.h:26
SchedOptMixin::m_inputList
MythUIButtonList * m_inputList
Definition: scheduleeditor.h:44
StoreOptMixin::m_other
StoreOptMixin * m_other
Definition: scheduleeditor.h:84
ArtworkMap
QMultiMap< VideoArtworkType, ArtworkInfo > ArtworkMap
Definition: metadataimagehelper.h:31
MetadataOptions::m_localFanartButton
MythUIButton * m_localFanartButton
Definition: scheduleeditor.h:416
StoreOptEditor
Select storage options.
Definition: scheduleeditor.h:311
StoreOptMixin::StoreOptMixin
StoreOptMixin(MythScreenType &screen, RecordingRule *rule, StoreOptMixin *other=nullptr)
Definition: scheduleeditor.h:59
azlyrics.info
dictionary info
Definition: azlyrics.py:7
StoreOptMixin::m_recprofileList
MythUIButtonList * m_recprofileList
Definition: scheduleeditor.h:73
MetadataOptions::FindNetArt
void FindNetArt(VideoArtworkType type)
Definition: scheduleeditor.cpp:1613
StoreOptMixin::SetRecGroup
void SetRecGroup(int recgroupID, QString recgroup)
Definition: scheduleeditor.cpp:2636
ScheduleEditor::showUpcomingByTitle
void showUpcomingByTitle(void)
Definition: scheduleeditor.cpp:635
StoreOptMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:62
MetadataOptions::m_busyPopup
MythUIBusyDialog * m_busyPopup
Definition: scheduleeditor.h:403
MetadataOptions::m_inetrefEdit
MythUITextEdit * m_inetrefEdit
Definition: scheduleeditor.h:409
ScheduleEditor::m_filtersButton
MythUIButton * m_filtersButton
Definition: scheduleeditor.h:220
FilterOptMixin::ToggleSelected
static void ToggleSelected(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:2342
FilterOptMixin
Mixin for Filters.
Definition: scheduleeditor.h:117
ScheduleEditor::m_recordingRule
RecordingRule * m_recordingRule
Definition: scheduleeditor.h:205
recordingrule.h
PostProcMixin::m_transcodeprofileList
MythUIButtonList * m_transcodeprofileList
Definition: scheduleeditor.h:103
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition: mythuibuttonlist.h:191
SchedOptEditor::Load
void Load(void) override
Definition: scheduleeditor.cpp:1013
StoreOptEditor::Create
bool Create(void) override
Definition: scheduleeditor.cpp:1105
StoreOptMixin::m_loaded
bool m_loaded
Definition: scheduleeditor.h:85
SchedOptEditor::Save
void Save(void) override
Definition: scheduleeditor.cpp:1019
SchedOptMixin::m_endoffsetSpin
MythUISpinBox * m_endoffsetSpin
Definition: scheduleeditor.h:40
ScheduleEditor::m_postProcButton
MythUIButton * m_postProcButton
Definition: scheduleeditor.h:216
StoreOptMixin::m_storagegroupList
MythUIButtonList * m_storagegroupList
Definition: scheduleeditor.h:75
ScheduleEditor
Construct a recording schedule.
Definition: scheduleeditor.h:142
ScheduleEditor::showUpcomingByRule
void showUpcomingByRule(void)
Definition: scheduleeditor.cpp:613
PostProcEditor::Create
bool Create(void) override
Definition: scheduleeditor.cpp:1191
ScheduleEditor::m_child
SchedEditChild * m_child
Definition: scheduleeditor.h:237
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:135
SchedOptMixin::m_autoExtendList
MythUIButtonList * m_autoExtendList
Definition: scheduleeditor.h:43
MetadataOptions::OnArtworkSearchDone
void OnArtworkSearchDone(MetadataLookup *lookup)
Definition: scheduleeditor.cpp:1628
SchedFilterEditor::Load
void Load(void) override
Definition: scheduleeditor.cpp:1073
PostProcMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:2688
ScheduleEditor::TranscodeChanged
void TranscodeChanged(bool enable)
Definition: scheduleeditor.cpp:384
TV
Control TV playback.
Definition: tv_play.h:154