![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <hudwidget.h>
Inheritance diagram for hud_unit_loader:
Collaboration diagram for hud_unit_loader:Public Member Functions | |
| hud_unit_loader (struct unit *pcargo, struct tile *ptile) | |
| Constructor for widget allowing loading units on transports. More... | |
| ~hud_unit_loader () override | |
| Destructor for units loader. More... | |
| void | show_me () |
| Shows unit loader, adds possible tranportsand units to table Calculates table size. More... | |
Protected Slots | |
| void | selection_changed (const QItemSelection &, const QItemSelection &) |
| Selects given tranport and closes widget. More... | |
Private Attributes | |
| QList< unit * > | transports |
| struct unit * | cargo |
| struct tile * | qtile |
Definition at line 229 of file hudwidget.h.
Constructor for widget allowing loading units on transports.
Definition at line 1155 of file hudwidget.cpp.
|
overridedefault |
Destructor for units loader.
|
protectedslot |
Selects given tranport and closes widget.
Definition at line 1247 of file hudwidget.cpp.
Referenced by hud_unit_loader().
| void hud_unit_loader::show_me | ( | ) |
Shows unit loader, adds possible tranportsand units to table Calculates table size.
Definition at line 1182 of file hudwidget.cpp.
Referenced by request_transport().
|
private |
Definition at line 240 of file hudwidget.h.
Referenced by hud_unit_loader(), selection_changed(), and show_me().
|
private |
Definition at line 241 of file hudwidget.h.
Referenced by hud_unit_loader(), selection_changed(), and show_me().
|
private |
Definition at line 230 of file hudwidget.h.
Referenced by selection_changed(), and show_me().