#include </home/clem/local/src/opie/core/settings/citytime/zonemap.h>
Collaboration diagram for ZoneMap:

Public Slots | |
| void | slotZoom (bool setZoom) |
| void | slotIllum (bool setIllum) |
| void | slotUpdate (void) |
| void | slotRedraw (void) |
| void | slotFindCity (const QPoint &pos) |
| void | changeClock (bool) |
Signals | |
| void | signalTz (const QString &newCountry, const QString &newCity) |
Public Member Functions | |
| ZoneMap (QWidget *parent=0, const char *name=0) | |
| ~ZoneMap () | |
| void | showZones (void) const |
| QWidget * | selectionWidget (QWidget *parent) |
| bool | zoneToWin (int zoneX, int zoneY, int &winX, int &winY) const |
| bool | winToZone (int winX, int winY, int &zoneX, int &zoneY) const |
Protected Member Functions | |
| virtual void | viewportMouseMoveEvent (QMouseEvent *event) |
| virtual void | viewportMousePressEvent (QMouseEvent *event) |
| virtual void | viewportMouseReleaseEvent (QMouseEvent *event) |
| virtual void | keyPressEvent (QKeyEvent *) |
| virtual void | resizeEvent (QResizeEvent *) |
| virtual void | drawContents (QPainter *p, int cx, int cy, int cw, int ch) |
Private Slots | |
| void | slotGetCities (QListViewItem *) |
| void | slotCitySelected (QListViewItem *) |
Private Member Functions | |
| ZoneField * | findCityNear (ZoneField *city, int key) |
| void | showCity (ZoneField *city) |
| void | drawCities (QPainter *p) |
| void | drawCity (QPainter *p, const ZoneField *pCity) |
| void | readZones (void) |
| void | zoom (void) |
| void | makeMap (int width, int height) |
Private Attributes | |
| QPixmap * | pixCurr |
| QLabel * | lblCity |
| QToolButton * | cmdZoom |
| QTimer * | tHide |
| ZoneField * | pLast |
| ZoneField * | pRepaint |
| QList< ZoneField > | zones |
| StylusNormalizer | norm |
| QListView * | cityView |
| QString | selectedCont |
| int | wImg |
| int | hImg |
| int | ox |
| int | oy |
| int | drawableW |
| int | drawableH |
| bool | bZoom |
| bool | bIllum |
| bool | ampm |
| ZoneField * | cursor |
|
||||||||||||
|
Definition at line 144 of file zonemap.cpp. References changeClock(), cmdZoom, height, lblCity, Opie::Core::OResource::loadPixmap(), norm, pixCurr, qApp, readZones(), slotFindCity(), slotRedraw(), slotUpdate(), slotZoom(), Opie::Core::OResource::SmallIcon, tHide, tr, width, and zones. |
|
|
Definition at line 208 of file zonemap.cpp. |
|
|
Definition at line 727 of file zonemap.cpp. References ampm. Referenced by CityTime::CityTime(), and ZoneMap(). |
|
|
Definition at line 522 of file zonemap.cpp. References iCITYOFFSET, iCITYSIZE, wImg, ZoneField::x(), Opie::MM::x, ZoneField::y(), Opie::MM::y, zones, and zoneToWin(). |
|
||||||||||||
|
Definition at line 642 of file zonemap.cpp. References iCITYOFFSET, iCITYSIZE, ZoneField::x(), Opie::MM::x, ZoneField::y(), Opie::MM::y, and zoneToWin(). Referenced by drawContents(). |
|
||||||||||||||||||||||||
|
Definition at line 652 of file zonemap.cpp. References bZoom, drawableH, drawableW, drawCity(), height, makeMap(), pixCurr, pLast, and width. |
|
||||||||||||
|
Definition at line 293 of file zonemap.cpp. References ZoneField::x(), ZoneField::y(), and zones. Referenced by keyPressEvent(). |
|
|
Definition at line 260 of file zonemap.cpp. References cursor, findCityNear(), showCity(), signalTz(), slotFindCity(), tHide, ZoneField::x(), ZoneField::y(), and zoneToWin(). |
|
||||||||||||
|
Definition at line 605 of file zonemap.cpp. References bIllum, dayNight(), hImg, i, Opie::Core::OResource::loadImage(), numColors, ox, oy, pixCurr, strMAP, tr, warning(), and wImg. Referenced by drawContents(), resizeEvent(), slotIllum(), slotUpdate(), and slotZoom(). |
|
|
Definition at line 212 of file zonemap.cpp. References QTextStream::atEnd(), QFile::close(), IO_ReadOnly, QFile::open(), QTextStream::readLine(), strZONEINFO, tr, warning(), and zones. Referenced by ZoneMap(). |
|
|
Definition at line 441 of file zonemap.cpp. References bZoom, cmdZoom, drawableH, drawableW, height, makeMap(), and width. |
|
|
Definition at line 466 of file zonemap.cpp. References add, QValueList< T >::append(), cityView, QValueList< T >::contains(), ZoneField::country(), name, slotGetCities(), tr, and zones. Referenced by CityTime::CityTime(). |
|
|
Definition at line 377 of file zonemap.cpp. References ampm, ZoneField::city(), ZoneField::country(), drawableH, drawableW, iCITYOFFSET, iCITYSIZE, iLABELOFFSET, lblCity, p, pLast, pRepaint, QString::replace(), TimeString::shortTime(), ZoneField::x(), Opie::MM::x, ZoneField::y(), Opie::MM::y, and zoneToWin(). Referenced by keyPressEvent(), and slotFindCity(). |
|
|
Definition at line 455 of file zonemap.cpp. References ZoneField::showStructure(), and zones. |
|
||||||||||||
|
Referenced by keyPressEvent(), slotCitySelected(), and viewportMouseReleaseEvent(). |
|
|
Definition at line 516 of file zonemap.cpp. References selectedCont, and signalTz(). Referenced by slotGetCities(). |
|
|
Definition at line 335 of file zonemap.cpp. References cursor, iTHRESHOLD, lblCity, showCity(), tHide, winToZone(), ZoneField::x(), Opie::MM::x, ZoneField::y(), Opie::MM::y, and zones. Referenced by keyPressEvent(), and ZoneMap(). |
|
|
Definition at line 501 of file zonemap.cpp. References ZoneField::city(), cityView, ZoneField::country(), selectedCont, slotCitySelected(), and zones. Referenced by selectionWidget(). |
|
|
Definition at line 698 of file zonemap.cpp. |
|
|
Definition at line 714 of file zonemap.cpp. References iCITYOFFSET, iCITYSIZE, pLast, pRepaint, ZoneField::x(), Opie::MM::x, ZoneField::y(), Opie::MM::y, and zoneToWin(). Referenced by viewportMousePressEvent(), and ZoneMap(). |
|
|
Definition at line 706 of file zonemap.cpp. References drawableH, drawableW, makeMap(), and pixCurr. Referenced by ZoneMap(). |
|
|
Definition at line 686 of file zonemap.cpp. References bZoom, drawableH, drawableW, hImg, makeMap(), and wImg. Referenced by ZoneMap(). |
|
|
Definition at line 243 of file zonemap.cpp. References StylusNormalizer::addEvent(), and norm. |
|
|
Definition at line 234 of file zonemap.cpp. References StylusNormalizer::addEvent(), norm, slotRedraw(), and StylusNormalizer::start(). |
|
|
Definition at line 248 of file zonemap.cpp. References ZoneField::city(), ZoneField::country(), norm, NULL, pLast, signalTz(), StylusNormalizer::stop(), and tHide. |
|
||||||||||||||||||||
|
Definition at line 155 of file zonemap.h. References hImg, ox, oy, and wImg. Referenced by slotFindCity(). |
|
||||||||||||||||||||
|
Definition at line 133 of file zonemap.h. References hImg, iCITYOFFSET, ox, oy, and wImg. Referenced by drawCities(), drawCity(), keyPressEvent(), showCity(), and slotRedraw(). |
|
|
|
|
|
Definition at line 128 of file zonemap.h. Referenced by changeClock(), and showCity(). |
|
|
Definition at line 127 of file zonemap.h. Referenced by makeMap(), and slotIllum(). |
|
|
Definition at line 126 of file zonemap.h. Referenced by drawContents(), resizeEvent(), and slotZoom(). |
|
|
Definition at line 112 of file zonemap.h. Referenced by selectionWidget(), and slotGetCities(). |
|
|
Definition at line 105 of file zonemap.h. Referenced by resizeEvent(), and ZoneMap(). |
|
|
Definition at line 130 of file zonemap.h. Referenced by keyPressEvent(), and slotFindCity(). |
|
|
Definition at line 124 of file zonemap.h. Referenced by drawContents(), resizeEvent(), showCity(), slotUpdate(), and slotZoom(). |
|
|
Definition at line 123 of file zonemap.h. Referenced by drawContents(), resizeEvent(), showCity(), slotUpdate(), and slotZoom(). |
|
|
Definition at line 117 of file zonemap.h. Referenced by makeMap(), slotIllum(), slotZoom(), winToZone(), and zoneToWin(). |
|
|
Definition at line 104 of file zonemap.h. Referenced by showCity(), slotFindCity(), and ZoneMap(). |
|
|
Definition at line 110 of file zonemap.h. Referenced by viewportMouseMoveEvent(), viewportMousePressEvent(), viewportMouseReleaseEvent(), and ZoneMap(). |
|
|
Definition at line 119 of file zonemap.h. Referenced by makeMap(), winToZone(), and zoneToWin(). |
|
|
Definition at line 120 of file zonemap.h. Referenced by makeMap(), winToZone(), and zoneToWin(). |
|
|
Definition at line 103 of file zonemap.h. Referenced by drawContents(), makeMap(), slotIllum(), slotUpdate(), and ZoneMap(). |
|
|
Definition at line 107 of file zonemap.h. Referenced by drawContents(), showCity(), slotRedraw(), and viewportMouseReleaseEvent(). |
|
|
Definition at line 108 of file zonemap.h. Referenced by showCity(), and slotRedraw(). |
|
|
Definition at line 113 of file zonemap.h. Referenced by slotCitySelected(), and slotGetCities(). |
|
|
Definition at line 106 of file zonemap.h. Referenced by keyPressEvent(), slotFindCity(), viewportMouseReleaseEvent(), and ZoneMap(). |
|
|
Definition at line 116 of file zonemap.h. Referenced by drawCities(), makeMap(), slotIllum(), slotZoom(), winToZone(), and zoneToWin(). |
|
|
Definition at line 109 of file zonemap.h. Referenced by drawCities(), findCityNear(), readZones(), selectionWidget(), showZones(), slotFindCity(), slotGetCities(), and ZoneMap(). |
1.4.2