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
11
12class QTimer;
13class ProgramInfo;
14
15class MythUIButton;
17class MythUISpinBox;
18class 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;
62
63};
64
65#endif
MythUISpinBox * m_starthourSpin
QString m_startString
MythUITextEdit * m_titleEdit
bool Create(void) override
MythUIButtonList * m_startdateList
ManualSchedule(MythScreenStack *parent)
QString m_categoryString
MythUISpinBox * m_durationSpin
void scheduleCreated(int ruleid)
~ManualSchedule(void) override=default
MythUIButtonList * m_channelList
QString m_chanidString
QDateTime m_startDateTime
void minuteRollover(void)
void dateChanged(void)
MythUISpinBox * m_startminuteSpin
void recordClicked(void)
QList< uint32_t > m_chanids
MythUIButton * m_recordButton
MythUIButton * m_cancelButton
void hourRollover(void)
QDateTime m_nowDateTime
Screen in which all other widgets are contained and rendered.
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
A single button widget.
Definition: mythuibutton.h:22
A widget for offering a range of numerical values where only the the bounding values and interval are...
Definition: mythuispinbox.h:23
A text entry and edit widget.
Holds information on recordings and videos.
Definition: programinfo.h:68