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  Q_OBJECT
152  public:
153  ScheduleEditor(MythScreenStack *parent, RecordingInfo* recinfo,
154  TV *player = nullptr);
155  ScheduleEditor(MythScreenStack *parent, RecordingRule* recrule,
156  TV *player = nullptr);
157  ~ScheduleEditor() override;
158 
159  bool Create(void) override; // MythScreenType
160  bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
161  void customEvent(QEvent *event) override; // ScheduleCommon
162 
163  void showMenu(void);
164  void showUpcomingByRule(void);
165  void showUpcomingByTitle(void);
166 
168  static void *RunScheduleEditor(ProgramInfo *proginfo, void *player = nullptr);
169 
170  signals:
171  void ruleSaved(int ruleId);
172  void ruleDeleted(int ruleId);
173  void templateLoaded(void);
174 
175  public slots:
176  void ShowSchedOpt(void);
177  void ShowFilters(void);
178  void ShowStoreOpt(void);
179  void ShowPostProc(void);
180  void ShowMetadataOptions(void);
181  void ShowPreviousView(void);
182  void ShowNextView(void);
183  void ShowPreview(void);
184  void Save(void);
185 
186  protected slots:
187  void RuleChanged(MythUIButtonListItem *item);
189  static void FilterChanged(MythUIButtonListItem *item);
191  void PromptForRecGroup(void);
192  void TranscodeChanged(bool enable);
193  void ShowSchedInfo(void);
194  void ChildClosing(void);
195  void Close(void) override; // MythScreenType
196 
197  private:
199  void Load(void) override; // MythScreenType
200  void LoadTemplate(const QString& name);
201  void DeleteRule(void);
202 
203  void showTemplateMenu(void);
204 
205  ProgramInfo *GetCurrentProgram(void) const override // ScheduleCommon
206  { return m_recInfo; };
207 
210 
211  bool m_sendSig {false};
212 
215 
217 
225 
226  TV *m_player {nullptr};
227 
228  bool m_loaded {false};
229 
230  enum View
231  {
238  };
239 
242 };
243 
245 {
246  Q_OBJECT
247  protected:
248  SchedEditChild(MythScreenStack *parent, const QString &name,
249  ScheduleEditor &editor, RecordingRule &rule,
250  RecordingInfo *recinfo);
251  ~SchedEditChild() override = default;
252 
253  bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
254  virtual bool CreateEditChild(
255  const QString &xmlfile, const QString &winname, bool isTemplate);
256 
257  signals:
258  void Closing(void);
259 
260  public slots:
261  void Close(void) override; // MythScreenType
262  void Load(void) override = 0; // MythScreenType
263  virtual void Save(void) = 0;
264 
265  protected:
266  void SetTextFromMaps(void);
267 
271 
275 };
276 
278 {
279  Q_OBJECT
280  public:
282  RecordingRule &rule, RecordingInfo *recinfo);
283  ~SchedOptEditor() override = default;
284 
285  bool Create(void) override; // MythScreenType
286 
287  protected slots:
289 
290  private:
291  void Load(void) override; // SchedEditChild
292  void Save(void) override; // SchedEditChild
293 
295 };
296 
298 {
299  Q_OBJECT
300  public:
302  RecordingRule &rule, RecordingInfo *recinfo);
303  ~SchedFilterEditor() override = default;
304 
305  bool Create(void) override; // MythScreenType
306 
307  protected slots:
308  static void ToggleSelected(MythUIButtonListItem *item);
309 
310  private:
311  void Load(void) override; // SchedEditChild
312  void Save(void) override; // SchedEditChild
313 };
314 
316 {
317  Q_OBJECT
318  public:
320  RecordingRule &rule, RecordingInfo *recinfo);
321  ~StoreOptEditor() override = default;
322 
323  bool Create(void) override; // MythScreenType
324  void customEvent(QEvent *event) override; // MythUIType
325 
326  protected slots:
328  void PromptForRecGroup(void);
329 
330  private:
331  void Load(void) override; // SchedEditChild
332  void Save(void) override; // SchedEditChild
333 };
334 
336 {
337  Q_OBJECT
338  public:
340  RecordingRule &rule, RecordingInfo *recinfo);
341  ~PostProcEditor() override = default;
342 
343  bool Create(void) override; // MythScreenType
344 
345  protected slots:
346  void TranscodeChanged(bool enable);
347 
348  private:
349  void Load(void) override; // SchedEditChild
350  void Save(void) override; // SchedEditChild
351 };
352 
354 {
355  Q_OBJECT
356  public:
358  RecordingRule &rule, RecordingInfo *recinfo);
359  ~MetadataOptions() override;
360 
361  bool Create(void) override; // MythScreenType
362 
363  protected slots:
364  void ClearInetref();
365  void PerformQuery();
366  void SelectLocalFanart();
367  void SelectLocalCoverart();
368  void SelectLocalBanner();
369  void SelectOnlineFanart();
370  void SelectOnlineCoverart();
371  void SelectOnlineBanner();
372  void QueryComplete(MetadataLookup *lookup);
374  void OnImageSearchListSelection(const ArtworkInfo& info,
376  void OnArtworkSearchDone(MetadataLookup *lookup);
378 
379  void ValuesChanged();
380 
381  private:
382  void Load(void) override; // SchedEditChild
383  void Save(void) override; // SchedEditChild
384 
385  void CreateBusyDialog(const QString& title);
386  static void FindImagePopup(const QString &prefix,
387  const QString &prefixAlt,
388  QObject &inst,
389  const QString &returnEvent);
390  static QStringList GetSupportedImageExtensionFilter();
391 
394 
395  bool CanSetArtwork(void);
396 
397  void customEvent(QEvent *event) override; // MythUIType
398 
399  // For all metadata downloads
401 
402  // For image picking
405 
408 
409  MythUIImage *m_fanart {nullptr};
411  MythUIImage *m_banner {nullptr};
412 
414 
417 
426 
428 };
429 
430 #endif
MetadataOptions::~MetadataOptions
~MetadataOptions() override
Definition: scheduleeditor.cpp:1261
ScheduleEditor::m_view
int m_view
Definition: scheduleeditor.h:240
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:237
MetadataOptions::CanSetArtwork
bool CanSetArtwork(void)
Definition: scheduleeditor.cpp:1553
SchedOptEditor::Create
bool Create(void) override
Definition: scheduleeditor.cpp:980
ScheduleEditor::View
View
Definition: scheduleeditor.h:230
VideoArtworkType
VideoArtworkType
Definition: metadataimagehelper.h:10
MetadataOptions::m_queryButton
MythUIButton * m_queryButton
Definition: scheduleeditor.h:419
MetadataOptions::OnImageSearchListSelection
void OnImageSearchListSelection(const ArtworkInfo &info, VideoArtworkType type)
Definition: scheduleeditor.cpp:1406
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:1514
RefCountHandler
Definition: referencecounterlist.h:17
SchedOptMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:37
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:2259
MetadataOptions::m_imageDownload
MetadataImageDownload * m_imageDownload
Definition: scheduleeditor.h:404
MetadataOptions::SelectOnlineFanart
void SelectOnlineFanart()
Definition: scheduleeditor.cpp:1465
MetadataImageDownload
Definition: metadataimagedownload.h:87
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:1567
ScheduleEditor::customEvent
void customEvent(QEvent *event) override
Definition: scheduleeditor.cpp:562
mythdb.h
SchedOptEditor::DupMethodChanged
void DupMethodChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:1026
MetadataOptions::ClearInetref
void ClearInetref()
Definition: scheduleeditor.cpp:1384
MetadataType
MetadataType
Definition: metadatacommon.h:41
MetadataOptions::customEvent
void customEvent(QEvent *event) override
Definition: scheduleeditor.cpp:1703
SchedEditChild::SetTextFromMaps
void SetTextFromMaps(void)
Definition: scheduleeditor.cpp:945
PostProcMixin::m_userjob3Check
MythUICheckBox * m_userjob3Check
Definition: scheduleeditor.h:111
SchedOptMixin::SchedOptMixin
SchedOptMixin(MythScreenType &screen, RecordingRule *rule, SchedOptMixin *other=nullptr)
Definition: scheduleeditor.cpp:1919
StoreOptEditor::MaxEpisodesChanged
void MaxEpisodesChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:1145
MetadataOptions::QueryComplete
void QueryComplete(MetadataLookup *lookup)
Definition: scheduleeditor.cpp:1495
PostProcEditor::~PostProcEditor
~PostProcEditor() override=default
FilterOptMixin::m_activeFiltersList
MythUIButtonList * m_activeFiltersList
Definition: scheduleeditor.h:136
ScheduleEditor::Create
bool Create(void) override
Definition: scheduleeditor.cpp:127
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:633
ScheduleEditor::MaxEpisodesChanged
void MaxEpisodesChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:379
PostProcMixin::m_userjob2Check
MythUICheckBox * m_userjob2Check
Definition: scheduleeditor.h:110
MetadataOptions::m_metadataFactory
MetadataFactory * m_metadataFactory
Definition: scheduleeditor.h:400
MetadataOptions::SelectLocalBanner
void SelectLocalBanner()
Definition: scheduleeditor.cpp:1454
RecordingInfo
Holds information on a TV Program one might wish to record.
Definition: recordinginfo.h:34
SchedFilterEditor::Create
bool Create(void) override
Definition: scheduleeditor.cpp:1047
StoreOptEditor::customEvent
void customEvent(QEvent *event) override
Definition: scheduleeditor.cpp:1155
ScheduleEditor::Save
void Save(void)
Definition: scheduleeditor.cpp:394
ScheduleEditor::ScheduleEditor
ScheduleEditor(MythScreenStack *parent, RecordingInfo *recinfo, TV *player=nullptr)
Definition: scheduleeditor.cpp:87
ScheduleEditor::~ScheduleEditor
~ScheduleEditor() override
Definition: scheduleeditor.cpp:115
ScheduleEditor::DupMethodChanged
void DupMethodChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:369
SchedEditChild::~SchedEditChild
~SchedEditChild() override=default
SchedEditChild::SchedEditChild
SchedEditChild(MythScreenStack *parent, const QString &name, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:874
MetadataOptions::m_inetrefClear
MythUIButton * m_inetrefClear
Definition: scheduleeditor.h:418
SchedOptEditor::m_filtersButton
MythUIButton * m_filtersButton
Definition: scheduleeditor.h:294
ScheduleEditor::showTemplateMenu
void showTemplateMenu(void)
Definition: scheduleeditor.cpp:835
SchedOptMixin::m_prioritySpin
MythUISpinBox * m_prioritySpin
Definition: scheduleeditor.h:44
MythScreenStack
Definition: mythscreenstack.h:15
SchedOptEditor::~SchedOptEditor
~SchedOptEditor() override=default
MetadataOptions::m_episodeSpin
MythUISpinBox * m_episodeSpin
Definition: scheduleeditor.h:416
ScheduleEditor::GetCurrentProgram
ProgramInfo * GetCurrentProgram(void) const override
Definition: scheduleeditor.h:205
ScheduleEditor::ShowPreviousView
void ShowPreviousView(void)
Definition: scheduleeditor.cpp:741
SchedEditChild::m_recordingRule
RecordingRule * m_recordingRule
Definition: scheduleeditor.h:269
StoreOptMixin::m_autoexpireCheck
MythUICheckBox * m_autoexpireCheck
Definition: scheduleeditor.h:84
RecordingRule
Internal representation of a recording rule, mirrors the record table.
Definition: recordingrule.h:32
PostProcEditor::TranscodeChanged
void TranscodeChanged(bool enable)
Definition: scheduleeditor.cpp:1228
MythUITextEdit
A text entry and edit widget.
Definition: mythuitextedit.h:32
MetadataOptions::m_fanart
MythUIImage * m_fanart
Definition: scheduleeditor.h:409
StoreOptMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:2306
slots
unsigned int slots[4]
Definition: element.cpp:38
MetadataDownload
Definition: metadatadownload.h:35
ScheduleEditor::ShowPostProc
void ShowPostProc(void)
Definition: scheduleeditor.cpp:474
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:1222
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:44
SchedOptMixin::m_rule
RecordingRule * m_rule
Definition: scheduleeditor.h:55
SchedEditChild
Definition: scheduleeditor.h:244
ScheduleEditor::kMainView
@ kMainView
Definition: scheduleeditor.h:232
SchedFilterEditor::ToggleSelected
static void ToggleSelected(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:1086
ScheduleEditor::ruleSaved
void ruleSaved(int ruleId)
MetadataOptions::m_coverart
MythUIImage * m_coverart
Definition: scheduleeditor.h:410
MetadataOptions::MetadataOptions
MetadataOptions(MythScreenStack *parent, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:1245
MetadataOptions::Load
void Load(void) override
Definition: scheduleeditor.cpp:1365
StoreOptMixin::m_recgroupList
MythUIButtonList * m_recgroupList
Definition: scheduleeditor.h:79
schedulecommon.h
ScheduleEditor::DeleteRule
void DeleteRule(void)
Definition: scheduleeditor.cpp:419
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:1650
ScheduleEditor::m_rulesList
MythUIButtonList * m_rulesList
Definition: scheduleeditor.h:216
hardwareprofile.distros.mythtv_data.data_mythtv.prefix
string prefix
Definition: data_mythtv.py:40
ScheduleEditor::ChildClosing
void ChildClosing(void)
Definition: scheduleeditor.cpp:781
ScheduleEditor::ShowStoreOpt
void ShowStoreOpt(void)
Definition: scheduleeditor.cpp:449
MetadataOptions::Save
void Save(void) override
Definition: scheduleeditor.cpp:1480
ScheduleEditor::ShowMetadataOptions
void ShowMetadataOptions(void)
Definition: scheduleeditor.cpp:692
PostProcMixin
Mixin for post processing.
Definition: scheduleeditor.h:93
PostProcMixin::m_rule
RecordingRule * m_rule
Definition: scheduleeditor.h:117
MetadataLookup
Definition: metadatacommon.h:86
PostProcEditor::PostProcEditor
PostProcEditor(MythScreenStack *parent, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:1184
MetadataOptions::m_banner
MythUIImage * m_banner
Definition: scheduleeditor.h:411
ScheduleEditor::ShowSchedInfo
void ShowSchedInfo(void)
Definition: scheduleeditor.cpp:499
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:1390
SchedEditChild::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: scheduleeditor.cpp:882
MythUIButtonListItem
Definition: mythuibuttonlist.h:27
MetadataOptions::CreateBusyDialog
void CreateBusyDialog(const QString &title)
Definition: scheduleeditor.cpp:1370
SchedEditChild::m_recInfo
RecordingInfo * m_recInfo
Definition: scheduleeditor.h:270
SchedOptMixin::m_haveRepeats
bool m_haveRepeats
Definition: scheduleeditor.h:58
MetadataOptions::m_popupStack
MythScreenStack * m_popupStack
Definition: scheduleeditor.h:406
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:656
SchedOptMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:54
MetadataOptions::m_onlineBannerButton
MythUIButton * m_onlineBannerButton
Definition: scheduleeditor.h:425
ScheduleEditor::m_schedOptButton
MythUIButton * m_schedOptButton
Definition: scheduleeditor.h:218
ScheduleEditor::FilterChanged
static void FilterChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:374
MetadataOptions::SelectOnlineCoverart
void SelectOnlineCoverart()
Definition: scheduleeditor.cpp:1470
SchedOptMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2098
SchedEditChild::Closing
void Closing(void)
ScheduleEditor::kSchedOptView
@ kSchedOptView
Definition: scheduleeditor.h:233
ScheduleEditor::m_saveButton
MythUIButton * m_saveButton
Definition: scheduleeditor.h:213
SchedOptMixin::m_startoffsetSpin
MythUISpinBox * m_startoffsetSpin
Definition: scheduleeditor.h:45
ScheduleEditor::ShowSchedOpt
void ShowSchedOpt(void)
Definition: scheduleeditor.cpp:424
StoreOptEditor::~StoreOptEditor
~StoreOptEditor() override=default
SchedOptMixin::DupMethodChanged
void DupMethodChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:2161
SchedFilterEditor
Select schedule filters.
Definition: scheduleeditor.h:297
StoreOptMixin::CreateRecordingGroup
static int CreateRecordingGroup(const QString &groupName)
Definition: scheduleeditor.cpp:2610
MetadataOptions::m_onlineCoverartButton
MythUIButton * m_onlineCoverartButton
Definition: scheduleeditor.h:424
SchedEditChild::CreateEditChild
virtual bool CreateEditChild(const QString &xmlfile, const QString &winname, bool isTemplate)
Definition: scheduleeditor.cpp:918
ArtworkInfo
Definition: metadataimagehelper.h:21
PostProcMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2804
MetadataOptions::m_artworkMap
ArtworkMap m_artworkMap
Definition: scheduleeditor.h:427
MetadataOptions::m_seasonSpin
MythUISpinBox * m_seasonSpin
Definition: scheduleeditor.h:415
ScheduleEditor::ruleDeleted
void ruleDeleted(int ruleId)
ScheduleEditor::kStoreOptView
@ kStoreOptView
Definition: scheduleeditor.h:235
ScheduleEditor::m_schedInfoButton
MythUIButton * m_schedInfoButton
Definition: scheduleeditor.h:221
MetadataOptions::m_localBannerButton
MythUIButton * m_localBannerButton
Definition: scheduleeditor.h:422
StoreOptEditor::StoreOptEditor
StoreOptEditor(MythScreenStack *parent, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:1098
ScheduleEditor::showMenu
void showMenu(void)
Definition: scheduleeditor.cpp:796
ScheduleEditor::m_previewButton
MythUIButton * m_previewButton
Definition: scheduleeditor.h:222
FilterOptMixin::m_filtersList
MythUIButtonList * m_filtersList
Definition: scheduleeditor.h:135
StoreOptMixin::MaxEpisodesChanged
void MaxEpisodesChanged(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:2552
PostProcEditor
Select post-processing options.
Definition: scheduleeditor.h:335
ScheduleEditor::m_metadataButton
MythUIButton * m_metadataButton
Definition: scheduleeditor.h:223
StoreOptMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2492
MythUIButton
A single button widget.
Definition: mythuibutton.h:21
StoreOptMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2525
ScheduleCommon
Definition: schedulecommon.h:15
MetadataOptions::m_imageLookup
MetadataDownload * m_imageLookup
Definition: scheduleeditor.h:403
ScheduleEditor::m_player
TV * m_player
Definition: scheduleeditor.h:226
MetadataOptions::GetSupportedImageExtensionFilter
static QStringList GetSupportedImageExtensionFilter()
Definition: scheduleeditor.cpp:1540
ScheduleEditor::RunScheduleEditor
static void * RunScheduleEditor(ProgramInfo *proginfo, void *player=nullptr)
Callback.
Definition: scheduleeditor.cpp:66
ScheduleEditor::m_loaded
bool m_loaded
Definition: scheduleeditor.h:228
ScheduleEditor::kMetadataView
@ kMetadataView
Definition: scheduleeditor.h:237
MetadataOptions::m_onlineFanartButton
MythUIButton * m_onlineFanartButton
Definition: scheduleeditor.h:423
ScheduleEditor::PromptForRecGroup
void PromptForRecGroup(void)
Definition: scheduleeditor.cpp:384
PostProcMixin::TranscodeChanged
void TranscodeChanged(bool enable)
Definition: scheduleeditor.cpp:2831
PostProcMixin::Save
void Save(void)
Definition: scheduleeditor.cpp:2780
MythUIBusyDialog
Definition: mythprogressdialog.h:36
MetadataOptions::SelectOnlineBanner
void SelectOnlineBanner()
Definition: scheduleeditor.cpp:1475
SchedEditChild::Close
void Close(void) override
Definition: scheduleeditor.cpp:957
SchedEditChild::m_saveButton
MythUIButton * m_saveButton
Definition: scheduleeditor.h:273
SchedEditChild::Load
void Load(void) override=0
ScheduleEditor::templateLoaded
void templateLoaded(void)
FilterOptMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:2180
PostProcMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:2680
MetadataOptions
Select artwork and inetref for recordings.
Definition: scheduleeditor.h:353
PostProcMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:99
SchedEditChild::m_previewButton
MythUIButton * m_previewButton
Definition: scheduleeditor.h:274
FilterOptMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:139
ScheduleEditor::m_recInfo
RecordingInfo * m_recInfo
Definition: scheduleeditor.h:208
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:214
StoreOptMixin::m_maxepSpin
MythUISpinBox * m_maxepSpin
Definition: scheduleeditor.h:82
MetadataFactory
Definition: metadatafactory.h:85
SchedEditChild::m_backButton
MythUIButton * m_backButton
Definition: scheduleeditor.h:272
MetadataOptions::SelectLocalFanart
void SelectLocalFanart()
Definition: scheduleeditor.cpp:1432
StoreOptMixin
Mixin for storage options.
Definition: scheduleeditor.h:61
MetadataOptions::Create
bool Create(void) override
Definition: scheduleeditor.cpp:1278
SchedOptMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2132
StoreOptEditor::PromptForRecGroup
void PromptForRecGroup(void)
Definition: scheduleeditor.cpp:1150
SchedFilterEditor::SchedFilterEditor
SchedFilterEditor(MythScreenStack *parent, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
Definition: scheduleeditor.cpp:1038
MetadataOptions::m_localCoverartButton
MythUIButton * m_localCoverartButton
Definition: scheduleeditor.h:421
ScheduleEditor::ShowNextView
void ShowNextView(void)
Definition: scheduleeditor.cpp:761
PostProcMixin::PostProcMixin
PostProcMixin(MythScreenType &screen, RecordingRule *rule, PostProcMixin *other=nullptr)
Definition: scheduleeditor.h:96
ScheduleEditor::m_storeOptButton
MythUIButton * m_storeOptButton
Definition: scheduleeditor.h:219
ScheduleEditor::LoadTemplate
void LoadTemplate(const QString &name)
Definition: scheduleeditor.cpp:333
recordinginfo.h
StoreOptEditor::Load
void Load(void) override
Definition: scheduleeditor.cpp:1139
StoreOptMixin::m_screen
MythScreenType * m_screen
Definition: scheduleeditor.h:87
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:1443
StoreOptEditor::Save
void Save(void) override
Definition: scheduleeditor.cpp:1172
SchedOptMixin::m_loaded
bool m_loaded
Definition: scheduleeditor.h:57
ScheduleEditor::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: scheduleeditor.cpp:526
SchedOptMixin::m_other
SchedOptMixin * m_other
Definition: scheduleeditor.h:56
MetadataOptions::ValuesChanged
void ValuesChanged()
Definition: scheduleeditor.cpp:1679
FilterOptMixin::RuleChanged
void RuleChanged(void)
Definition: scheduleeditor.cpp:2278
SchedOptMixin::m_dupscopeList
MythUIButtonList * m_dupscopeList
Definition: scheduleeditor.h:48
MetadataOptions::OnSearchListSelection
void OnSearchListSelection(const RefCountHandler< MetadataLookup > &lookup)
Definition: scheduleeditor.cpp:1401
FilterOptMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:2195
StoreOptMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:2347
SchedOptMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:1926
SchedOptMixin::Load
void Load(void)
Definition: scheduleeditor.cpp:1969
StoreOptMixin::PromptForRecGroup
void PromptForRecGroup(void)
Definition: scheduleeditor.cpp:2563
ScheduleEditor::ShowFilters
void ShowFilters(void)
Definition: scheduleeditor.cpp:716
SchedEditChild::m_editor
ScheduleEditor * m_editor
Definition: scheduleeditor.h:268
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:971
SchedOptMixin::m_dupmethodList
MythUIButtonList * m_dupmethodList
Definition: scheduleeditor.h:47
MythUISpinBox
A widget for offering a range of numerical values where only the the bounding values and interval are...
Definition: mythuispinbox.h:16
PostProcMixin::m_other
PostProcMixin * m_other
Definition: scheduleeditor.h:118
ScheduleEditor::m_sendSig
bool m_sendSig
Definition: scheduleeditor.h:211
SchedOptEditor
Select schedule options.
Definition: scheduleeditor.h:277
PostProcEditor::Save
void Save(void) override
Definition: scheduleeditor.cpp:1233
SchedFilterEditor::Save
void Save(void) override
Definition: scheduleeditor.cpp:1081
SchedOptMixin
Mixin for schedule options.
Definition: scheduleeditor.h:32
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:420
StoreOptEditor
Select storage options.
Definition: scheduleeditor.h:315
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:1605
StoreOptMixin::SetRecGroup
void SetRecGroup(int recgroupID, QString recgroup)
Definition: scheduleeditor.cpp:2585
ScheduleEditor::showUpcomingByTitle
void showUpcomingByTitle(void)
Definition: scheduleeditor.cpp:638
StoreOptMixin::SetRule
void SetRule(RecordingRule *rule)
Definition: scheduleeditor.h:67
MetadataOptions::m_busyPopup
MythUIBusyDialog * m_busyPopup
Definition: scheduleeditor.h:407
MetadataOptions::m_inetrefEdit
MythUITextEdit * m_inetrefEdit
Definition: scheduleeditor.h:413
ScheduleEditor::m_filtersButton
MythUIButton * m_filtersButton
Definition: scheduleeditor.h:224
FilterOptMixin::ToggleSelected
static void ToggleSelected(MythUIButtonListItem *item)
Definition: scheduleeditor.cpp:2291
FilterOptMixin
Mixin for Filters.
Definition: scheduleeditor.h:122
ScheduleEditor::m_recordingRule
RecordingRule * m_recordingRule
Definition: scheduleeditor.h:209
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:143
SchedOptEditor::Load
void Load(void) override
Definition: scheduleeditor.cpp:1015
StoreOptEditor::Create
bool Create(void) override
Definition: scheduleeditor.cpp:1107
StoreOptMixin::m_loaded
bool m_loaded
Definition: scheduleeditor.h:90
SchedOptEditor::Save
void Save(void) override
Definition: scheduleeditor.cpp:1021
SchedOptMixin::m_endoffsetSpin
MythUISpinBox * m_endoffsetSpin
Definition: scheduleeditor.h:46
ScheduleEditor::m_postProcButton
MythUIButton * m_postProcButton
Definition: scheduleeditor.h:220
StoreOptMixin::m_storagegroupList
MythUIButtonList * m_storagegroupList
Definition: scheduleeditor.h:80
ScheduleEditor
Construct a recording schedule.
Definition: scheduleeditor.h:147
ScheduleEditor::showUpcomingByRule
void showUpcomingByRule(void)
Definition: scheduleeditor.cpp:616
PostProcEditor::Create
bool Create(void) override
Definition: scheduleeditor.cpp:1193
ScheduleEditor::m_child
SchedEditChild * m_child
Definition: scheduleeditor.h:241
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:140
ScheduleEditor::kPostProcView
@ kPostProcView
Definition: scheduleeditor.h:236
MetadataOptions::OnArtworkSearchDone
void OnArtworkSearchDone(MetadataLookup *lookup)
Definition: scheduleeditor.cpp:1620
SchedFilterEditor::Load
void Load(void) override
Definition: scheduleeditor.cpp:1075
PostProcMixin::Create
void Create(bool *err)
Definition: scheduleeditor.cpp:2637
ScheduleEditor::TranscodeChanged
void TranscodeChanged(bool enable)
Definition: scheduleeditor.cpp:389
TV
Control TV playback.
Definition: tv_play.h:280
ScheduleEditor::kFilterView
@ kFilterView
Definition: scheduleeditor.h:234