Freeciv-3.1
|
#include <hudwidget.h>
Public Member Functions | |
unit_hud_selector (QWidget *parent) | |
~unit_hud_selector () | |
void | show_me () |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *event) |
Private Slots | |
void | select_units (int x=0) |
void | select_units (bool x) |
void | uhs_select () |
void | uhs_cancel () |
Private Member Functions | |
bool | activity_filter (struct unit *punit) |
bool | hp_filter (struct unit *punit) |
bool | island_filter (struct unit *punit) |
bool | type_filter (struct unit *punit) |
Private Attributes | |
QVBoxLayout * | main_layout |
QComboBox * | unit_sel_type |
QPushButton * | select |
QPushButton * | cancel |
QRadioButton * | any_activity |
QRadioButton * | fortified |
QRadioButton * | idle |
QRadioButton * | sentried |
QRadioButton * | any |
QRadioButton * | full_mp |
QRadioButton * | full_hp |
QRadioButton * | full_hp_mp |
QRadioButton * | this_tile |
QRadioButton * | this_continent |
QRadioButton * | main_continent |
QRadioButton * | anywhere |
QRadioButton * | this_type |
QRadioButton * | any_type |
QLabel | result_label |
Definition at line 247 of file hudwidget.h.
unit_hud_selector::unit_hud_selector | ( | QWidget * | parent | ) |
Constructor for unit_hud_selector
Definition at line 1304 of file hudwidget.cpp.
unit_hud_selector::~unit_hud_selector | ( | ) |
Unit_hud_selector destructor
Definition at line 1455 of file hudwidget.cpp.
Filter by activity
Definition at line 1531 of file hudwidget.cpp.
Referenced by select_units(), and uhs_select().
Filter by hp/mp
Definition at line 1545 of file hudwidget.cpp.
Referenced by select_units(), and uhs_select().
Filter by location
Definition at line 1561 of file hudwidget.cpp.
Referenced by select_units(), and uhs_select().
|
protected |
Key press event for unit_hud_selector
Definition at line 1515 of file hudwidget.cpp.
|
privateslot |
Convinient slot for ez connect
Definition at line 1507 of file hudwidget.cpp.
|
privateslot |
Shows number of selected units on label
Definition at line 1488 of file hudwidget.cpp.
Referenced by select_units(), show_me(), and unit_hud_selector().
void unit_hud_selector::show_me | ( | ) |
Shows and moves to center unit_hud_selector
Definition at line 1439 of file hudwidget.cpp.
Referenced by mr_menu::slot_unit_filter().
Filter by type
Definition at line 1594 of file hudwidget.cpp.
Referenced by select_units(), and uhs_select().
|
privateslot |
Closes current widget
Definition at line 1480 of file hudwidget.cpp.
Referenced by unit_hud_selector().
|
privateslot |
Selects and closes widget
Definition at line 1462 of file hudwidget.cpp.
Referenced by keyPressEvent(), and unit_hud_selector().
|
private |
Definition at line 276 of file hudwidget.h.
Referenced by hp_filter(), and unit_hud_selector().
|
private |
Definition at line 271 of file hudwidget.h.
Referenced by activity_filter(), and unit_hud_selector().
|
private |
Definition at line 287 of file hudwidget.h.
Referenced by type_filter(), and unit_hud_selector().
|
private |
Definition at line 284 of file hudwidget.h.
Referenced by island_filter(), and unit_hud_selector().
|
private |
Definition at line 253 of file hudwidget.h.
Referenced by generate_packets.Variant::get_delta_receive_body(), generate_packets.Variant::get_delta_send_body(), and unit_hud_selector().
|
private |
Definition at line 272 of file hudwidget.h.
Referenced by activity_filter(), and unit_hud_selector().
|
private |
Definition at line 278 of file hudwidget.h.
Referenced by hp_filter(), and unit_hud_selector().
|
private |
Definition at line 279 of file hudwidget.h.
Referenced by hp_filter(), and unit_hud_selector().
|
private |
Definition at line 277 of file hudwidget.h.
Referenced by hp_filter(), and unit_hud_selector().
|
private |
Definition at line 273 of file hudwidget.h.
Referenced by activity_filter(), and unit_hud_selector().
|
private |
Definition at line 283 of file hudwidget.h.
Referenced by island_filter(), and unit_hud_selector().
|
private |
Definition at line 250 of file hudwidget.h.
Referenced by unit_hud_selector().
|
private |
Definition at line 288 of file hudwidget.h.
Referenced by select_units(), and unit_hud_selector().
|
private |
Definition at line 252 of file hudwidget.h.
Referenced by unit_hud_selector().
|
private |
Definition at line 274 of file hudwidget.h.
Referenced by activity_filter(), and unit_hud_selector().
|
private |
Definition at line 282 of file hudwidget.h.
Referenced by island_filter(), and unit_hud_selector().
|
private |
Definition at line 281 of file hudwidget.h.
Referenced by island_filter(), and unit_hud_selector().
|
private |
Definition at line 286 of file hudwidget.h.
Referenced by type_filter(), and unit_hud_selector().
|
private |
Definition at line 251 of file hudwidget.h.
Referenced by type_filter(), and unit_hud_selector().