MythTV  master
scheduleeditor.h
Go to the documentation of this file.
1 #ifndef SCHEDULERECORDING_H_
2 #define SCHEDULERECORDING_H_
3 
4 // MythTV
5 #include "libmyth/mythcontext.h"
6 #include "libmythbase/mythdb.h"
11 
12 // MythFrontend
13 #include "schedulecommon.h"
14 
15 class ProgramInfo;
16 class MythUIText;
17 class MythUIButton;
18 class MythUIButtonList;
20 class MythUIStateType;
21 class MythUISpinBox;
22 class TV;
23 
24 class ScheduleEditor;
25 class SchedEditChild;
26 
28 {
29  protected:
31  SchedOptMixin *other = nullptr);
32  void SetRule(RecordingRule *rule) { m_rule = rule; };
33  void Create(bool *err);
34  void Load(void);
35  void Save(void);
36  void RuleChanged(void);
38 
48 
49  private:
51  RecordingRule *m_rule {nullptr};
52  SchedOptMixin *m_other {nullptr};
53  bool m_loaded {false};
54  bool m_haveRepeats {false};
55 };
56 
58 {
59  protected:
61  StoreOptMixin *other = nullptr)
62  : m_screen(&screen), m_rule(rule), m_other(other) {}
63  void SetRule(RecordingRule *rule) { m_rule = rule; };
64  void Create(bool *err);
65  void Load(void);
66  void Save(void);
67  void RuleChanged(void);
69  void PromptForRecGroup(void);
70  void SetRecGroup(int recgroupID, QString recgroup);
71 
72  static int CreateRecordingGroup(const QString &groupName);
73 
81 
82  private:
84  RecordingRule *m_rule {nullptr};
85  StoreOptMixin *m_other {nullptr};
86  bool m_loaded {false};
87 };
88 
90 {
91  protected:
93  PostProcMixin *other= nullptr)
94  : m_screen(&screen), m_rule(rule), m_other(other) {}
95  void SetRule(RecordingRule *rule) { m_rule = rule; };
96  void Create(bool *err);
97  void Load(void);
98  void Save(void);
99  void RuleChanged(void);
100  void TranscodeChanged(bool enable);
101 
110 
111  private:
113  RecordingRule *m_rule {nullptr};
114  PostProcMixin *m_other {nullptr};
115  bool m_loaded {false};
116 };
117 
119 {
120  protected:
122  FilterOptMixin *other = nullptr)
123  : m_screen(&screen), m_rule(rule), m_other(other) {}
124  void SetRule(RecordingRule *rule) { m_rule = rule; };
125  void Create(bool *err);
126  void Load(void);
127  void Save(void);
128  void RuleChanged(void);
129  static void ToggleSelected(MythUIButtonListItem *item);
130 
133 
134  private:
136  RecordingRule *m_rule {nullptr};
138  bool m_loaded {false};
139 
140  QStringList m_descriptions;
141 };
142 
144  public SchedOptMixin, public FilterOptMixin,
145  public StoreOptMixin, public PostProcMixin
146 {
147  friend class SchedEditChild;
148  Q_OBJECT
149  public:
150  ScheduleEditor(MythScreenStack *parent, RecordingInfo* recinfo,
151  TV *player = nullptr);
152  ScheduleEditor(MythScreenStack *parent, RecordingRule* recrule,
153  TV *player = nullptr);
154  ~ScheduleEditor() override;
155 
156  bool Create(void) override; // MythScreenType
157  bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
158  void customEvent(QEvent *event) override; // ScheduleCommon
159 
160  void showMenu(void);
161  void showUpcomingByRule(void);
162  void showUpcomingByTitle(void);
163 
165  static void *RunScheduleEditor(ProgramInfo *proginfo, void *player = nullptr);
166 
167  signals:
168  void ruleSaved(int ruleId);
169  void ruleDeleted(int ruleId);
170  void templateLoaded(void);
171 
172  public slots:
173  void ShowSchedOpt(void);
174  void ShowFilters(void);
175  void ShowStoreOpt(void);
176  void ShowPostProc(void);
177  void ShowMetadataOptions(void);
178  void ShowPreviousView(void);
179  void ShowNextView(void);
180  void ShowPreview(void);
181  void Save(void);
182 
183  protected slots:
184  void RuleChanged(MythUIButtonListItem *item);
186  static void FilterChanged(MythUIButtonListItem *item);
188  void PromptForRecGroup(void);
189  void TranscodeChanged(bool enable);
190  void ShowSchedInfo(void);
191  void ChildClosing(void);
192  void Close(void) override; // MythScreenType
193 
194  private:
196  void Load(void) override; // MythScreenType
197  void LoadTemplate(const QString& name);
198  void DeleteRule(void);
199 
200  void showTemplateMenu(void);
201 
202  ProgramInfo *GetCurrentProgram(void) const override // ScheduleCommon
203  { return m_recInfo; };
204 
207 
208  bool m_sendSig {false};
209 
212 
214 
222 
223  TV *m_player {nullptr};
224 
225  bool m_loaded {false};
226 
227  enum View
228  {
235  };
236 
239 };
240 
242 {
243  Q_OBJECT
244  protected:
245  SchedEditChild(MythScreenStack *parent, const QString &name,
246  ScheduleEditor &editor, RecordingRule &rule,
247  RecordingInfo *recinfo);
248  ~SchedEditChild() override = default;
249 
250  bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
251  virtual bool CreateEditChild(
252  const QString &xmlfile, const QString &winname, bool isTemplate);
253 
254  signals:
255  void Closing(void);
256 
257  public slots:
258  void Close(void) override; // MythScreenType
259  void Load(void) override = 0; // MythScreenType
260  virtual void Save(void) = 0;
261 
262  protected:
263  void SetTextFromMaps(void);
264 
268 
272 };
273 
275 {
276  Q_OBJECT
277  public:
279  RecordingRule &rule, RecordingInfo *recinfo);
280  ~SchedOptEditor() override = default;
281 
282  bool Create(void) override; // MythScreenType
283 
284  protected slots:
286 
287  private:
288  void Load(void) override; // SchedEditChild
289  void Save(void) override; // SchedEditChild
290 
292 };
293 
295 {
296  Q_OBJECT
297  public:
299  RecordingRule &rule, RecordingInfo *recinfo);
300  ~SchedFilterEditor() override = default;
301 
302  bool Create(void) override; // MythScreenType
303 
304  protected slots:
305  static void ToggleSelected(MythUIButtonListItem *item);
306 
307  private:
308  void Load(void) override; // SchedEditChild
309  void Save(void) override; // SchedEditChild
310 };
311 
313 {
314  Q_OBJECT
315  public:
317  RecordingRule &rule, RecordingInfo *recinfo);
318  ~StoreOptEditor() override = default;
319 
320  bool Create(void) override; // MythScreenType
321  void customEvent(QEvent *event) override; // MythUIType
322 
323  protected slots:
325  void PromptForRecGroup(void);
326 
327  private:
328  void Load(void) override; // SchedEditChild
329  void Save(void) override; // SchedEditChild
330 };
331 
333 {
334  Q_OBJECT
335  public:
337  RecordingRule &rule, RecordingInfo *recinfo);
338  ~PostProcEditor() override = default;
339 
340  bool Create(void) override; // MythScreenType
341 
342  protected slots:
343  void TranscodeChanged(bool enable);
344 
345  private:
346  void Load(void) override; // SchedEditChild
347  void Save(void) override; // SchedEditChild
348 };
349 
351 {
352  Q_OBJECT
353  public:
355  RecordingRule &rule, RecordingInfo *recinfo);
356  ~MetadataOptions() override;
357 
358  bool Create(void) override; // MythScreenType
359 
360  protected slots:
361  void ClearInetref();
362  void PerformQuery();
363  void SelectLocalFanart();
364  void SelectLocalCoverart();
365  void SelectLocalBanner();
366  void SelectOnlineFanart();
367  void SelectOnlineCoverart();
368  void SelectOnlineBanner();
369  void QueryComplete(MetadataLookup *lookup);
371  void OnImageSearchListSelection(const ArtworkInfo& info,
373  void OnArtworkSearchDone(MetadataLookup *lookup);
375 
376  void ValuesChanged();
377 
378  private:
379  void Load(void) override; // SchedEditChild
380  void Save(void) override; // SchedEditChild
381 
382  void CreateBusyDialog(const QString& title);
383  static void FindImagePopup(const QString &prefix,
384  const QString &prefixAlt,
385  QObject &inst,
386  const QString &returnEvent);
387  static QStringList GetSupportedImageExtensionFilter();
388 
391 
392  bool CanSetArtwork(void);
393 
394  void customEvent(QEvent *event) override; // MythUIType
395 
396  // For all metadata downloads
398 
399  // For image picking
402 
405 
406  MythUIImage *m_fanart {nullptr};
408  MythUIImage *m_banner {nullptr};
409 
411 
414 
423 
425 };
426 
427 #endif
MetadataOptions::~MetadataOptions
~MetadataOptions() override
Definition: scheduleeditor.cpp:1259
ScheduleEditor::m_view
int m_view
Definition: scheduleeditor.h:237
FilterOptMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:124
PostProcMixin::m_loaded
bool m_loaded
Definition: scheduleeditor.h:115
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:237
MetadataOptions::CanSetArtwork
bool CanSetArtwork(void)
Definition: scheduleeditor.cpp:1551
SchedOptEditor::Create
bool Create(void) override
Definition: scheduleeditor.cpp:978
ScheduleEditor::View
View
Definition: scheduleeditor.h:227
VideoArtworkType
VideoArtworkType
Definition: metadataimagehelper.h:10
MetadataOptions::m_queryButton
MythUIButton * m_queryButton
Definition: scheduleeditor.h:416
MetadataOptions::OnImageSearchListSelection
void OnImageSearchListSelection(const ArtworkInfo &info, VideoArtworkType type)
Definition: scheduleeditor.cpp:1404
PostProcMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:112
MetadataOptions::FindImagePopup
static void FindImagePopup(const QString &prefix, const QString &prefixAlt, QObject &inst, const QString &returnEvent)
Definition: scheduleeditor.cpp:1512
RefCountHandler
Definition: referencecounterlist.h:17
SchedOptMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:32
ScheduleEditor::Close
void Close(void) override
Definition: scheduleeditor.cpp:225
MythUIImage
Image widget, displays a single image or multiple images in sequence.
Definition: mythuiimage.h:97
FilterOptMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2290
MetadataOptions::m_imageDownload
MetadataImageDownload * m_imageDownload
Definition: scheduleeditor.h:401
MetadataOptions::SelectOnlineFanart
void SelectOnlineFanart()
Definition: scheduleeditor.cpp:1463
MetadataImageDownload
Definition: metadataimagedownload.h:87
PostProcMixin::m_transcodeCheck
MythUICheckBox * m_transcodeCheck
Definition: scheduleeditor.h:103
SchedOptMixin::m_newrepeatList
MythUIButtonList * m_newrepeatList
Definition: scheduleeditor.h:47
MetadataOptions::CreateLookup
MetadataLookup * CreateLookup(MetadataType mtype)
Definition: scheduleeditor.cpp:1565
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:1382
MetadataType
MetadataType
Definition: metadatacommon.h:42
MetadataOptions::customEvent
void customEvent(QEvent *event) override
Definition: scheduleeditor.cpp:1701
SchedEditChild::SetTextFromMaps
void SetTextFromMaps(void)
Definition: scheduleeditor.cpp:943
PostProcMixin::m_userjob3Check
MythUICheckBox * m_userjob3Check
Definition: scheduleeditor.h:107
SchedOptMixin::SchedOptMixin
SchedOptMixin(MythScreenType &screen, RecordingRule *rule, SchedOptMixin *other=nullptr)
Definition: scheduleeditor.cpp:1917
StoreOptEditor::MaxEpisodesChanged
void MaxEpisodesChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:1143
MetadataOptions::QueryComplete
void QueryComplete(MetadataLookup *lookup)
Definition: scheduleeditor.cpp:1493
PostProcEditor::~PostProcEditor
~PostProcEditor() override=default
FilterOptMixin::m_activeFiltersList
MythUIButtonList * m_activeFiltersList
Definition: scheduleeditor.h:132
ScheduleEditor::Create
bool Create(void) override
Definition: scheduleeditor.cpp:127
StoreOptMixin::m_rule
RecordingRule * m_rule
Definition: scheduleeditor.h:84
PostProcMixin::m_metadataLookupCheck
MythUICheckBox * m_metadataLookupCheck
Definition: scheduleeditor.h:109
ScheduleEditor::MaxEpisodesChanged
void MaxEpisodesChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:376
PostProcMixin::m_userjob2Check
MythUICheckBox * m_userjob2Check
Definition: scheduleeditor.h:106
MetadataOptions::m_metadataFactory
MetadataFactory * m_metadataFactory
Definition: scheduleeditor.h:397
MetadataOptions::SelectLocalBanner
void SelectLocalBanner()
Definition: scheduleeditor.cpp:1452
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:391
ScheduleEditor::ScheduleEditor
ScheduleEditor(MythScreenStack *parent, RecordingInfo *recinfo, TV *player=nullptr)
Definition: scheduleeditor.cpp:82
ScheduleEditor::~ScheduleEditor
~ScheduleEditor() override
Definition: scheduleeditor.cpp:115
ScheduleEditor::DupMethodChanged
void DupMethodChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:366
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:415
SchedOptEditor::m_filtersButton
MythUIButton * m_filtersButton
Definition: scheduleeditor.h:291
ScheduleEditor::showTemplateMenu
void showTemplateMenu(void)
Definition: scheduleeditor.cpp:833
SchedOptMixin::m_prioritySpin
MythUISpinBox * m_prioritySpin
Definition: scheduleeditor.h:39
MythScreenStack
Definition: mythscreenstack.h:16
SchedOptEditor::~SchedOptEditor
~SchedOptEditor() override=default
MetadataOptions::m_episodeSpin
MythUISpinBox * m_episodeSpin
Definition: scheduleeditor.h:413
ScheduleEditor::GetCurrentProgram
ProgramInfo * GetCurrentProgram(void) const override
Definition: scheduleeditor.h:202
ScheduleEditor::ShowPreviousView
void ShowPreviousView(void)
Definition: scheduleeditor.cpp:738
SchedEditChild::m_recordingRule
RecordingRule * m_recordingRule
Definition: scheduleeditor.h:266
StoreOptMixin::m_autoexpireCheck
MythUICheckBox * m_autoexpireCheck
Definition: scheduleeditor.h:80
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:406
StoreOptMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:2337
MetadataDownload
Definition: metadatadownload.h:35
ScheduleEditor::ShowPostProc
void ShowPostProc(void)
Definition: scheduleeditor.cpp:471
PostProcMixin::m_userjob1Check
MythUICheckBox * m_userjob1Check
Definition: scheduleeditor.h:105
PostProcMixin::m_commflagCheck
MythUICheckBox * m_commflagCheck
Definition: scheduleeditor.h:102
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:51
SchedEditChild
Definition: scheduleeditor.h:241
ScheduleEditor::kMainView
@ kMainView
Definition: scheduleeditor.h:229
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:407
MetadataOptions::MetadataOptions
MetadataOptions(MythScreenStack *parent, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:1243
MetadataOptions::Load
void Load(void) override
Definition: scheduleeditor.cpp:1363
StoreOptMixin::m_recgroupList
MythUIButtonList * m_recgroupList
Definition: scheduleeditor.h:75
schedulecommon.h
ScheduleEditor::DeleteRule
void DeleteRule(void)
Definition: scheduleeditor.cpp:416
StoreOptMixin::m_playgroupList
MythUIButtonList * m_playgroupList
Definition: scheduleeditor.h:77
StoreOptMixin::m_maxbehaviourList
MythUIButtonList * m_maxbehaviourList
Definition: scheduleeditor.h:79
MetadataOptions::HandleDownloadedImages
void HandleDownloadedImages(MetadataLookup *lookup)
Definition: scheduleeditor.cpp:1648
ScheduleEditor::m_rulesList
MythUIButtonList * m_rulesList
Definition: scheduleeditor.h:213
hardwareprofile.distros.mythtv_data.data_mythtv.prefix
string prefix
Definition: data_mythtv.py:40
ScheduleEditor::ChildClosing
void ChildClosing(void)
Definition: scheduleeditor.cpp:778
ScheduleEditor::ShowStoreOpt
void ShowStoreOpt(void)
Definition: scheduleeditor.cpp:446
MetadataOptions::Save
void Save(void) override
Definition: scheduleeditor.cpp:1478
ScheduleEditor::ShowMetadataOptions
void ShowMetadataOptions(void)
Definition: scheduleeditor.cpp:689
PostProcMixin
Mixin for post processing.
Definition: scheduleeditor.h:89
PostProcMixin::m_rule
RecordingRule * m_rule
Definition: scheduleeditor.h:113
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:408
ScheduleEditor::ShowSchedInfo
void ShowSchedInfo(void)
Definition: scheduleeditor.cpp:496
FilterOptMixin::FilterOptMixin
FilterOptMixin(MythScreenType &screen, RecordingRule *rule, FilterOptMixin *other=nullptr)
Definition: scheduleeditor.h:121
SchedFilterEditor::~SchedFilterEditor
~SchedFilterEditor() override=default
FilterOptMixin::m_other
FilterOptMixin * m_other
Definition: scheduleeditor.h:137
MetadataOptions::PerformQuery
void PerformQuery()
Definition: scheduleeditor.cpp:1388
SchedEditChild::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: scheduleeditor.cpp:880
MythUIButtonListItem
Definition: mythuibuttonlist.h:41
MetadataOptions::CreateBusyDialog
void CreateBusyDialog(const QString &title)
Definition: scheduleeditor.cpp:1368
SchedEditChild::m_recInfo
RecordingInfo * m_recInfo
Definition: scheduleeditor.h:267
SchedOptMixin::m_haveRepeats
bool m_haveRepeats
Definition: scheduleeditor.h:54
MetadataOptions::m_popupStack
MythScreenStack * m_popupStack
Definition: scheduleeditor.h:403
FilterOptMixin::m_loaded
bool m_loaded
Definition: scheduleeditor.h:138
FilterOptMixin::m_descriptions
QStringList m_descriptions
Definition: scheduleeditor.h:140
ScheduleEditor::ShowPreview
void ShowPreview(void)
Definition: scheduleeditor.cpp:653
SchedOptMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:50
MetadataOptions::m_onlineBannerButton
MythUIButton * m_onlineBannerButton
Definition: scheduleeditor.h:422
ScheduleEditor::m_schedOptButton
MythUIButton * m_schedOptButton
Definition: scheduleeditor.h:215
ScheduleEditor::FilterChanged
static void FilterChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:371
MetadataOptions::SelectOnlineCoverart
void SelectOnlineCoverart()
Definition: scheduleeditor.cpp:1468
SchedOptMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2119
SchedEditChild::Closing
void Closing(void)
ScheduleEditor::kSchedOptView
@ kSchedOptView
Definition: scheduleeditor.h:230
ScheduleEditor::m_saveButton
MythUIButton * m_saveButton
Definition: scheduleeditor.h:210
SchedOptMixin::m_startoffsetSpin
MythUISpinBox * m_startoffsetSpin
Definition: scheduleeditor.h:40
ScheduleEditor::ShowSchedOpt
void ShowSchedOpt(void)
Definition: scheduleeditor.cpp:421
StoreOptEditor::~StoreOptEditor
~StoreOptEditor() override=default
SchedOptMixin::DupMethodChanged
void DupMethodChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:2192
SchedFilterEditor
Select schedule filters.
Definition: scheduleeditor.h:294
StoreOptMixin::CreateRecordingGroup
static int CreateRecordingGroup(const QString &groupName)
Definition: scheduleeditor.cpp:2641
MetadataOptions::m_onlineCoverartButton
MythUIButton * m_onlineCoverartButton
Definition: scheduleeditor.h:421
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:2835
MetadataOptions::m_artworkMap
ArtworkMap m_artworkMap
Definition: scheduleeditor.h:424
MetadataOptions::m_seasonSpin
MythUISpinBox * m_seasonSpin
Definition: scheduleeditor.h:412
ScheduleEditor::ruleDeleted
void ruleDeleted(int ruleId)
ScheduleEditor::kStoreOptView
@ kStoreOptView
Definition: scheduleeditor.h:232
ScheduleEditor::m_schedInfoButton
MythUIButton * m_schedInfoButton
Definition: scheduleeditor.h:218
MetadataOptions::m_localBannerButton
MythUIButton * m_localBannerButton
Definition: scheduleeditor.h:419
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:219
FilterOptMixin::m_filtersList
MythUIButtonList * m_filtersList
Definition: scheduleeditor.h:131
StoreOptMixin::MaxEpisodesChanged
void MaxEpisodesChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:2583
PostProcEditor
Select post-processing options.
Definition: scheduleeditor.h:332
ScheduleEditor::m_metadataButton
MythUIButton * m_metadataButton
Definition: scheduleeditor.h:220
StoreOptMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2523
MythUIButton
A single button widget.
Definition: mythuibutton.h:21
StoreOptMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2556
ScheduleCommon
Definition: schedulecommon.h:15
MetadataOptions::m_imageLookup
MetadataDownload * m_imageLookup
Definition: scheduleeditor.h:400
ScheduleEditor::m_player
TV * m_player
Definition: scheduleeditor.h:223
MetadataOptions::GetSupportedImageExtensionFilter
static QStringList GetSupportedImageExtensionFilter()
Definition: scheduleeditor.cpp:1538
ScheduleEditor::RunScheduleEditor
static void * RunScheduleEditor(ProgramInfo *proginfo, void *player=nullptr)
Callback.
Definition: scheduleeditor.cpp:61
ScheduleEditor::m_loaded
bool m_loaded
Definition: scheduleeditor.h:225
ScheduleEditor::kMetadataView
@ kMetadataView
Definition: scheduleeditor.h:234
MetadataOptions::m_onlineFanartButton
MythUIButton * m_onlineFanartButton
Definition: scheduleeditor.h:420
ScheduleEditor::PromptForRecGroup
void PromptForRecGroup(void)
Definition: scheduleeditor.cpp:381
PostProcMixin::TranscodeChanged
void TranscodeChanged(bool enable)
Definition: scheduleeditor.cpp:2862
PostProcMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2811
MythUIBusyDialog
Definition: mythprogressdialog.h:36
MetadataOptions::SelectOnlineBanner
void SelectOnlineBanner()
Definition: scheduleeditor.cpp:1473
SchedEditChild::Close
void Close(void) override
Definition: scheduleeditor.cpp:955
SchedEditChild::m_saveButton
MythUIButton * m_saveButton
Definition: scheduleeditor.h:270
SchedEditChild::Load
void Load(void) override=0
ScheduleEditor::templateLoaded
void templateLoaded(void)
FilterOptMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:2211
PostProcMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:2711
MetadataOptions
Select artwork and inetref for recordings.
Definition: scheduleeditor.h:350
PostProcMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:95
SchedEditChild::m_previewButton
MythUIButton * m_previewButton
Definition: scheduleeditor.h:271
FilterOptMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:135
ScheduleEditor::m_recInfo
RecordingInfo * m_recInfo
Definition: scheduleeditor.h:205
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:211
StoreOptMixin::m_maxepSpin
MythUISpinBox * m_maxepSpin
Definition: scheduleeditor.h:78
MetadataFactory
Definition: metadatafactory.h:85
SchedEditChild::m_backButton
MythUIButton * m_backButton
Definition: scheduleeditor.h:269
MetadataOptions::SelectLocalFanart
void SelectLocalFanart()
Definition: scheduleeditor.cpp:1430
StoreOptMixin
Mixin for storage options.
Definition: scheduleeditor.h:57
MetadataOptions::Create
bool Create(void) override
Definition: scheduleeditor.cpp:1276
SchedOptMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2158
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:418
ScheduleEditor::ShowNextView
void ShowNextView(void)
Definition: scheduleeditor.cpp:758
PostProcMixin::PostProcMixin
PostProcMixin(MythScreenType &screen, RecordingRule *rule, PostProcMixin *other=nullptr)
Definition: scheduleeditor.h:92
ScheduleEditor::m_storeOptButton
MythUIButton * m_storeOptButton
Definition: scheduleeditor.h:216
ScheduleEditor::LoadTemplate
void LoadTemplate(const QString &name)
Definition: scheduleeditor.cpp:330
recordinginfo.h
StoreOptEditor::Load
void Load(void) override
Definition: scheduleeditor.cpp:1137
StoreOptMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:83
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:1441
StoreOptEditor::Save
void Save(void) override
Definition: scheduleeditor.cpp:1170
SchedOptMixin::m_loaded
bool m_loaded
Definition: scheduleeditor.h:53
ScheduleEditor::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: scheduleeditor.cpp:523
SchedOptMixin::m_other
SchedOptMixin * m_other
Definition: scheduleeditor.h:52
MetadataOptions::ValuesChanged
void ValuesChanged()
Definition: scheduleeditor.cpp:1677
FilterOptMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2309
SchedOptMixin::m_dupscopeList
MythUIButtonList * m_dupscopeList
Definition: scheduleeditor.h:43
MetadataOptions::OnSearchListSelection
void OnSearchListSelection(const RefCountHandler< MetadataLookup > &lookup)
Definition: scheduleeditor.cpp:1399
FilterOptMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:2226
StoreOptMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:2378
SchedOptMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:1924
SchedOptMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:1972
StoreOptMixin::PromptForRecGroup
void PromptForRecGroup(void)
Definition: scheduleeditor.cpp:2594
ScheduleEditor::ShowFilters
void ShowFilters(void)
Definition: scheduleeditor.cpp:713
SchedEditChild::m_editor
ScheduleEditor * m_editor
Definition: scheduleeditor.h:265
SchedOptMixin::m_ruleactiveCheck
MythUICheckBox * m_ruleactiveCheck
Definition: scheduleeditor.h:46
mythcontext.h
ScheduleEditor::Q_DISABLE_COPY
Q_DISABLE_COPY(ScheduleEditor)
metadatafactory.h
PostProcMixin::m_userjob4Check
MythUICheckBox * m_userjob4Check
Definition: scheduleeditor.h:108
SchedOptEditor::SchedOptEditor
SchedOptEditor(MythScreenStack *parent, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:969
SchedOptMixin::m_dupmethodList
MythUIButtonList * m_dupmethodList
Definition: scheduleeditor.h:42
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:114
ScheduleEditor::m_sendSig
bool m_sendSig
Definition: scheduleeditor.h:208
SchedOptEditor
Select schedule options.
Definition: scheduleeditor.h:274
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:27
SchedOptMixin::m_inputList
MythUIButtonList * m_inputList
Definition: scheduleeditor.h:45
StoreOptMixin::m_other
StoreOptMixin * m_other
Definition: scheduleeditor.h:85
ArtworkMap
QMultiMap< VideoArtworkType, ArtworkInfo > ArtworkMap
Definition: metadataimagehelper.h:31
MetadataOptions::m_localFanartButton
MythUIButton * m_localFanartButton
Definition: scheduleeditor.h:417
StoreOptEditor
Select storage options.
Definition: scheduleeditor.h:312
StoreOptMixin::StoreOptMixin
StoreOptMixin(MythScreenType &screen, RecordingRule *rule, StoreOptMixin *other=nullptr)
Definition: scheduleeditor.h:60
StoreOptMixin::m_recprofileList
MythUIButtonList * m_recprofileList
Definition: scheduleeditor.h:74
MetadataOptions::FindNetArt
void FindNetArt(VideoArtworkType type)
Definition: scheduleeditor.cpp:1603
StoreOptMixin::SetRecGroup
void SetRecGroup(int recgroupID, QString recgroup)
Definition: scheduleeditor.cpp:2616
ScheduleEditor::showUpcomingByTitle
void showUpcomingByTitle(void)
Definition: scheduleeditor.cpp:635
StoreOptMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:63
MetadataOptions::m_busyPopup
MythUIBusyDialog * m_busyPopup
Definition: scheduleeditor.h:404
MetadataOptions::m_inetrefEdit
MythUITextEdit * m_inetrefEdit
Definition: scheduleeditor.h:410
ScheduleEditor::m_filtersButton
MythUIButton * m_filtersButton
Definition: scheduleeditor.h:221
FilterOptMixin::ToggleSelected
static void ToggleSelected(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:2322
FilterOptMixin
Mixin for Filters.
Definition: scheduleeditor.h:118
ScheduleEditor::m_recordingRule
RecordingRule * m_recordingRule
Definition: scheduleeditor.h:206
recordingrule.h
PostProcMixin::m_transcodeprofileList
MythUIButtonList * m_transcodeprofileList
Definition: scheduleeditor.h:104
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:86
SchedOptEditor::Save
void Save(void) override
Definition: scheduleeditor.cpp:1019
SchedOptMixin::m_endoffsetSpin
MythUISpinBox * m_endoffsetSpin
Definition: scheduleeditor.h:41
ScheduleEditor::m_postProcButton
MythUIButton * m_postProcButton
Definition: scheduleeditor.h:217
StoreOptMixin::m_storagegroupList
MythUIButtonList * m_storagegroupList
Definition: scheduleeditor.h:76
ScheduleEditor
Construct a recording schedule.
Definition: scheduleeditor.h:143
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:238
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:136
SchedOptMixin::m_autoExtendList
MythUIButtonList * m_autoExtendList
Definition: scheduleeditor.h:44
ScheduleEditor::kPostProcView
@ kPostProcView
Definition: scheduleeditor.h:233
MetadataOptions::OnArtworkSearchDone
void OnArtworkSearchDone(MetadataLookup *lookup)
Definition: scheduleeditor.cpp:1618
SchedFilterEditor::Load
void Load(void) override
Definition: scheduleeditor.cpp:1073
PostProcMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:2668
ScheduleEditor::TranscodeChanged
void TranscodeChanged(bool enable)
Definition: scheduleeditor.cpp:386
TV
Control TV playback.
Definition: tv_play.h:154
ScheduleEditor::kFilterView
@ kFilterView
Definition: scheduleeditor.h:231