MythTV  0.26-pre
Public Slots | Signals | Public Member Functions | Private Member Functions | Private Attributes | Friends
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.

Definition at line 72 of file recordingselector.cpp.


Member Function Documentation

Reimplemented from MythScreenType.

Definition at line 81 of file recordingselector.cpp.

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

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

Key event handler.

Parameters:
eventKeypress event

Reimplemented from MythScreenType.

Definition at line 175 of file recordingselector.cpp.

Referenced by cancelPressed(), and OKPressed().

Definition at line 317 of file recordingselector.cpp.

Referenced by Create().

Definition at line 397 of file recordingselector.cpp.

Referenced by Create().

Definition at line 203 of file recordingselector.cpp.

Referenced by keyPressEvent().

Definition at line 218 of file recordingselector.cpp.

Referenced by showMenu().

Definition at line 235 of file recordingselector.cpp.

Referenced by showMenu().

Definition at line 534 of file recordingselector.cpp.

Referenced by Create().

Definition at line 265 of file recordingselector.cpp.

Referenced by Create(), and updateRecordingList().

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.

Definition at line 403 of file recordingselector.cpp.

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

Definition at line 540 of file recordingselector.cpp.

Referenced by Init().

Definition at line 517 of file recordingselector.cpp.

Referenced by Init().

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