ZMEvents Class Reference

#include <zmevents.h>

Inheritance diagram for ZMEvents:

MythThemedDialog MythDialog

List of all members.


Detailed Description

Definition at line 27 of file zmevents.h.


Public Member Functions

 ZMEvents (MythMainWindow *parent, const QString &window_name, const QString &theme_filename, const char *name=0)
 ~ZMEvents ()

Private Slots

void getEventList (void)
void playPressed (void)
void deletePressed (void)
void setCamera (int item)
void setDate (int item)
void gridItemChanged (ImageGridItem *item)

Private Member Functions

void wireUpTheme (void)
UITextTypegetTextType (QString name)
void keyPressEvent (QKeyEvent *e)
void updateUIList ()
void eventListDown (bool page)
void eventListUp (bool page)
void getCameraList (void)
void getDateList (void)
void setView (bool gridView)
void setGridLayout (int layout)
void showMenu (void)
void updateImageGrid ()
QPixmap * createScaledPixmap (QString filename, int width, int height, QImage::ScaleMode mode)

Private Attributes

bool m_oldestFirst
int m_currentEvent
int m_eventListSize
vector< Event * > * m_eventList
QStringList m_dateList
UIListTypem_event_list
UITextTypem_eventNoText
UIImageGridTypem_eventGrid
UITextButtonTypem_playButton
UITextButtonTypem_deleteButton
UISelectorTypem_cameraSelector
UISelectorTypem_dateSelector

Constructor & Destructor Documentation

ZMEvents::ZMEvents ( MythMainWindow parent,
const QString &  window_name,
const QString &  theme_filename,
const char *  name = 0 
)

Definition at line 34 of file zmevents.cpp.

ZMEvents::~ZMEvents (  ) 

Definition at line 54 of file zmevents.cpp.


Member Function Documentation

void ZMEvents::getEventList ( void   )  [private, slot]

Definition at line 253 of file zmevents.cpp.

Referenced by keyPressEvent(), setCamera(), setDate(), showMenu(), and ZMEvents().

void ZMEvents::playPressed ( void   )  [private, slot]

Definition at line 352 of file zmevents.cpp.

Referenced by wireUpTheme().

void ZMEvents::deletePressed ( void   )  [private, slot]

Definition at line 377 of file zmevents.cpp.

Referenced by wireUpTheme().

void ZMEvents::setCamera ( int  item  )  [private, slot]

Definition at line 432 of file zmevents.cpp.

Referenced by wireUpTheme().

void ZMEvents::setDate ( int  item  )  [private, slot]

Definition at line 468 of file zmevents.cpp.

Referenced by wireUpTheme().

void ZMEvents::gridItemChanged ( ImageGridItem item  )  [private, slot]

Definition at line 494 of file zmevents.cpp.

Referenced by deletePressed(), playPressed(), setView(), updateImageGrid(), and wireUpTheme().

void ZMEvents::wireUpTheme ( void   )  [private]

Definition at line 198 of file zmevents.cpp.

Referenced by ZMEvents().

UITextType * ZMEvents::getTextType ( QString  name  )  [private]

Definition at line 65 of file zmevents.cpp.

void ZMEvents::keyPressEvent ( QKeyEvent *  e  )  [private]

Reimplemented from MythDialog.

Definition at line 79 of file zmevents.cpp.

void ZMEvents::updateUIList (  )  [private]

Definition at line 279 of file zmevents.cpp.

Referenced by deletePressed(), eventListDown(), eventListUp(), getEventList(), and playPressed().

void ZMEvents::eventListDown ( bool  page  )  [private]

Definition at line 328 of file zmevents.cpp.

Referenced by keyPressEvent().

void ZMEvents::eventListUp ( bool  page  )  [private]

Definition at line 340 of file zmevents.cpp.

Referenced by keyPressEvent().

void ZMEvents::getCameraList ( void   )  [private]

Definition at line 412 of file zmevents.cpp.

Referenced by ZMEvents().

void ZMEvents::getDateList ( void   )  [private]

Definition at line 439 of file zmevents.cpp.

Referenced by ZMEvents().

void ZMEvents::setView ( bool  gridView  )  [private]

Definition at line 543 of file zmevents.cpp.

Referenced by keyPressEvent(), showMenu(), and ZMEvents().

void ZMEvents::setGridLayout ( int  layout  )  [private]

Definition at line 563 of file zmevents.cpp.

Referenced by keyPressEvent(), and ZMEvents().

void ZMEvents::showMenu ( void   )  [private]

Definition at line 590 of file zmevents.cpp.

Referenced by keyPressEvent().

void ZMEvents::updateImageGrid ( void   )  [private]

Definition at line 475 of file zmevents.cpp.

Referenced by getEventList(), playPressed(), and setGridLayout().

QPixmap* ZMEvents::createScaledPixmap ( QString  filename,
int  width,
int  height,
QImage::ScaleMode  mode 
) [private]


Member Data Documentation

Definition at line 63 of file zmevents.h.

Referenced by getDateList(), getEventList(), keyPressEvent(), ZMEvents(), and ~ZMEvents().

int ZMEvents::m_currentEvent [private]

Definition at line 65 of file zmevents.h.

Referenced by eventListDown(), eventListUp(), updateUIList(), wireUpTheme(), and ZMEvents().

vector<Event *>* ZMEvents::m_eventList [private]

QStringList ZMEvents::m_dateList [private]

Definition at line 67 of file zmevents.h.

Referenced by getDateList(), and getEventList().

Definition at line 69 of file zmevents.h.

Referenced by keyPressEvent(), setView(), updateUIList(), and wireUpTheme().

Definition at line 70 of file zmevents.h.

Referenced by gridItemChanged(), updateUIList(), and wireUpTheme().

Definition at line 74 of file zmevents.h.

Referenced by keyPressEvent(), and wireUpTheme().

Definition at line 75 of file zmevents.h.

Referenced by keyPressEvent(), and wireUpTheme().

Definition at line 77 of file zmevents.h.

Referenced by getCameraList(), getDateList(), getEventList(), keyPressEvent(), and wireUpTheme().

Definition at line 78 of file zmevents.h.

Referenced by getDateList(), getEventList(), keyPressEvent(), and wireUpTheme().


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:14 2010 for MythTV by  doxygen 1.5.5