Freeciv-3.2
|
#include <tab_unit.h>
Public Member Functions | |
tab_unit (ruledit_gui *ui_in) | |
void | refresh () |
Private Slots | |
void | name_given () |
void | select_unit () |
void | add_now () |
void | delete_now () |
void | edit_now () |
void | same_name_toggle (bool checked) |
void | edit_reqs () |
void | edit_effects () |
Private Member Functions | |
void | update_utype_info (struct unit_type *ptype) |
bool | initialize_new_utype (struct unit_type *ptype) |
Private Attributes | |
ruledit_gui * | ui |
QLineEdit * | name |
QLineEdit * | rname |
QListWidget * | unit_list |
QCheckBox * | same_name |
struct unit_type * | selected |
Definition at line 30 of file tab_unit.h.
|
explicit |
Setup tab_unit object
Definition at line 46 of file tab_unit.cpp.
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
User requested unit edit dialog
Definition at line 230 of file tab_unit.cpp.
Referenced by tab_unit().
|
privateslot |
|
privateslot |
User entered name for the unit
Definition at line 173 of file tab_unit.cpp.
Referenced by tab_unit().
void tab_unit::refresh | ( | ) |
Refresh the information.
Definition at line 116 of file tab_unit.cpp.
Referenced by add_now(), delete_now(), name_given(), and tab_unit().
Toggled whether rule_name and name should be kept identical
Definition at line 302 of file tab_unit.cpp.
Referenced by tab_unit().
|
privateslot |
User selected unit from the list.
Definition at line 158 of file tab_unit.cpp.
Referenced by tab_unit().
Update info of the unit
Definition at line 130 of file tab_unit.cpp.
Referenced by add_now(), delete_now(), select_unit(), and tab_unit().
|
private |
Definition at line 43 of file tab_unit.h.
Referenced by name_given(), same_name_toggle(), tab_unit(), and update_utype_info().
|
private |
Definition at line 44 of file tab_unit.h.
Referenced by name_given(), same_name_toggle(), tab_unit(), and update_utype_info().
|
private |
Definition at line 46 of file tab_unit.h.
Referenced by name_given(), tab_unit(), and update_utype_info().
Definition at line 48 of file tab_unit.h.
Referenced by delete_now(), edit_effects(), edit_now(), edit_reqs(), name_given(), tab_unit(), and update_utype_info().
|
private |
Definition at line 39 of file tab_unit.h.
Referenced by delete_now(), edit_effects(), edit_now(), edit_reqs(), name_given(), and tab_unit().
|
private |
Definition at line 45 of file tab_unit.h.
Referenced by refresh(), select_unit(), and tab_unit().