MythTV  0.26-pre
Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Private Member Functions | Private Attributes
ViewScheduled Class Reference

Screen for viewing and managing upcoming and conflicted recordings. More...

#include <viewscheduled.h>

Inheritance diagram for ViewScheduled:
ScheduleCommon MythScreenType MythUIType XMLParseBase

List of all members.

Public Member Functions

 ViewScheduled (MythScreenStack *parent, TV *player=NULL, bool showTV=false)
 ~ViewScheduled ()
virtual bool Create (void)
virtual void ShowMenu (void)
virtual bool keyPressEvent (QKeyEvent *)
 Key event handler.
virtual void customEvent (QEvent *)

Static Public Member Functions

static voidRunViewScheduled (void *player, bool)

Protected Slots

void ChangeGroup (MythUIButtonListItem *item)
void edit ()
void customEdit ()
void deleteRule ()
void upcoming ()
void upcomingScheduled ()
void details ()
void selected (MythUIButtonListItem *)
void updateInfo (MythUIButtonListItem *)
void SwitchList (void)
void Close (void)

Protected Member Functions

virtual void Load (void)
 Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (See Warning)
virtual void Init (void)
 Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load()

Private Member Functions

void FillList (void)
void LoadList (bool useExistingData=false)
void setShowAll (bool all)
void viewCards (void)
void viewInputs (void)
void EmbedTVWindow (void)

Private Attributes

bool m_conflictBool
QDate m_conflictDate
QRect m_tvRect
MythUIButtonListm_schedulesList
MythUIButtonListm_groupList
bool m_showAll
bool m_inEvent
bool m_inFill
bool m_needFill
int m_listPos
ProgramList m_recList
QMap< QDate, ProgramListm_recgroupList
QDate m_currentGroup
QDate m_defaultGroup
QMap< int, intm_cardref
uint m_maxcard
uint m_curcard
QMap< int, intm_inputref
uint m_maxinput
uint m_curinput
TVm_player

Detailed Description

Screen for viewing and managing upcoming and conflicted recordings.

Definition at line 27 of file viewscheduled.h.


Constructor & Destructor Documentation

ViewScheduled::ViewScheduled ( MythScreenStack parent,
TV player = NULL,
bool  showTV = false 
) [explicit]

Definition at line 33 of file viewscheduled.cpp.

Referenced by RunViewScheduled().

Definition at line 55 of file viewscheduled.cpp.


Member Function Documentation

void * ViewScheduled::RunViewScheduled ( void player,
bool  showTV 
) [static]

Definition at line 19 of file viewscheduled.cpp.

Referenced by SetFuncPtrs().

bool ViewScheduled::Create ( void  ) [virtual]

Reimplemented from MythScreenType.

Definition at line 68 of file viewscheduled.cpp.

Referenced by RunViewScheduled(), and startManaged().

Reimplemented from MythScreenType.

Definition at line 198 of file viewscheduled.cpp.

bool ViewScheduled::keyPressEvent ( QKeyEvent *  ) [virtual]

Key event handler.

Parameters:
eventKeypress event

Reimplemented from MythScreenType.

Definition at line 137 of file viewscheduled.cpp.

void ViewScheduled::customEvent ( QEvent *  event) [virtual]

Reimplemented from ScheduleCommon.

Definition at line 674 of file viewscheduled.cpp.

void ViewScheduled::ChangeGroup ( MythUIButtonListItem item) [protected, slot]

Definition at line 362 of file viewscheduled.cpp.

Referenced by Create().

void ViewScheduled::edit ( void  ) [protected, slot]

Definition at line 518 of file viewscheduled.cpp.

Referenced by keyPressEvent().

void ViewScheduled::customEdit ( void  ) [protected, slot]

Definition at line 532 of file viewscheduled.cpp.

Referenced by customEvent(), and keyPressEvent().

void ViewScheduled::deleteRule ( void  ) [protected, slot]

Definition at line 543 of file viewscheduled.cpp.

Referenced by customEvent(), and keyPressEvent().

void ViewScheduled::upcoming ( void  ) [protected, slot]

Definition at line 578 of file viewscheduled.cpp.

Referenced by customEvent(), and keyPressEvent().

void ViewScheduled::upcomingScheduled ( ) [protected, slot]

Definition at line 592 of file viewscheduled.cpp.

Referenced by customEvent(), and keyPressEvent().

void ViewScheduled::details ( void  ) [protected, slot]

