MythTV  master
manualschedule.h
Go to the documentation of this file.
1 #ifndef MANUALSCHEDULE_H_
2 #define MANUALSCHEDULE_H_
3 
4 // C++
5 #include <cstdint> // for [u]int[32,64]_t
6 
7 #include <QDateTime>
8 #include <QStringList>
9 
10 #include "mythscreentype.h"
11 
12 class QTimer;
13 class ProgramInfo;
14 
15 class MythUIButton;
16 class MythUIButtonList;
17 class MythUISpinBox;
18 class MythUITextEdit;
19 
21 {
22  Q_OBJECT
23  public:
24 
25  explicit ManualSchedule(MythScreenStack *parent);
26  ~ManualSchedule(void) override = default;
27 
28  bool Create(void) override; // MythScreenType
29 
30  protected slots:
31  void dateChanged(void);
32  void hourRollover(void);
33  void minuteRollover(void);
34  void recordClicked(void);
35  void scheduleCreated(int ruleid);
36 
37  private:
38  void connectSignals();
39  void disconnectSignals();
40 
41  int m_daysahead {0};
42 
43  QList<uint32_t> m_chanids;
44 
46 
49 
53 
56 
57  QDateTime m_nowDateTime;
58  QDateTime m_startDateTime;
60  QString m_startString;
61  QString m_chanidString;
62 
63 };
64 
65 #endif
ManualSchedule::m_nowDateTime
QDateTime m_nowDateTime
Definition: manualschedule.h:57
ManualSchedule::m_cancelButton
MythUIButton * m_cancelButton
Definition: manualschedule.h:55
ManualSchedule::m_channelList
MythUIButtonList * m_channelList
Definition: manualschedule.h:47
ManualSchedule::minuteRollover
void minuteRollover(void)
Definition: manualschedule.cpp:158
ManualSchedule::m_startdateList
MythUIButtonList * m_startdateList
Definition: manualschedule.h:48
ManualSchedule
Definition: manualschedule.h:20
MythScreenStack
Definition: mythscreenstack.h:16
MythUITextEdit
A text entry and edit widget.
Definition: mythuitextedit.h:32
ManualSchedule::m_startminuteSpin
MythUISpinBox * m_startminuteSpin
Definition: manualschedule.h:51
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:44
ManualSchedule::m_chanidString
QString m_chanidString
Definition: manualschedule.h:61
ManualSchedule::Create
bool Create(void) override
Definition: manualschedule.cpp:39
ManualSchedule::disconnectSignals
void disconnectSignals()
Definition: manualschedule.cpp:137
ManualSchedule::m_chanids
QList< uint32_t > m_chanids
Definition: manualschedule.h:43
ManualSchedule::recordClicked
void recordClicked(void)
Definition: manualschedule.cpp:204
ManualSchedule::m_starthourSpin
MythUISpinBox * m_starthourSpin
Definition: manualschedule.h:50
MythUIButton
A single button widget.
Definition: mythuibutton.h:21
ManualSchedule::ManualSchedule
ManualSchedule(MythScreenStack *parent)
Definition: manualschedule.cpp:32
ManualSchedule::~ManualSchedule
~ManualSchedule(void) override=default
ManualSchedule::dateChanged
void dateChanged(void)
Definition: manualschedule.cpp:172
ManualSchedule::hourRollover
void hourRollover(void)
Definition: manualschedule.cpp:144
ProgramInfo
Holds information on recordings and videos.
Definition: programinfo.h:67
ManualSchedule::m_categoryString
QString m_categoryString
Definition: manualschedule.h:59
ManualSchedule::m_durationSpin
MythUISpinBox * m_durationSpin
Definition: manualschedule.h:52
ManualSchedule::m_titleEdit
MythUITextEdit * m_titleEdit
Definition: manualschedule.h:45
ManualSchedule::m_recordButton
MythUIButton * m_recordButton
Definition: manualschedule.h:54
ManualSchedule::scheduleCreated
void scheduleCreated(int ruleid)
Definition: manualschedule.cpp:235
MythUISpinBox
A widget for offering a range of numerical values where only the the bounding values and interval are...
Definition: mythuispinbox.h:16
ManualSchedule::m_startString
QString m_startString
Definition: manualschedule.h:60
ManualSchedule::connectSignals
void connectSignals()
Definition: manualschedule.cpp:127
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition: mythuibuttonlist.h:151
ManualSchedule::m_daysahead
int m_daysahead
Definition: manualschedule.h:41
ManualSchedule::m_startDateTime
QDateTime m_startDateTime
Definition: manualschedule.h:58
mythscreentype.h