Weather Class Reference

#include <weather.h>

Inheritance diagram for Weather:

MythDialog

List of all members.


Detailed Description

Definition at line 29 of file weather.h.


Signals

void clock_tick ()

Public Member Functions

 Weather (MythMainWindow *parent, SourceManager *srcMan, const char *name=0)
 ~Weather ()
bool UpdateData ()
void processEvents ()
QPixmap * getBackground ()

Protected Member Functions

void paintEvent (QPaintEvent *e)
void keyPressEvent (QKeyEvent *e)

Private Slots

void update_timeout ()
void showtime_timeout ()
void nextpage_timeout ()
void weatherTimeout ()
void cursorLeft ()
void cursorRight ()
void holdPage ()
void setupPage ()
void screenReady (WeatherScreen *ws)

Private Member Functions

void setupScreens (QDomElement &xml)
WeatherScreennextScreen ()
WeatherScreenprevScreen ()
void updateBackground ()
void updatePage (QPainter *e)
void showLayout (WeatherScreen *ws)

Private Attributes

int timeoutCounter
int wantAnimated
bool stopProcessing
XMLParsetheme
QDomElement xmldata
units_t m_units
bool firstRun
int updateInterval
int nextpageInterval
int nextpageIntArrow
QTimer * showtime_Timer
QTimer * nextpage_Timer
bool gotDataHook
QRect newlocRect
QRect fullRect
QPixmap realBackground
bool allowkeys
SourceManagerm_srcMan
QPtrList< WeatherScreenscreens
QMap< QString, WeatherScreen * > all_screens
WeatherScreencurrScreen
WeatherScreenm_startup
bool paused

Constructor & Destructor Documentation

Weather::Weather ( MythMainWindow parent,
SourceManager srcMan,
const char *  name = 0 
)

Definition at line 25 of file weather.cpp.

Weather::~Weather (  ) 

Definition at line 79 of file weather.cpp.


Member Function Documentation

bool Weather::UpdateData (  ) 

void Weather::processEvents (  ) 

Definition at line 328 of file weather.cpp.

QPixmap* Weather::getBackground (  )  [inline]

Definition at line 40 of file weather.h.

Referenced by SevereWeatherScreen::SevereWeatherScreen().

void Weather::clock_tick (  )  [signal]

Referenced by setupScreens(), and showtime_timeout().

void Weather::update_timeout (  )  [inline, private, slot]

Definition at line 46 of file weather.h.

void Weather::showtime_timeout (  )  [private, slot]

Definition at line 333 of file weather.cpp.

Referenced by Weather().

void Weather::nextpage_timeout (  )  [private, slot]

Definition at line 415 of file weather.cpp.

Referenced by Weather().

void Weather::weatherTimeout (  )  [inline, private, slot]

Definition at line 49 of file weather.h.

void Weather::cursorLeft (  )  [private, slot]

Definition at line 399 of file weather.cpp.

Referenced by keyPressEvent().

void Weather::cursorRight (  )  [private, slot]

Definition at line 383 of file weather.cpp.

Referenced by keyPressEvent().

void Weather::holdPage (  )  [private, slot]

Definition at line 339 of file weather.cpp.

Referenced by keyPressEvent().

void Weather::setupPage (  )  [private, slot]

Definition at line 350 of file weather.cpp.

Referenced by keyPressEvent().

void Weather::screenReady ( WeatherScreen ws  )  [private, slot]

Definition at line 210 of file weather.cpp.

Referenced by setupScreens().

void Weather::paintEvent ( QPaintEvent *  e  )  [protected]

Definition at line 297 of file weather.cpp.

void Weather::keyPressEvent ( QKeyEvent *  e  )  [protected]

Reimplemented from MythDialog.

Definition at line 241 of file weather.cpp.

void Weather::setupScreens ( QDomElement &  xml  )  [private]

Definition at line 89 of file weather.cpp.

Referenced by setupPage(), and Weather().

WeatherScreen * Weather::nextScreen (  )  [private]

Definition at line 225 of file weather.cpp.

Referenced by cursorRight(), nextpage_timeout(), and screenReady().

WeatherScreen * Weather::prevScreen (  )  [private]

Definition at line 233 of file weather.cpp.

Referenced by cursorLeft().

void Weather::updateBackground ( void   )  [private]

Definition at line 279 of file weather.cpp.

Referenced by setupScreens(), and Weather().

void Weather::updatePage ( QPainter *  e  )  [private]

Definition at line 308 of file weather.cpp.

Referenced by paintEvent().

void Weather::showLayout ( WeatherScreen ws  )  [private]

Definition at line 321 of file weather.cpp.

Referenced by nextpage_timeout(), screenReady(), and Weather().


Member Data Documentation

int Weather::timeoutCounter [private]

Definition at line 69 of file weather.h.

int Weather::wantAnimated [private]

Definition at line 70 of file weather.h.

Definition at line 71 of file weather.h.

Definition at line 74 of file weather.h.

Referenced by setupScreens(), updateBackground(), Weather(), and ~Weather().

QDomElement Weather::xmldata [private]

Definition at line 75 of file weather.h.

Referenced by setupPage(), and Weather().

Definition at line 77 of file weather.h.

Definition at line 78 of file weather.h.

Referenced by screenReady(), setupPage(), and Weather().

int Weather::updateInterval [private]

Definition at line 79 of file weather.h.

Definition at line 80 of file weather.h.

Referenced by holdPage(), nextpage_timeout(), screenReady(), setupPage(), and Weather().

Definition at line 81 of file weather.h.

Referenced by cursorLeft(), cursorRight(), setupPage(), and Weather().

QTimer* Weather::showtime_Timer [private]

Definition at line 82 of file weather.h.

Referenced by Weather().

QTimer* Weather::nextpage_Timer [private]

Definition at line 93 of file weather.h.

QRect Weather::newlocRect [private]

Definition at line 105 of file weather.h.

Referenced by Weather().

QRect Weather::fullRect [private]

Definition at line 106 of file weather.h.

Referenced by holdPage(), paintEvent(), updatePage(), and Weather().

QPixmap Weather::realBackground [private]

Definition at line 108 of file weather.h.

Referenced by getBackground(), screenReady(), and updateBackground().

Definition at line 109 of file weather.h.

Referenced by Weather().

Definition at line 110 of file weather.h.

Referenced by keyPressEvent(), setupPage(), setupScreens(), and Weather().

QPtrList<WeatherScreen> Weather::screens [private]

Definition at line 111 of file weather.h.

Referenced by nextScreen(), prevScreen(), setupScreens(), and Weather().

QMap<QString, WeatherScreen *> Weather::all_screens [private]

Definition at line 126 of file weather.h.

Definition at line 128 of file weather.h.

Referenced by setupScreens(), Weather(), and ~Weather().

bool Weather::paused [private]

Definition at line 129 of file weather.h.

Referenced by cursorLeft(), cursorRight(), holdPage(), and Weather().


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