|
Freeciv-3.1
|
#include <citydlg.h>
Inheritance diagram for city_label:Public Member Functions | |
| city_label (int type, QWidget *parent=0) | |
| void | set_city (struct city *pcity) |
Protected Member Functions | |
| void | mousePressEvent (QMouseEvent *event) |
Private Attributes | |
| struct city * | pcity |
| int | type |
| city_label::city_label | ( | int | t, |
| QWidget * | parent = 0 |
||
| ) |
city_label is used only for showing citizens icons and was created only to catch mouse events
Definition at line 1186 of file citydlg.cpp.
|
protected |
Mouse handler for city_label
Definition at line 1194 of file citydlg.cpp.
| void city_label::set_city | ( | struct city * | pcity | ) |
Just sets target city for city_label
Definition at line 1218 of file citydlg.cpp.
Referenced by city_dialog::update_citizens().
|
private |
Definition at line 426 of file citydlg.h.
Referenced by mousePressEvent(), and set_city().
|
private |
Definition at line 427 of file citydlg.h.
Referenced by city_label().