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