MythTV  master
guidegrid.h
Go to the documentation of this file.
1 // -*- Mode: c++ -*-
2 #ifndef GUIDEGRID_H_
3 #define GUIDEGRID_H_
4 
5 // c++
6 #include <list>
7 #include <utility>
8 #include <vector>
9 
10 // qt
11 #include <QString>
12 #include <QDateTime>
13 #include <QEvent>
14 
15 // myth
16 #include "mythscreentype.h"
17 #include "programinfo.h"
18 #include "channelgroup.h"
19 #include "channelutil.h"
20 #include "mythuiguidegrid.h"
21 #include "mthreadpool.h"
22 #include "tv_play.h"
23 
24 // mythfrontend
25 #include "schedulecommon.h"
26 
27 class ProgramInfo;
28 class QTimer;
29 class MythUIButtonList;
30 class MythUIGuideGrid;
31 
32 using db_chan_list_t = std::vector<ChannelInfo> ;
33 using db_chan_list_list_t = std::vector<db_chan_list_t>;
34 using ProgInfoGuideArray = std::array<std::array<ProgramInfo *,MAX_DISPLAY_TIMES>,MAX_DISPLAY_CHANS>;
35 
36 class JumpToChannel;
38 {
39  public:
40  virtual ~JumpToChannelListener() = default;
41  virtual void GoTo(int start, int cur_row) = 0;
42  virtual void SetJumpToChannel(JumpToChannel *ptr) = 0;
43  virtual int FindChannel(uint chanid, const QString &channum,
44  bool exact = true) const = 0;
45 };
46 
47 class JumpToChannel : public QObject
48 {
49  Q_OBJECT
50 
51  public:
53  JumpToChannelListener *parent, QString start_entry,
54  int start_chan_idx, int cur_chan_idx, uint rows_disp);
55 
56  bool ProcessEntry(const QStringList &actions, const QKeyEvent *e);
57 
58  QString GetEntry(void) const { return m_entry; }
59 
60  public slots:
61  virtual void deleteLater(void);
62 
63  private:
64  ~JumpToChannel() override = default;
65  bool Update(void);
66 
67  private:
69  QString m_entry;
73  QTimer *m_timer {nullptr}; // audited ref #5318
74 
75  static const uint kJumpToChannelTimeout = 3500; // ms
76 };
77 
78 // GuideUIElement encapsulates the arguments to
79 // MythUIGuideGrid::SetProgramInfo(). The elements are prepared in a
80 // background thread and then sent via an event to the UI thread for
81 // rendering.
83 public:
84  GuideUIElement(int row, int col, const QRect area,
85  QString title, QString category,
86  int arrow, int recType, int recStat, bool selected)
87  : m_row(row), m_col(col), m_area(area), m_title(std::move(title)),
88  m_category(std::move(category)), m_arrow(arrow), m_recType(recType),
89  m_recStat(recStat), m_selected(selected) {}
90  const int m_row;
91  const int m_col;
92  const QRect m_area;
93  const QString m_title;
94  const QString m_category;
95  const int m_arrow;
96  const int m_recType;
97  const int m_recStat;
98  const bool m_selected;
99 };
100 
102 {
103  Q_OBJECT;
104 
105  public:
106  // Use this function to instantiate a guidegrid instance.
107  static void RunProgramGuide(uint startChanId,
108  const QString &startChanNum,
109  const QDateTime &startTime,
110  TV *player = nullptr,
111  bool embedVideo = false,
112  bool allowFinder = true,
113  int changrpid = -1);
114 
115  ChannelInfoList GetSelection(void) const;
116 
117  void GoTo(int start, int cur_row) override; // JumpToChannelListener
118  void SetJumpToChannel(JumpToChannel *ptr) override; // JumpToChannelListener
119 
120  bool Create(void) override; // MythScreenType
121  void Load(void) override; // MythScreenType
122  void Init(void) override; // MythScreenType
123  bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
124  bool gestureEvent(MythGestureEvent *event) override; // MythScreenType
125 
126  void aboutToShow() override; // MythScreenType
127  void aboutToHide() override; // MythScreenType
128  // Allow class GuideUpdateProgramRow to figure out whether the
129  // current start time/channel coordinates are the same, so that it can
130  // skip the work if not.
132  QDateTime GetCurrentStartTime(void) const { return m_currentStartTime; }
133 
134  public slots:
135  void PlayerExiting(TV* Player);
136 
137  signals:
138  void ChangeVolume(bool Up, int NewVolume = -1);
139  void ToggleMute(bool CycleChannels);
140 
141  protected slots:
142  void cursorLeft();
143  void cursorRight();
144  void cursorDown();
145  void cursorUp();
146 
147  void toggleGuideListing();
148  void toggleChannelFavorite(int grpid = -1);
149  void ChannelGroupMenu(int mode = 0);
150  void generateListings();
151 
152  void enter();
153 
154  void showProgFinder();
155  void channelUpdate();
156 
157  void deleteRule();
158 
159  void Close() override; // MythScreenType
160  void customEvent(QEvent *event) override; // ScheduleCommon
161 
162  protected:
163  GuideGrid(MythScreenStack *parentStack,
164  uint chanid, QString channum,
165  const QDateTime &startTime,
166  TV *player = nullptr,
167  bool embedVideo = false,
168  bool allowFinder = true,
169  int changrpid = -1);
170  ~GuideGrid() override;
171  ProgramInfo *GetCurrentProgram(void) const override // ScheduleCommon
172  //cppcheck-suppress CastIntegerToAddressAtReturn
174 
175  private slots:
176  void updateTimeout(void);
177  void updateInfo(void);
178  void updateChannels(void);
179  void updateJumpToChannel(void);
180 
181  private:
182 
184 
185  enum MoveVector {
196  };
197 
198  void moveLeftRight(MoveVector movement);
199  void moveUpDown(MoveVector movement);
200  void moveToTime(const QDateTime& datetime);
201 
202  void ShowMenu(void) override; // MythScreenType
203  void ShowRecordingMenu(void);
204  void ShowJumpToTime(void);
205 
206  int FindChannel(uint chanid, const QString &channum,
207  bool exact = true) const override; // JumpToChannelListener
208 
209  void fillChannelInfos(bool gotostartchannel = true);
210  void fillTimeInfos(void);
211  void fillProgramInfos(bool useExistingData = false);
212  // Set row=-1 to fill all rows.
213  void fillProgramRowInfos(int row, bool useExistingData);
214 public:
215  // These need to be public so that the helper classes can operate.
217  void updateProgramsUI(unsigned int firstRow, unsigned int numRows,
218  int progPast,
219  const QVector<ProgramList*> &proglists,
220  const ProgInfoGuideArray &programInfos,
221  const std::list<GuideUIElement> &elements);
222  void updateChannelsNonUI(QVector<ChannelInfo *> &chinfos,
223  QVector<bool> &unavailables);
224  void updateChannelsUI(const QVector<ChannelInfo *> &chinfos,
225  const QVector<bool> &unavailables);
226 private:
227 
228  void setStartChannel(int newStartChannel);
229 
230  ChannelInfo *GetChannelInfo(uint chan_idx, int sel = -1);
231  const ChannelInfo *GetChannelInfo(uint chan_idx, int sel = -1) const;
232  uint GetChannelCount(void) const;
233  int GetStartChannelOffset(int row = -1) const;
234 
235  ProgramList GetProgramList(uint chanid) const;
236  uint GetAlternateChannelIndex(uint chan_idx, bool with_same_channum) const;
237  void updateDateText(void);
238 
239  private:
240  std::chrono::minutes m_selectRecThreshold {16min};
241 
242  bool m_allowFinder {false};
244  QMap<uint,uint> m_channelInfoIdx;
245 
246  std::vector<ProgramList*> m_programs;
249 
252  QDateTime m_currentEndTime;
255  QString m_startChanNum;
256 
257  int m_currentRow {0};
258  int m_currentCol {0};
259 
260  bool m_sortReverse {false};
261 
262  int m_channelCount {5};
263  int m_timeCount {30};
264  bool m_verticalLayout {false};
265 
266  QDateTime m_firstTime;
267  QDateTime m_lastTime;
268 
269  TV *m_player {nullptr};
270  bool m_embedVideo {false};
271  void EmbedTVWindow(void);
272  static void HideTVWindow(void);
273  QRect m_videoRect;
274 
276 
277  QTimer *m_updateTimer {nullptr}; // audited ref #5318
278 
280 
281  int m_changrpid {-1};
283 
284 #if QT_VERSION < QT_VERSION_CHECK(5,14,0)
285  QMutex m_jumpToChannelLock {QMutex::Recursive};
286 #else
287  QRecursiveMutex m_jumpToChannelLock;
288 #endif
290 
294  MythUIText *m_dateText {nullptr};
299 };
300 
301 #endif
ChannelInfo
Definition: channelinfo.h:31
GuideGrid::ShowMenu
void ShowMenu(void) override
Definition: guidegrid.cpp:1056
GuideGrid::m_guideGrid
MythUIGuideGrid * m_guideGrid
Definition: guidegrid.h:293
GuideGrid::GetChannelCount
uint GetChannelCount(void) const
Definition: guidegrid.cpp:1151
GuideGrid::m_embedVideo
bool m_embedVideo
Definition: guidegrid.h:270
GuideUIElement::m_area
const QRect m_area
Definition: guidegrid.h:92
GuideGrid::moveUpDown
void moveUpDown(MoveVector movement)
Definition: guidegrid.cpp:2446
GuideGrid::GetCurrentProgram
ProgramInfo * GetCurrentProgram(void) const override
Definition: guidegrid.h:171
GuideGrid::EmbedTVWindow
void EmbedTVWindow(void)
Definition: guidegrid.cpp:2620
GuideGrid::RunProgramGuide
static void RunProgramGuide(uint startChanId, const QString &startChanNum, const QDateTime &startTime, TV *player=nullptr, bool embedVideo=false, bool allowFinder=true, int changrpid=-1)
Definition: guidegrid.cpp:414
JumpToChannelListener::FindChannel
virtual int FindChannel(uint chanid, const QString &channum, bool exact=true) const =0
GuideGrid::channelUpdate
void channelUpdate()
Definition: guidegrid.cpp:2561
GuideGrid::m_timeCount
int m_timeCount
Definition: guidegrid.h:263
MythUIImage
Image widget, displays a single image or multiple images in sequence.
Definition: mythuiimage.h:97
GuideUIElement::m_arrow
const int m_arrow
Definition: guidegrid.h:95
GuideGrid::m_changroupname
MythUIText * m_changroupname
Definition: guidegrid.h:297
JumpToChannel
Definition: guidegrid.h:47
GuideGrid::gestureEvent
bool gestureEvent(MythGestureEvent *event) override
Mouse click/movement handler, receives mouse gesture events from the QCoreApplication event loop.
Definition: guidegrid.cpp:850
GuideGrid::Close
void Close() override
Definition: guidegrid.cpp:2513
GuideGrid::ShowRecordingMenu
void ShowRecordingMenu(void)
Definition: guidegrid.cpp:1102
MAX_DISPLAY_CHANS
#define MAX_DISPLAY_CHANS
Definition: mythuiguidegrid.h:23
GuideGrid::m_allowFinder
bool m_allowFinder
Definition: guidegrid.h:242
GuideGrid::kPageRight
@ kPageRight
Definition: guidegrid.h:193
GuideGrid::ToggleMute
void ToggleMute(bool CycleChannels)
GuideGrid::m_channelImage
MythUIImage * m_channelImage
Definition: guidegrid.h:298
GuideGrid::GetAlternateChannelIndex
uint GetAlternateChannelIndex(uint chan_idx, bool with_same_channum) const
Definition: guidegrid.cpp:1199
GuideGrid::m_jumpToChannelLock
QRecursiveMutex m_jumpToChannelLock
Definition: guidegrid.h:287
GuideGrid::m_startChanID
uint m_startChanID
Definition: guidegrid.h:254
GuideGrid::m_currentEndTime
QDateTime m_currentEndTime
Definition: guidegrid.h:252
GuideGrid::updateChannels
void updateChannels(void)
Definition: guidegrid.cpp:2052
GuideGrid::m_verticalLayout
bool m_verticalLayout
Definition: guidegrid.h:264
GuideGrid::setStartChannel
void setStartChannel(int newStartChannel)
Definition: guidegrid.cpp:2482
JumpToChannelListener
Definition: guidegrid.h:37
GuideGrid::m_currentStartChannel
uint m_currentStartChannel
Definition: guidegrid.h:253
JumpToChannel::kJumpToChannelTimeout
static const uint kJumpToChannelTimeout
Definition: guidegrid.h:75
MythScreenStack
Definition: mythscreenstack.h:16
ProgInfoGuideArray
std::array< std::array< ProgramInfo *, MAX_DISPLAY_TIMES >, MAX_DISPLAY_CHANS > ProgInfoGuideArray
Definition: guidegrid.h:34
GuideGrid::GetStartChannelOffset
int GetStartChannelOffset(int row=-1) const
Definition: guidegrid.cpp:1156
GuideGrid::toggleChannelFavorite
void toggleChannelFavorite(int grpid=-1)
Definition: guidegrid.cpp:2289
GuideGrid::Init
void Init(void) override
Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in...
Definition: guidegrid.cpp:601
JumpToChannel::m_timer
QTimer * m_timer
Definition: guidegrid.h:73
GuideGrid::ShowJumpToTime
void ShowJumpToTime(void)
Definition: guidegrid.cpp:2644
GuideGrid::m_channelList
MythUIButtonList * m_channelList
Definition: guidegrid.h:292
GuideGrid::cursorUp
void cursorUp()
Definition: guidegrid.cpp:2400
GuideGrid::GuideGrid
GuideGrid(MythScreenStack *parentStack, uint chanid, QString channum, const QDateTime &startTime, TV *player=nullptr, bool embedVideo=false, bool allowFinder=true, int changrpid=-1)
Definition: guidegrid.cpp:478
GuideGrid::m_currentCol
int m_currentCol
Definition: guidegrid.h:258
GuideGrid::PlayerExiting
void PlayerExiting(TV *Player)
Definition: guidegrid.cpp:520
GuideGrid::kScrollDown
@ kScrollDown
Definition: guidegrid.h:187
JumpToChannel::deleteLater
virtual void deleteLater(void)
Definition: guidegrid.cpp:87
JumpToChannel::m_rowsDisplayed
uint m_rowsDisplayed
Definition: guidegrid.h:72
GuideGrid::Create
bool Create(void) override
Definition: guidegrid.cpp:531
GuideUIElement::m_recStat
const int m_recStat
Definition: guidegrid.h:97
MythUIGuideGrid
A narrow purpose widget used to show television programs and the timeslots they occupy on channels....
Definition: mythuiguidegrid.h:41
GuideGrid::cursorRight
void cursorRight()
Definition: guidegrid.cpp:2359
schedulecommon.h
GuideGrid::updateChannelsNonUI
void updateChannelsNonUI(QVector< ChannelInfo * > &chinfos, QVector< bool > &unavailables)
Definition: guidegrid.cpp:2058
GuideGrid::deleteRule
void deleteRule()
Definition: guidegrid.cpp:2531
mythuiguidegrid.h
GuideGrid::m_channelCount
int m_channelCount
Definition: guidegrid.h:262
GuideGrid::aboutToShow
void aboutToShow() override
Definition: guidegrid.cpp:2636
JumpToChannel::Update
bool Update(void)
Definition: guidegrid.cpp:165
GuideUIElement::m_recType
const int m_recType
Definition: guidegrid.h:96
GuideGrid::aboutToHide
void aboutToHide() override
Definition: guidegrid.cpp:2628
db_chan_list_t
std::vector< ChannelInfo > db_chan_list_t
Definition: guidegrid.h:32
GuideGrid::m_programs
std::vector< ProgramList * > m_programs
Definition: guidegrid.h:246
GuideGrid::m_startChanNum
QString m_startChanNum
Definition: guidegrid.h:255
GuideGrid::m_currentStartTime
QDateTime m_currentStartTime
Definition: guidegrid.h:251
GuideGrid::kScrollUp
@ kScrollUp
Definition: guidegrid.h:186
JumpToChannelListener::GoTo
virtual void GoTo(int start, int cur_row)=0
GuideGrid::m_selectRecThreshold
std::chrono::minutes m_selectRecThreshold
Definition: guidegrid.h:240
GuideGrid::customEvent
void customEvent(QEvent *event) override
Definition: guidegrid.cpp:1843
GuideGrid::cursorDown
void cursorDown()
Definition: guidegrid.cpp:2385
GuideGrid::m_originalStartTime
QDateTime m_originalStartTime
Definition: guidegrid.h:250
GuideGrid::m_videoRect
QRect m_videoRect
Definition: guidegrid.h:273
programinfo.h
GuideGrid::fillChannelInfos
void fillChannelInfos(bool gotostartchannel=true)
Definition: guidegrid.cpp:1343
GuideGrid::m_sortReverse
bool m_sortReverse
Definition: guidegrid.h:260
GuideGrid::m_longdateText
MythUIText * m_longdateText
Definition: guidegrid.h:295
GuideGrid::m_firstTime
QDateTime m_firstTime
Definition: guidegrid.h:266
JumpToChannelListener::~JumpToChannelListener
virtual ~JumpToChannelListener()=default
GuideGrid::m_recList
ProgramList m_recList
Definition: guidegrid.h:248
db_chan_list_list_t
std::vector< db_chan_list_t > db_chan_list_list_t
Definition: guidegrid.h:33
GuideUIElement::m_row
const int m_row
Definition: guidegrid.h:90
GuideGrid::m_threadPool
MThreadPool m_threadPool
Definition: guidegrid.h:279
GuideGrid::showProgFinder
void showProgFinder()
Definition: guidegrid.cpp:2492
GuideGrid::updateProgramsUI
void updateProgramsUI(unsigned int firstRow, unsigned int numRows, int progPast, const QVector< ProgramList * > &proglists, const ProgInfoGuideArray &programInfos, const std::list< GuideUIElement > &elements)
Definition: guidegrid.cpp:2019
GuideGrid::fillTimeInfos
void fillTimeInfos(void)
Definition: guidegrid.cpp:1480
GuideGrid::enter
void enter()
Definition: guidegrid.cpp:2498
GuideUIElement::m_selected
const bool m_selected
Definition: guidegrid.h:98
JumpToChannel::~JumpToChannel
~JumpToChannel() override=default
GuideGrid
Definition: guidegrid.h:101
ScheduleCommon
Definition: schedulecommon.h:15
GuideGrid::kDayRight
@ kDayRight
Definition: guidegrid.h:195
GuideGrid::m_updateTimer
QTimer * m_updateTimer
Definition: guidegrid.h:277
GuideGrid::Load
void Load(void) override
Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (S...
Definition: guidegrid.cpp:576
GuideGrid::GetCurrentStartChannel
uint GetCurrentStartChannel(void) const
Definition: guidegrid.h:131
GuideGrid::m_channelInfos
db_chan_list_list_t m_channelInfos
Definition: guidegrid.h:243
ChannelGroupList
std::vector< ChannelGroupItem > ChannelGroupList
Definition: channelgroup.h:31
GuideGrid::m_timeList
MythUIButtonList * m_timeList
Definition: guidegrid.h:291
uint
unsigned int uint
Definition: compat.h:144
JumpToChannel::JumpToChannel
JumpToChannel(JumpToChannelListener *parent, QString start_entry, int start_chan_idx, int cur_chan_idx, uint rows_disp)
Definition: guidegrid.cpp:68
GuideGrid::~GuideGrid
~GuideGrid() override
Definition: guidegrid.cpp:624
GuideGrid::kPageDown
@ kPageDown
Definition: guidegrid.h:191
GuideUIElement::GuideUIElement
GuideUIElement(int row, int col, const QRect area, QString title, QString category, int arrow, int recType, int recStat, bool selected)
Definition: guidegrid.h:84
channelutil.h
GuideGrid::m_player
TV * m_player
Definition: guidegrid.h:269
GuideGrid::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: guidegrid.cpp:661
GuideGrid::kScrollRight
@ kScrollRight
Definition: guidegrid.h:189
GuideGrid::m_channelOrdering
QString m_channelOrdering
Definition: guidegrid.h:275
GuideGrid::MoveVector
MoveVector
Definition: guidegrid.h:185
AutoDeleteDeque< ProgramInfo * >
GuideGrid::moveLeftRight
void moveLeftRight(MoveVector movement)
Definition: guidegrid.cpp:2415
GuideGrid::m_changrpid
int m_changrpid
Definition: guidegrid.h:281
JumpToChannelListener::SetJumpToChannel
virtual void SetJumpToChannel(JumpToChannel *ptr)=0
mthreadpool.h
GuideUIElement::m_col
const int m_col
Definition: guidegrid.h:91
GuideGrid::updateChannelsUI
void updateChannelsUI(const QVector< ChannelInfo * > &chinfos, const QVector< bool > &unavailables)
Definition: guidegrid.cpp:2111
GuideGrid::m_jumpToText
MythUIText * m_jumpToText
Definition: guidegrid.h:296
GuideGrid::kDayLeft
@ kDayLeft
Definition: guidegrid.h:194
MThreadPool
Definition: mthreadpool.h:18
JumpToChannel::m_previousCurrentChannelIndex
int m_previousCurrentChannelIndex
Definition: guidegrid.h:71
JumpToChannel::ProcessEntry
bool ProcessEntry(const QStringList &actions, const QKeyEvent *e)
Definition: guidegrid.cpp:116
ProgramInfo
Holds information on recordings and videos.
Definition: programinfo.h:67
channelgroup.h
MythUIText
All purpose text widget, displays a text string.
Definition: mythuitext.h:30
GuideGrid::GetCurrentStartTime
QDateTime GetCurrentStartTime(void) const
Definition: guidegrid.h:132
GuideGrid::generateListings
void generateListings()
Definition: guidegrid.cpp:2224
GuideUIElement
Definition: guidegrid.h:82
GuideGrid::m_jumpToChannel
JumpToChannel * m_jumpToChannel
Definition: guidegrid.h:289
GuideUIElement::m_title
const QString m_title
Definition: guidegrid.h:93
GuideUIElement::m_category
const QString m_category
Definition: guidegrid.h:94
GuideGrid::cursorLeft
void cursorLeft()
Definition: guidegrid.cpp:2335
std
Definition: mythchrono.h:23
GuideGrid::fillProgramRowInfos
void fillProgramRowInfos(int row, bool useExistingData)
Definition: guidegrid.cpp:1543
JumpToChannel::m_entry
QString m_entry
Definition: guidegrid.h:69
GuideGrid::ChangeVolume
void ChangeVolume(bool Up, int NewVolume=-1)
GuideGrid::toggleGuideListing
void toggleGuideListing()
Definition: guidegrid.cpp:2206
JumpToChannel::m_previousStartChannelIndex
int m_previousStartChannelIndex
Definition: guidegrid.h:70
GuideGrid::GetSelection
ChannelInfoList GetSelection(void) const
Definition: guidegrid.cpp:1259
GuideGrid::m_dateText
MythUIText * m_dateText
Definition: guidegrid.h:294
GuideGrid::updateDateText
void updateDateText(void)
Definition: guidegrid.cpp:2010
GuideGrid::ChannelGroupMenu
void ChannelGroupMenu(int mode=0)
Definition: guidegrid.cpp:2238
GuideGrid::kPageLeft
@ kPageLeft
Definition: guidegrid.h:192
GuideGrid::HideTVWindow
static void HideTVWindow(void)
Definition: guidegrid.cpp:2615
GuideGrid::m_channelInfoIdx
QMap< uint, uint > m_channelInfoIdx
Definition: guidegrid.h:244
MythGestureEvent
A custom event that represents a mouse gesture.
Definition: mythgesture.h:39
Player
Definition: zmliveplayer.h:34
GuideGrid::kPageUp
@ kPageUp
Definition: guidegrid.h:190
GuideGrid::m_lastTime
QDateTime m_lastTime
Definition: guidegrid.h:267
GuideGrid::kScrollLeft
@ kScrollLeft
Definition: guidegrid.h:188
JumpToChannel::m_listener
JumpToChannelListener * m_listener
Definition: guidegrid.h:68
GuideGrid::m_programInfos
ProgInfoGuideArray m_programInfos
Definition: guidegrid.h:247
GuideGrid::updateTimeout
void updateTimeout(void)
Definition: guidegrid.cpp:1336
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition: mythuibuttonlist.h:151
GuideGrid::moveToTime
void moveToTime(const QDateTime &datetime)
Definition: guidegrid.cpp:2470
GuideGrid::GetProgramList
ProgramList GetProgramList(uint chanid) const
Definition: guidegrid.cpp:1166
GuideGrid::fillProgramInfos
void fillProgramInfos(bool useExistingData=false)
Definition: guidegrid.cpp:1514
GuideGrid::getProgramListFromProgram
ProgramList * getProgramListFromProgram(int chanNum)
Definition: guidegrid.cpp:1519
JumpToChannel::GetEntry
QString GetEntry(void) const
Definition: guidegrid.h:58
GuideGrid::GetChannelInfo
ChannelInfo * GetChannelInfo(uint chan_idx, int sel=-1)
Definition: guidegrid.cpp:1133
GuideGrid::m_currentRow
int m_currentRow
Definition: guidegrid.h:257
GuideGrid::FindChannel
int FindChannel(uint chanid, const QString &channum, bool exact=true) const override
Definition: guidegrid.cpp:1420
mythscreentype.h
GuideGrid::updateInfo
void updateInfo(void)
Definition: guidegrid.cpp:2149
GuideGrid::Q_DISABLE_COPY
Q_DISABLE_COPY(GuideGrid)
tv_play.h
GuideGrid::updateJumpToChannel
void updateJumpToChannel(void)
Definition: guidegrid.cpp:2585
TV
Control TV playback.
Definition: tv_play.h:154
ChannelInfoList
std::vector< ChannelInfo > ChannelInfoList
Definition: channelinfo.h:131
GuideGrid::GoTo
void GoTo(int start, int cur_row) override
Definition: guidegrid.cpp:2576
GuideGrid::SetJumpToChannel
void SetJumpToChannel(JumpToChannel *ptr) override
Definition: guidegrid.cpp:2601
GuideGrid::m_changrplist
ChannelGroupList m_changrplist
Definition: guidegrid.h:282