#include <weatherScreen.h>

Definition at line 15 of file weatherScreen.h.
Public Slots | |
| virtual void | clock_tick () |
| virtual void | newData (QString loc, units_t units, DataMap data) |
| virtual bool | handleKey (QKeyEvent *e) |
Signals | |
| void | screenReady (WeatherScreen *) |
Public Member Functions | |
| WeatherScreen (Weather *parent, LayerSet *container, int id) | |
| ~WeatherScreen () | |
| void | setValue (const QString &key, const QString &value) |
| QString | getValue (const QString &key) |
| bool | containsKey (const QString &key) |
| virtual bool | canShowScreen () |
| void | pause_animation () |
| void | unpause_animation () |
| virtual void | hiding () |
| virtual void | showing () |
| void | addDataItem (const QString &item, bool required=false) |
| void | setUnits (units_t units) |
| units_t | getUnits () |
| LayerSet * | getContainer () |
| void | draw (QPainter *p) |
| virtual void | toggle_pause (bool paused) |
| virtual bool | usingKeys () |
| bool | inUse () |
| void | setInUse (bool inuse) |
| int | getId () |
| WeatherScreen ($screen_id) | |
| setActive () | |
| getSource ($source_id=NULL) | |
| deleteScreen () | |
| initNew ($container, $hostname) | |
| renumDrawOrder () | |
| move ($direction) | |
| checkScreenID () | |
| runSearch ($needle) | |
| getData () | |
| runScript ($script, $args) | |
| updateLocation ($source_id, $loc) | |
| updateUnits ($units) | |
Static Public Member Functions | |
| static WeatherScreen * | loadScreen (Weather *parent, LayerSet *container, int id=-1) |
| static QStringList | getAllDynamicTypes (LayerSet *container) |
Public Attributes | |
| $screen_id | |
| $source_id | |
| $draworder | |
| $container | |
| $host | |
| $units | |
| $active | |
| $data = array() | |
| $search = array() | |
Protected Member Functions | |
| virtual QString | prepareDataItem (const QString &key, const QString &value) |
| virtual void | prepareWidget (UIType *widget) |
| virtual void | prepareScreen () |
| UIType * | getType (const QString &key) |
Protected Attributes | |
| units_t | m_units |
| LayerSet * | m_container |
| Weather * | m_parent |
| QString | m_name |
Private Attributes | |
| QRect | fullRect |
| QMap< QString, QString > | map |
| UIAnimatedImageType * | m_ai |
| bool | m_inuse |
| bool | m_prepared |
| int | m_id |
| WeatherScreen::~WeatherScreen | ( | ) |
Definition at line 62 of file weatherScreen.cpp.
| WeatherScreen * WeatherScreen::loadScreen | ( | Weather * | parent, | |
| LayerSet * | container, | |||
| int | id = -1 | |||
| ) | [static] |
| QStringList WeatherScreen::getAllDynamicTypes | ( | LayerSet * | container | ) | [static] |
| void WeatherScreen::setValue | ( | const QString & | key, | |
| const QString & | value | |||
| ) |
| QString WeatherScreen::getValue | ( | const QString & | key | ) | [inline] |
Definition at line 28 of file weatherScreen.h.
| bool WeatherScreen::containsKey | ( | const QString & | key | ) | [inline] |
Definition at line 29 of file weatherScreen.h.
| bool WeatherScreen::canShowScreen | ( | ) | [virtual] |
Definition at line 67 of file weatherScreen.cpp.
Referenced by Weather::cursorLeft(), Weather::cursorRight(), newData(), and Weather::nextpage_timeout().
| void WeatherScreen::pause_animation | ( | ) |
| void WeatherScreen::unpause_animation | ( | ) |
| void WeatherScreen::hiding | ( | ) | [virtual] |
Definition at line 201 of file weatherScreen.cpp.
Referenced by Weather::cursorLeft(), Weather::cursorRight(), and Weather::nextpage_timeout().
| void WeatherScreen::showing | ( | ) | [virtual] |
Definition at line 206 of file weatherScreen.cpp.
Referenced by Weather::cursorLeft(), Weather::cursorRight(), and Weather::showLayout().
| void WeatherScreen::addDataItem | ( | const QString & | item, | |
| bool | required = false | |||
| ) |
| void WeatherScreen::setUnits | ( | units_t | units | ) | [inline] |
| units_t WeatherScreen::getUnits | ( | ) | [inline] |
Definition at line 37 of file weatherScreen.h.
| LayerSet* WeatherScreen::getContainer | ( | ) | [inline] |
Definition at line 38 of file weatherScreen.h.
| void WeatherScreen::draw | ( | QPainter * | p | ) |
| void WeatherScreen::toggle_pause | ( | bool | paused | ) | [virtual] |
Definition at line 213 of file weatherScreen.cpp.
Referenced by Weather::cursorLeft(), Weather::cursorRight(), and Weather::holdPage().
| virtual bool WeatherScreen::usingKeys | ( | ) | [inline, virtual] |
Reimplemented in SevereWeatherScreen.
Definition at line 41 of file weatherScreen.h.
Referenced by Weather::keyPressEvent().
| bool WeatherScreen::inUse | ( | ) | [inline] |
| void WeatherScreen::setInUse | ( | bool | inuse | ) | [inline] |
| int WeatherScreen::getId | ( | ) | [inline] |
| void WeatherScreen::screenReady | ( | WeatherScreen * | ) | [signal] |
Referenced by newData().
| void WeatherScreen::clock_tick | ( | ) | [virtual, slot] |
Definition at line 270 of file weatherScreen.cpp.
Definition at line 89 of file weatherScreen.cpp.
| virtual bool WeatherScreen::handleKey | ( | QKeyEvent * | e | ) | [inline, virtual, slot] |
Reimplemented in SevereWeatherScreen.
Definition at line 52 of file weatherScreen.h.
Referenced by Weather::keyPressEvent().
| QString WeatherScreen::prepareDataItem | ( | const QString & | key, | |
| const QString & | value | |||
| ) | [protected, virtual] |
Reimplemented in CurrCondScreen, ThreeDayForecastScreen, SixDayForecastScreen, StaticImageScreen, and AnimatedImageScreen.
Definition at line 162 of file weatherScreen.cpp.
Referenced by setValue().
| void WeatherScreen::prepareWidget | ( | UIType * | widget | ) | [protected, virtual] |
Reimplemented in StaticImageScreen, and AnimatedImageScreen.
Definition at line 144 of file weatherScreen.cpp.
Referenced by prepareScreen().
| void WeatherScreen::prepareScreen | ( | ) | [protected, virtual] |
| UIType * WeatherScreen::getType | ( | const QString & | key | ) | [protected] |
Definition at line 250 of file weatherScreen.cpp.
Referenced by prepareScreen(), SevereWeatherScreen::SevereWeatherScreen(), and toggle_pause().
| WeatherScreen::WeatherScreen | ( | $ | screen_id | ) |
Definition at line 29 of file WeatherScreen.php.
| WeatherScreen::setActive | ( | ) |
Definition at line 60 of file WeatherScreen.php.
| WeatherScreen::getSource | ( | $ | source_id = NULL |
) |
Definition at line 64 of file WeatherScreen.php.
| WeatherScreen::deleteScreen | ( | ) |
Definition at line 79 of file WeatherScreen.php.
| WeatherScreen::initNew | ( | $ | container, | |
| $ | hostname | |||
| ) |
Definition at line 103 of file WeatherScreen.php.
| WeatherScreen::renumDrawOrder | ( | ) |
Definition at line 133 of file WeatherScreen.php.
| WeatherScreen::move | ( | $ | direction | ) |
Definition at line 157 of file WeatherScreen.php.
| WeatherScreen::checkScreenID | ( | ) |
Definition at line 184 of file WeatherScreen.php.
| WeatherScreen::runSearch | ( | $ | needle | ) |
Definition at line 200 of file WeatherScreen.php.
| WeatherScreen::getData | ( | void | ) |
Definition at line 242 of file WeatherScreen.php.
| WeatherScreen::runScript | ( | $ | script, | |
| $ | args | |||
| ) |
Definition at line 286 of file WeatherScreen.php.
| WeatherScreen::updateLocation | ( | $ | source_id, | |
| $ | loc | |||
| ) |
Definition at line 321 of file WeatherScreen.php.
| WeatherScreen::updateUnits | ( | $ | units | ) |
Definition at line 361 of file WeatherScreen.php.
units_t WeatherScreen::m_units [protected] |
Definition at line 55 of file weatherScreen.h.
Referenced by getUnits(), SixDayForecastScreen::prepareDataItem(), ThreeDayForecastScreen::prepareDataItem(), CurrCondScreen::prepareDataItem(), and setUnits().
LayerSet* WeatherScreen::m_container [protected] |
Definition at line 56 of file weatherScreen.h.
Referenced by draw(), getContainer(), getType(), pause_animation(), unpause_animation(), and WeatherScreen().
Weather* WeatherScreen::m_parent [protected] |
Definition at line 57 of file weatherScreen.h.
Referenced by draw(), SevereWeatherScreen::handleKey(), prepareScreen(), and WeatherScreen().
QString WeatherScreen::m_name [protected] |
Definition at line 58 of file weatherScreen.h.
QRect WeatherScreen::fullRect [private] |
Definition at line 67 of file weatherScreen.h.
QMap<QString, QString> WeatherScreen::map [private] |
Definition at line 68 of file weatherScreen.h.
Referenced by addDataItem(), canShowScreen(), containsKey(), getValue(), prepareScreen(), and setValue().
UIAnimatedImageType* WeatherScreen::m_ai [private] |
Definition at line 69 of file weatherScreen.h.
bool WeatherScreen::m_inuse [private] |
Definition at line 70 of file weatherScreen.h.
Referenced by inUse(), setInUse(), and WeatherScreen().
bool WeatherScreen::m_prepared [private] |
Definition at line 71 of file weatherScreen.h.
Referenced by prepareScreen(), showing(), and WeatherScreen().
int WeatherScreen::m_id [private] |
| WeatherScreen::$screen_id |
Definition at line 18 of file WeatherScreen.php.
| WeatherScreen::$source_id |
Definition at line 19 of file WeatherScreen.php.
| WeatherScreen::$draworder |
Definition at line 20 of file WeatherScreen.php.
| WeatherScreen::$container |
Definition at line 21 of file WeatherScreen.php.
| WeatherScreen::$host |
Definition at line 22 of file WeatherScreen.php.
| WeatherScreen::$units |
Definition at line 23 of file WeatherScreen.php.
| WeatherScreen::$active |
Definition at line 24 of file WeatherScreen.php.
| WeatherScreen::$data = array() |
Definition at line 26 of file WeatherScreen.php.
| WeatherScreen::$search = array() |
Definition at line 27 of file WeatherScreen.php.
1.5.5