14 #include <QElapsedTimer>
17 #include <QMessageBox>
18 #include <QRubberBand>
19 #include <QTableWidget>
QRadioButton * this_continent
QComboBox * unit_sel_type
QVBoxLayout * main_layout
QRadioButton * main_continent
QRadioButton * full_hp_mp
bool island_filter(struct unit *punit)
Filter by location.
bool type_filter(struct unit *punit)
Filter by type.
unit_hud_selector(QWidget *parent)
Constructor for unit_hud_selector.
void uhs_select()
Selects and closes widget.
~unit_hud_selector() override
Unit_hud_selector destructor.
void select_units(int x=0)
Shows number of selected units on label.
QRadioButton * any_activity
bool activity_filter(struct unit *punit)
Filter by activity.
bool hp_filter(struct unit *punit)
Filter by hp/mp.
void show_me()
Shows and moves to center unit_hud_selector.
void uhs_cancel()
Closes current widget.
void keyPressEvent(QKeyEvent *event) override
Key press event for unit_hud_selector.
bool has_player_unit_type(Unit_type_id utype)
Returns true if player has any unit of unit_type.
void show_new_turn_info()
Shows new turn information with big font.