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 
52 
53  private:
55  RecordingRule *m_rule {nullptr};
56  SchedOptMixin *m_other {nullptr};
57  bool m_loaded {false};
58  bool m_haveRepeats {false};
59 };
60 
62 {
63  protected:
65  StoreOptMixin *other = nullptr)
66  : m_screen(&screen), m_rule(rule), m_other(other) {}
67  void SetRule(RecordingRule *rule) { m_rule = rule; };
68  void Create(bool *err);
69  void Load(void);
70  void Save(void);
71  void RuleChanged(void);
73  void PromptForRecGroup(void);
74  void SetRecGroup(int recgroupID, QString recgroup);
75 
76  static int CreateRecordingGroup(const QString &groupName);
77 
85 
86  private:
88  RecordingRule *m_rule {nullptr};
89  StoreOptMixin *m_other {nullptr};
90  bool m_loaded {false};
91 };
92 
94 {
95  protected:
97  PostProcMixin *other= nullptr)
98  : m_screen(&screen), m_rule(rule), m_other(other) {}
99  void SetRule(RecordingRule *rule) { m_rule = rule; };
100  void Create(bool *err);
101  void Load(void);
102  void Save(void);
103  void RuleChanged(void);
104  void TranscodeChanged(bool enable);
105 
114 
115  private:
117  RecordingRule *m_rule {nullptr};
118  PostProcMixin *m_other {nullptr};
119  bool m_loaded {false};
120 };
121 
123 {
124  protected:
126  FilterOptMixin *other = nullptr)
127  : m_screen(&screen), m_rule(rule), m_other(other) {}
128  void SetRule(RecordingRule *rule) { m_rule = rule; };
129  void Create(bool *err);
130  void Load(void);
131  void Save(void);
132  void RuleChanged(void);
133  static void ToggleSelected(MythUIButtonListItem *item);
134 
137 
138  private:
140  RecordingRule *m_rule {nullptr};
142  bool m_loaded {false};
143 
144  QStringList m_descriptions;
145 };
146 
148  public SchedOptMixin, public FilterOptMixin,
149  public StoreOptMixin, public PostProcMixin
150 {
151  friend class SchedEditChild;
152  Q_OBJECT
153  public:
154  ScheduleEditor(MythScreenStack *parent, RecordingInfo* recinfo,
155  TV *player = nullptr);
156  ScheduleEditor(MythScreenStack *parent, RecordingRule* recrule,
157  TV *player = nullptr);
158  ~ScheduleEditor() override;
159 
160  bool Create(void) override; // MythScreenType
161  bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
162  void customEvent(QEvent *event) override; // ScheduleCommon
163 
164  void showMenu(void);
165  void showUpcomingByRule(void);
166  void showUpcomingByTitle(void);
167 
169  static void *RunScheduleEditor(ProgramInfo *proginfo, void *player = nullptr);
170 
171  signals:
172  void ruleSaved(int ruleId);
173  void ruleDeleted(int ruleId);
174  void templateLoaded(void);
175 
176  public slots:
177  void ShowSchedOpt(void);
178  void ShowFilters(void);
179  void ShowStoreOpt(void);
180  void ShowPostProc(void);
181  void ShowMetadataOptions(void);
182  void ShowPreviousView(void);
183  void ShowNextView(void);
184  void ShowPreview(void);
185  void Save(void);
186 
187  protected slots:
188  void RuleChanged(MythUIButtonListItem *item);
190  static void FilterChanged(MythUIButtonListItem *item);
192  void PromptForRecGroup(void);
193  void TranscodeChanged(bool enable);
194  void ShowSchedInfo(void);
195  void ChildClosing(void);
196  void Close(void) override; // MythScreenType
197 
198  private:
200  void Load(void) override; // MythScreenType
201  void LoadTemplate(const QString& name);
202  void DeleteRule(void);
203 
204  void showTemplateMenu(void);
205 
206  ProgramInfo *GetCurrentProgram(void) const override // ScheduleCommon
207  { return m_recInfo; };
208 
211 
212  bool m_sendSig {false};
213 
216 
218 
226 
227  TV *m_player {nullptr};
228 
229  bool m_loaded {false};
230 
231  enum View
232  {
239  };
240 
243 };
244 
246 {
247  Q_OBJECT
248  protected:
249  SchedEditChild(MythScreenStack *parent, const QString &name,
250  ScheduleEditor &editor, RecordingRule &rule,
251  RecordingInfo *recinfo);
252  ~SchedEditChild() override = default;
253 
254  bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
255  virtual bool CreateEditChild(
256  const QString &xmlfile, const QString &winname, bool isTemplate);
257 
258  signals:
259  void Closing(void);
260 
261  public slots:
262  void Close(void) override; // MythScreenType
263  void Load(void) override = 0; // MythScreenType
264  virtual void Save(void) = 0;
265 
266  protected:
267  void SetTextFromMaps(void);
268 
272 
276 };
277 
279 {
280  Q_OBJECT
281  public:
283  RecordingRule &rule, RecordingInfo *recinfo);
284  ~SchedOptEditor() override = default;
285 
286  bool Create(void) override; // MythScreenType
287 
288  protected slots:
290 
291  private:
292  void Load(void) override; // SchedEditChild
293  void Save(void) override; // SchedEditChild
294 
296 };
297 
299 {
300  Q_OBJECT
301  public:
303  RecordingRule &rule, RecordingInfo *recinfo);
304  ~SchedFilterEditor() override = default;
305 
306  bool Create(void) override; // MythScreenType
307 
308  protected slots:
309  static void ToggleSelected(MythUIButtonListItem *item);
310 
311  private:
312  void Load(void) override; // SchedEditChild
313  void Save(void) override; // SchedEditChild
314 };
315 
317 {
318  Q_OBJECT
319  public:
321  RecordingRule &rule, RecordingInfo *recinfo);
322  ~StoreOptEditor() override = default;
323 
324  bool Create(void) override; // MythScreenType
325  void customEvent(QEvent *event) override; // MythUIType
326 
327  protected slots:
329  void PromptForRecGroup(void);
330 
331  private:
332  void Load(void) override; // SchedEditChild
333  void Save(void) override; // SchedEditChild
334 };
335 
337 {
338  Q_OBJECT
339  public:
341  RecordingRule &rule, RecordingInfo *recinfo);
342  ~PostProcEditor() override = default;
343 
344  bool Create(void) override; // MythScreenType
345 
346  protected slots:
347  void TranscodeChanged(bool enable);
348 
349  private:
350  void Load(void) override; // SchedEditChild
351  void Save(void) override; // SchedEditChild
352 };
353 
355 {
356  Q_OBJECT
357  public:
359  RecordingRule &rule, RecordingInfo *recinfo);
360  ~MetadataOptions() override;
361 
362  bool Create(void) override; // MythScreenType
363 
364  protected slots:
365  void ClearInetref();
366  void PerformQuery();
367  void SelectLocalFanart();
368  void SelectLocalCoverart();
369  void SelectLocalBanner();
370  void SelectOnlineFanart();
371  void SelectOnlineCoverart();
372  void SelectOnlineBanner();
373  void QueryComplete(MetadataLookup *lookup);
375  void OnImageSearchListSelection(const ArtworkInfo& info,
377  void OnArtworkSearchDone(MetadataLookup *lookup);
379 
380  void ValuesChanged();
381 
382  private:
383  void Load(void) override; // SchedEditChild
384  void Save(void) override; // SchedEditChild
385 
386  void CreateBusyDialog(const QString& title);
387  static void FindImagePopup(const QString &prefix,
388  const QString &prefixAlt,
389  QObject &inst,
390  const QString &returnEvent);
391  static QStringList GetSupportedImageExtensionFilter();
392 
395 
396  bool CanSetArtwork(void);
397 
398  void customEvent(QEvent *event) override; // MythUIType
399 
400  // For all metadata downloads
402 
403  // For image picking
406 
409 
410  MythUIImage *m_fanart {nullptr};
412  MythUIImage *m_banner {nullptr};
413 
415 
418 
427 
429 };
430 
431 #endif
MetadataOptions::~MetadataOptions
~MetadataOptions() override
Definition: scheduleeditor.cpp:1264
ScheduleEditor::m_view
int m_view
Definition: scheduleeditor.h:241
FilterOptMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:128
PostProcMixin::m_loaded
bool m_loaded
Definition: scheduleeditor.h:119
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:420
MetadataOptions::OnImageSearchListSelection
void OnImageSearchListSelection(const ArtworkInfo &info, VideoArtworkType type)
Definition: scheduleeditor.cpp:1409
PostProcMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:116
MetadataOptions::FindImagePopup
static void FindImagePopup(const QString &prefix, const QString &prefixAlt, QObject &inst, const QString &returnEvent)
Definition: scheduleeditor.cpp:1517
RefCountHandler
Definition: referencecounterlist.h:18
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:98
FilterOptMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2267
MetadataOptions::m_imageDownload
MetadataImageDownload * m_imageDownload
Definition: scheduleeditor.h:405
MetadataOptions::SelectOnlineFanart
void SelectOnlineFanart()
Definition: scheduleeditor.cpp:1468
MetadataImageDownload
Definition: metadataimagedownload.h:88
PostProcMixin::m_transcodeCheck
MythUICheckBox * m_transcodeCheck
Definition: scheduleeditor.h:107
SchedOptMixin::m_newrepeatList
MythUIButtonList * m_newrepeatList
Definition: scheduleeditor.h:51
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:41
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:111
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:136
ScheduleEditor::Create
bool Create(void) override
Definition: scheduleeditor.cpp:132
StoreOptMixin::m_rule
RecordingRule * m_rule
Definition: scheduleeditor.h:88
PostProcMixin::m_metadataLookupCheck
MythUICheckBox * m_metadataLookupCheck
Definition: scheduleeditor.h:113
title
QString title
Definition: mythplugins/mytharchive/mytharchivehelper/main.cpp:636
ScheduleEditor::MaxEpisodesChanged
void MaxEpisodesChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:381
PostProcMixin::m_userjob2Check
MythUICheckBox * m_userjob2Check
Definition: scheduleeditor.h:110
MetadataOptions::m_metadataFactory
MetadataFactory * m_metadataFactory
Definition: scheduleeditor.h:401
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:419
SchedOptEditor::m_filtersButton
MythUIButton * m_filtersButton
Definition: scheduleeditor.h:295
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:417
ScheduleEditor::GetCurrentProgram
ProgramInfo * GetCurrentProgram(void) const override
Definition: scheduleeditor.h:206
ScheduleEditor::ShowPreviousView
void ShowPreviousView(void)
Definition: scheduleeditor.cpp:743
SchedEditChild::m_recordingRule
RecordingRule * m_recordingRule
Definition: scheduleeditor.h:270
StoreOptMixin::m_autoexpireCheck
MythUICheckBox * m_autoexpireCheck
Definition: scheduleeditor.h:84
RecordingRule
Internal representation of a recording rule, mirrors the record table.
Definition: recordingrule.h:33
PostProcEditor::TranscodeChanged
void TranscodeChanged(bool enable)
Definition: scheduleeditor.cpp:1231
MythUITextEdit
A text entry and edit widget.
Definition: mythuitextedit.h:33
MetadataOptions::m_fanart
MythUIImage * m_fanart
Definition: scheduleeditor.h:410
StoreOptMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:2314
MetadataDownload
Definition: metadatadownload.h:36
ScheduleEditor::ShowPostProc
void ShowPostProc(void)
Definition: scheduleeditor.cpp:476
PostProcMixin::m_userjob1Check
MythUICheckBox * m_userjob1Check
Definition: scheduleeditor.h:109
PostProcMixin::m_commflagCheck
MythUICheckBox * m_commflagCheck
Definition: scheduleeditor.h:106
PostProcEditor::Load
void Load(void) override
Definition: scheduleeditor.cpp:1225
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:45
SchedOptMixin::m_rule
RecordingRule * m_rule
Definition: scheduleeditor.h:55
SchedEditChild
Definition: scheduleeditor.h:246
ScheduleEditor::kMainView
@ kMainView
Definition: scheduleeditor.h:233
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:411
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:79
schedulecommon.h
ScheduleEditor::DeleteRule
void DeleteRule(void)
Definition: scheduleeditor.cpp:421
StoreOptMixin::m_playgroupList
MythUIButtonList * m_playgroupList
Definition: scheduleeditor.h:81
StoreOptMixin::m_maxbehaviourList
MythUIButtonList * m_maxbehaviourList
Definition: scheduleeditor.h:83
MetadataOptions::HandleDownloadedImages
void HandleDownloadedImages(MetadataLookup *lookup)
Definition: scheduleeditor.cpp:1653
ScheduleEditor::m_rulesList
MythUIButtonList * m_rulesList
Definition: scheduleeditor.h:217
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:117
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:412
ScheduleEditor::ShowSchedInfo
void ShowSchedInfo(void)
Definition: scheduleeditor.cpp:501
FilterOptMixin::FilterOptMixin
FilterOptMixin(MythScreenType &screen, RecordingRule *rule, FilterOptMixin *other=nullptr)
Definition: scheduleeditor.h:125
SchedFilterEditor::~SchedFilterEditor
~SchedFilterEditor() override=default
FilterOptMixin::m_other
FilterOptMixin * m_other
Definition: scheduleeditor.h:141
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:28
MetadataOptions::CreateBusyDialog
void CreateBusyDialog(const QString &title)
Definition: scheduleeditor.cpp:1373
SchedEditChild::m_recInfo
RecordingInfo * m_recInfo
Definition: scheduleeditor.h:271
SchedOptMixin::m_haveRepeats
bool m_haveRepeats
Definition: scheduleeditor.h:58
MetadataOptions::m_popupStack
MythScreenStack * m_popupStack
Definition: scheduleeditor.h:407
FilterOptMixin::m_loaded
bool m_loaded
Definition: scheduleeditor.h:142
FilterOptMixin::m_descriptions
QStringList m_descriptions
Definition: scheduleeditor.h:144
ScheduleEditor::ShowPreview
void ShowPreview(void)
Definition: scheduleeditor.cpp:658
SchedOptMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:54
MetadataOptions::m_onlineBannerButton
MythUIButton * m_onlineBannerButton
Definition: scheduleeditor.h:426
ScheduleEditor::m_schedOptButton
MythUIButton * m_schedOptButton
Definition: scheduleeditor.h:219
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:2101
SchedEditChild::Closing
void Closing(void)
ScheduleEditor::kSchedOptView
@ kSchedOptView
Definition: scheduleeditor.h:234
ScheduleEditor::m_saveButton
MythUIButton * m_saveButton
Definition: scheduleeditor.h:214
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:2169
SchedFilterEditor
Select schedule filters.
Definition: scheduleeditor.h:299
StoreOptMixin::CreateRecordingGroup
static int CreateRecordingGroup(const QString &groupName)
Definition: scheduleeditor.cpp:2618
MetadataOptions::m_onlineCoverartButton
MythUIButton * m_onlineCoverartButton
Definition: scheduleeditor.h:425
SchedEditChild::CreateEditChild
virtual bool CreateEditChild(const QString &xmlfile, const QString &winname, bool isTemplate)
Definition: scheduleeditor.cpp:921
ArtworkInfo
Definition: metadataimagehelper.h:22
PostProcMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2812
MetadataOptions::m_artworkMap
ArtworkMap m_artworkMap
Definition: scheduleeditor.h:428
MetadataOptions::m_seasonSpin
MythUISpinBox * m_seasonSpin
Definition: scheduleeditor.h:416
ScheduleEditor::ruleDeleted
void ruleDeleted(int ruleId)
ScheduleEditor::kStoreOptView
@ kStoreOptView
Definition: scheduleeditor.h:236
ScheduleEditor::m_schedInfoButton
MythUIButton * m_schedInfoButton
Definition: scheduleeditor.h:222
MetadataOptions::m_localBannerButton
MythUIButton * m_localBannerButton
Definition: scheduleeditor.h:423
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:223
FilterOptMixin::m_filtersList
MythUIButtonList * m_filtersList
Definition: scheduleeditor.h:135
StoreOptMixin::MaxEpisodesChanged
void MaxEpisodesChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:2560
PostProcEditor
Select post-processing options.
Definition: scheduleeditor.h:337
ScheduleEditor::m_metadataButton
MythUIButton * m_metadataButton
Definition: scheduleeditor.h:224
StoreOptMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2500
MythUIButton
A single button widget.
Definition: mythuibutton.h:22
StoreOptMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2533
ScheduleCommon
Definition: schedulecommon.h:16
MetadataOptions::m_imageLookup
MetadataDownload * m_imageLookup
Definition: scheduleeditor.h:404
ScheduleEditor::m_player
TV * m_player
Definition: scheduleeditor.h:227
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:229
ScheduleEditor::kMetadataView
@ kMetadataView
Definition: scheduleeditor.h:238
MetadataOptions::m_onlineFanartButton
MythUIButton * m_onlineFanartButton
Definition: scheduleeditor.h:424
ScheduleEditor::PromptForRecGroup
void PromptForRecGroup(void)
Definition: scheduleeditor.cpp:386
PostProcMixin::TranscodeChanged
void TranscodeChanged(bool enable)
Definition: scheduleeditor.cpp:2839
PostProcMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2788
MythUIBusyDialog
Definition: mythprogressdialog.h:37
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:274
SchedEditChild::Load
void Load(void) override=0
ScheduleEditor::templateLoaded
void templateLoaded(void)
FilterOptMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:2188
PostProcMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:2688
MetadataOptions
Select artwork and inetref for recordings.
Definition: scheduleeditor.h:355
PostProcMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:99
SchedEditChild::m_previewButton
MythUIButton * m_previewButton
Definition: scheduleeditor.h:275
FilterOptMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:139
ScheduleEditor::m_recInfo
RecordingInfo * m_recInfo
Definition: scheduleeditor.h:209
MythUICheckBox
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
Definition: mythuicheckbox.h:16
ScheduleEditor::m_cancelButton
MythUIButton * m_cancelButton
Definition: scheduleeditor.h:215
StoreOptMixin::m_maxepSpin
MythUISpinBox * m_maxepSpin
Definition: scheduleeditor.h:82
MetadataFactory
Definition: metadatafactory.h:86
SchedEditChild::m_backButton
MythUIButton * m_backButton
Definition: scheduleeditor.h:273
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:2135
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:422
ScheduleEditor::ShowNextView
void ShowNextView(void)
Definition: scheduleeditor.cpp:763
PostProcMixin::PostProcMixin
PostProcMixin(MythScreenType &screen, RecordingRule *rule, PostProcMixin *other=nullptr)
Definition: scheduleeditor.h:96
ScheduleEditor::m_storeOptButton
MythUIButton * m_storeOptButton
Definition: scheduleeditor.h:220
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:87
ProgramInfo
Holds information on recordings and videos.
Definition: programinfo.h:68
MythUIText
All purpose text widget, displays a text string.
Definition: mythuitext.h:29
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:57
ScheduleEditor::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: scheduleeditor.cpp:528
SchedOptMixin::m_other
SchedOptMixin * m_other
Definition: scheduleeditor.h:56
MetadataOptions::ValuesChanged
void ValuesChanged()
Definition: scheduleeditor.cpp:1682
FilterOptMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2286
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:2203
StoreOptMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:2355
SchedOptMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:1929
SchedOptMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:1972
StoreOptMixin::PromptForRecGroup
void PromptForRecGroup(void)
Definition: scheduleeditor.cpp:2571
ScheduleEditor::ShowFilters
void ShowFilters(void)
Definition: scheduleeditor.cpp:718
SchedEditChild::m_editor
ScheduleEditor * m_editor
Definition: scheduleeditor.h:269
SchedOptMixin::m_ruleactiveCheck
MythUICheckBox * m_ruleactiveCheck
Definition: scheduleeditor.h:50
mythcontext.h
ScheduleEditor::Q_DISABLE_COPY
Q_DISABLE_COPY(ScheduleEditor)
metadatafactory.h
PostProcMixin::m_userjob4Check
MythUICheckBox * m_userjob4Check
Definition: scheduleeditor.h:112
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:17
PostProcMixin::m_other
PostProcMixin * m_other
Definition: scheduleeditor.h:118
ScheduleEditor::m_sendSig
bool m_sendSig
Definition: scheduleeditor.h:212
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:33
SchedOptMixin::m_inputList
MythUIButtonList * m_inputList
Definition: scheduleeditor.h:49
StoreOptMixin::m_other
StoreOptMixin * m_other
Definition: scheduleeditor.h:89
ArtworkMap
QMultiMap< VideoArtworkType, ArtworkInfo > ArtworkMap
Definition: metadataimagehelper.h:31
MetadataOptions::m_localFanartButton
MythUIButton * m_localFanartButton
Definition: scheduleeditor.h:421
StoreOptEditor
Select storage options.
Definition: scheduleeditor.h:317
StoreOptMixin::StoreOptMixin
StoreOptMixin(MythScreenType &screen, RecordingRule *rule, StoreOptMixin *other=nullptr)
Definition: scheduleeditor.h:64
StoreOptMixin::m_recprofileList
MythUIButtonList * m_recprofileList
Definition: scheduleeditor.h:78
MetadataOptions::FindNetArt
void FindNetArt(VideoArtworkType type)
Definition: scheduleeditor.cpp:1608
StoreOptMixin::SetRecGroup
void SetRecGroup(int recgroupID, QString recgroup)
Definition: scheduleeditor.cpp:2593
ScheduleEditor::showUpcomingByTitle
void showUpcomingByTitle(void)
Definition: scheduleeditor.cpp:640
StoreOptMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:67
MetadataOptions::m_busyPopup
MythUIBusyDialog * m_busyPopup
Definition: scheduleeditor.h:408
MetadataOptions::m_inetrefEdit
MythUITextEdit * m_inetrefEdit
Definition: scheduleeditor.h:414
ScheduleEditor::m_filtersButton
MythUIButton * m_filtersButton
Definition: scheduleeditor.h:225
FilterOptMixin::ToggleSelected
static void ToggleSelected(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:2299
FilterOptMixin
Mixin for Filters.
Definition: scheduleeditor.h:123
ScheduleEditor::m_recordingRule
RecordingRule * m_recordingRule
Definition: scheduleeditor.h:210
recordingrule.h
PostProcMixin::m_transcodeprofileList
MythUIButtonList * m_transcodeprofileList
Definition: scheduleeditor.h:108
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition: mythuibuttonlist.h:144
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:90
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:221
StoreOptMixin::m_storagegroupList
MythUIButtonList * m_storagegroupList
Definition: scheduleeditor.h:80
ScheduleEditor
Construct a recording schedule.
Definition: scheduleeditor.h:150
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:242
MythUIStateType
This widget is used for grouping other widgets for display when a particular named state is called.
Definition: mythuistatetype.h:23
mythscreentype.h
FilterOptMixin::m_rule
RecordingRule * m_rule
Definition: scheduleeditor.h:140
ScheduleEditor::kPostProcView
@ kPostProcView
Definition: scheduleeditor.h:237
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:2645
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:235