Definition at line 606 of file viewscheduled.cpp.

Referenced by customEvent(), and keyPressEvent().

void ViewScheduled::selected ( MythUIButtonListItem item) [protected, slot]

Definition at line 620 of file viewscheduled.cpp.

Referenced by Create().

void ViewScheduled::updateInfo ( MythUIButtonListItem item) [protected, slot]

Definition at line 496 of file viewscheduled.cpp.

Referenced by Create().

void ViewScheduled::SwitchList ( void  ) [protected, slot]

Definition at line 129 of file viewscheduled.cpp.

Referenced by Create().

void ViewScheduled::Close ( void  ) [protected, virtual, slot]

Reimplemented from MythScreenType.

Definition at line 120 of file viewscheduled.cpp.

void ViewScheduled::Load ( void  ) [protected, virtual]

Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (See Warning)

Warning:
This method should only load data, it should NEVER perform UI routines or segfaults WILL result. This includes assinging data to any widgets, calling methods on a widget or anything else which triggers redraws. The safest and recommended approach is to avoid any interaction with a libmythui class or class member.

Reimplemented from MythScreenType.

Definition at line 110 of file viewscheduled.cpp.

void ViewScheduled::Init ( void  ) [protected, virtual]

Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load()

Warning:
Do NOT confuse this with Load(), they serve very different purposes and most often both should be used when creating a new screen.

Reimplemented from MythScreenType.

Definition at line 115 of file viewscheduled.cpp.

Definition at line 375 of file viewscheduled.cpp.

Referenced by ChangeGroup(), and LoadList().

void ViewScheduled::LoadList ( bool  useExistingData = false) [private]

Definition at line 230 of file viewscheduled.cpp.

Referenced by customEvent(), Init(), and keyPressEvent().

void ViewScheduled::setShowAll ( bool  all) [private]

Definition at line 632 of file viewscheduled.cpp.

Referenced by customEvent(), and keyPressEvent().

Definition at line 638 of file viewscheduled.cpp.

Referenced by customEvent(), and keyPressEvent().

Definition at line 653 of file viewscheduled.cpp.

Referenced by customEvent(), and keyPressEvent().

Definition at line 668 of file viewscheduled.cpp.

Referenced by Create(), customEvent(), and details().


Member Data Documentation

Definition at line 68 of file viewscheduled.h.

Referenced by FillList(), Load(), and LoadList().

Definition at line 69 of file viewscheduled.h.

Referenced by FillList().

QRect ViewScheduled::m_tvRect [private]

Definition at line 71 of file viewscheduled.h.

Definition at line 74 of file viewscheduled.h.

Referenced by Create(), LoadList(), and SwitchList().

Definition at line 78 of file viewscheduled.h.

Referenced by customEvent(), keyPressEvent(), and ViewScheduled().

Definition at line 79 of file viewscheduled.h.

Referenced by ChangeGroup(), LoadList(), and ViewScheduled().

Definition at line 82 of file viewscheduled.h.

Definition at line 83 of file viewscheduled.h.

Referenced by ChangeGroup(), FillList(), Load(), and LoadList().

Definition at line 84 of file viewscheduled.h.

Referenced by FillList(), and LoadList().

Definition at line 86 of file viewscheduled.h.

Referenced by ChangeGroup(), FillList(), LoadList(), and ViewScheduled().

Definition at line 87 of file viewscheduled.h.

Referenced by FillList(), LoadList(), and ViewScheduled().

QMap<int, int> ViewScheduled::m_cardref [private]

Definition at line 89 of file viewscheduled.h.

Referenced by LoadList(), and viewCards().

Definition at line 90 of file viewscheduled.h.

Referenced by LoadList(), viewCards(), and ViewScheduled().

Definition at line 91 of file viewscheduled.h.

Referenced by FillList(), viewCards(), viewInputs(), and ViewScheduled().

QMap<int, int> ViewScheduled::m_inputref [private]

Definition at line 93 of file viewscheduled.h.

Referenced by LoadList(), and viewInputs().

Definition at line 94 of file viewscheduled.h.

Referenced by LoadList(), viewInputs(), and ViewScheduled().

Definition at line 95 of file viewscheduled.h.

Referenced by FillList(), viewCards(), viewInputs(), and ViewScheduled().

Definition at line 97 of file viewscheduled.h.

Referenced by Close(), EmbedTVWindow(), ViewScheduled(), and ~ViewScheduled().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends