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
unsigned int slots[4]
Definition: element.c:38
MythUITextEdit * m_titleEdit
QDateTime m_nowDateTime
void recordClicked(void)
A widget for offering a range of numerical values where only the the bounding values and interval are...
Definition: mythuispinbox.h:16
void scheduleCreated(int ruleid)
MythUIButtonList * m_channelList
bool Create(void) override
ManualSchedule(MythScreenStack *parent)
~ManualSchedule(void) override=default
QList< uint32_t > m_chanids
void dateChanged(void)
Holds information on recordings and videos.
Definition: programinfo.h:67
QString m_startString
MythUISpinBox * m_starthourSpin
MythUIButtonList * m_startdateList
A text entry and edit widget.
QDateTime m_startDateTime
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
A single button widget.
Definition: mythuibutton.h:21
void hourRollover(void)
MythUISpinBox * m_durationSpin
MythUISpinBox * m_startminuteSpin
void minuteRollover(void)
Screen in which all other widgets are contained and rendered.
QString m_chanidString
QString m_categoryString
MythUIButton * m_recordButton
MythUIButton * m_cancelButton