Freeciv-3.3
|
#include <citydlg.h>
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 1163 of file citydlg.cpp.
|
protected |
Mouse handler for city_label
Definition at line 1171 of file citydlg.cpp.
Just sets target city for city_label
Definition at line 1195 of file citydlg.cpp.
Referenced by city_dialog::update_citizens().
Definition at line 427 of file citydlg.h.
Referenced by mousePressEvent(), and set_city().
|
private |
Definition at line 428 of file citydlg.h.
Referenced by city_label().