RecordingSelector Class Reference

#include <recordingselector.h>

Inheritance diagram for RecordingSelector:
MythScreenType MythUIType XMLParseBase

List of all members.

Public Slots

void OKPressed (void)
void cancelPressed (void)
void showMenu (void)
void selectAll (void)
void clearAll (void)
void setCategory (MythUIButtonListItem *item)
void titleChanged (MythUIButtonListItem *item)
void toggleSelected (MythUIButtonListItem *item)

Signals

void haveResult (bool ok)

Public Member Functions

 RecordingSelector (MythScreenStack *parent, QList< ArchiveItem * > *archiveList)
 ~RecordingSelector (void)
bool Create ()
bool keyPressEvent (QKeyEvent *e)
 Key event handler.

Private Member Functions

void Init (void)
 Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load().
void updateRecordingList (void)
void updateSelectedList (void)
void updateCategorySelector (void)
void getRecordingList (void)

Private Attributes

QList< ArchiveItem * > * m_archiveList
std::vector< ProgramInfo * > * m_recordingList
QList< ProgramInfo * > m_selectedList
QStringList m_categories
MythUIButtonListm_recordingButtonList
MythUIButtonm_okButton
MythUIButtonm_cancelButton
MythUIButtonListm_categorySelector
MythUITextm_titleText
MythUITextm_datetimeText
MythUITextm_filesizeText
MythUITextm_descriptionText
MythUIImagem_previewImage
MythUIImagem_cutlistImage

Friends

class GetRecordingListThread

Detailed Description

Definition at line 29 of file recordingselector.h.


Constructor & Destructor Documentation

RecordingSelector::RecordingSelector ( MythScreenStack parent,
QList< ArchiveItem * > *  archiveList 
)

Definition at line 54 of file recordingselector.cpp.

RecordingSelector::~RecordingSelector ( void   ) 

Definition at line 72 of file recordingselector.cpp.


Member Function Documentation

bool RecordingSelector::Create ( void   )  [virtual]

Reimplemented from MythScreenType.

Definition at line 81 of file recordingselector.cpp.

Referenced by MythBurn::handleAddRecording(), and ExportNative::handleAddRecording().

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

Key event handler.

Parameters:
event Keypress event

Reimplemented from MythScreenType.

Definition at line 175 of file recordingselector.cpp.

void RecordingSelector::haveResult ( bool  ok  )  [signal]

Referenced by cancelPressed(), and OKPressed().

void RecordingSelector::OKPressed ( void   )  [slot]

Definition at line 317 of file recordingselector.cpp.

Referenced by Create().

void RecordingSelector::cancelPressed ( void   )  [slot]

Definition at line 397 of file recordingselector.cpp.

Referenced by Create().

void RecordingSelector::showMenu ( void   )  [slot]

Definition at line 203 of file recordingselector.cpp.

Referenced by keyPressEvent().

void RecordingSelector::selectAll ( void   )  [slot]

Definition at line 218 of file recordingselector.cpp.

Referenced by showMenu().

void RecordingSelector::clearAll ( void   )  [slot]

Definition at line 235 of file recordingselector.cpp.

Referenced by showMenu().

void RecordingSelector::setCategory ( MythUIButtonListItem item  )  [slot]

Definition at line 534 of file recordingselector.cpp.

Referenced by Create().

void RecordingSelector::titleChanged ( MythUIButtonListItem item  )  [slot]

Definition at line 265 of file recordingselector.cpp.

Referenced by Create(), and updateRecordingList().

void RecordingSelector::toggleSelected ( MythUIButtonListItem item  )  [slot]

Definition at line 244 of file recordingselector.cpp.

Referenced by Create().

void RecordingSelector::Init ( void   )  [private, 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 132 of file recordingselector.cpp.

void RecordingSelector::updateRecordingList ( void   )  [private]

Definition at line 403 of file recordingselector.cpp.

Referenced by clearAll(), Init(), selectAll(), and setCategory().

void RecordingSelector::updateSelectedList ( void   )  [private]

Definition at line 540 of file recordingselector.cpp.

Referenced by Init().

void RecordingSelector::updateCategorySelector ( void   )  [private]

Definition at line 517 of file recordingselector.cpp.

Referenced by Init().

void RecordingSelector::getRecordingList ( void   )  [private]

Definition at line 490 of file recordingselector.cpp.

Referenced by GetRecordingListThread::run().


Friends And Related Function Documentation

friend class GetRecordingListThread [friend]

Definition at line 80 of file recordingselector.h.

Referenced by Init().


Member Data Documentation

Definition at line 64 of file recordingselector.h.

Referenced by OKPressed(), and updateSelectedList().

QStringList RecordingSelector::m_categories [private]

Definition at line 67 of file recordingselector.h.

Referenced by getRecordingList(), and updateCategorySelector().

Definition at line 69 of file recordingselector.h.

Referenced by Create(), and updateRecordingList().

Definition at line 70 of file recordingselector.h.

Referenced by Create().

Definition at line 71 of file recordingselector.h.

Referenced by Create().

Definition at line 72 of file recordingselector.h.

Referenced by Create(), updateCategorySelector(), and updateRecordingList().

Definition at line 73 of file recordingselector.h.

Referenced by Create(), and titleChanged().

Definition at line 74 of file recordingselector.h.

Referenced by Create(), and titleChanged().

Definition at line 75 of file recordingselector.h.

Referenced by Create(), and titleChanged().

Definition at line 76 of file recordingselector.h.

Referenced by Create(), and titleChanged().

Definition at line 77 of file recordingselector.h.

Referenced by Create(), and titleChanged().

Definition at line 78 of file recordingselector.h.

Referenced by Create(), and titleChanged().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:22 2012 for MythTV by  doxygen 1.6.3