Freeciv-3.2
|
#include <tab_building.h>
Public Member Functions | |
tab_building (ruledit_gui *ui_in) | |
void | refresh () |
Private Slots | |
void | name_given () |
void | select_bldg () |
void | add_now2 () |
void | delete_now () |
void | edit_now () |
void | same_name_toggle (bool checked) |
void | edit_reqs () |
void | edit_effects () |
Private Member Functions | |
void | update_bldg_info (struct impr_type *pimpr) |
bool | initialize_new_bldg (struct impr_type *pimpr) |
Private Attributes | |
ruledit_gui * | ui |
QLineEdit * | name |
QLineEdit * | rname |
QListWidget * | bldg_list |
QCheckBox * | same_name |
struct impr_type * | selected |
Definition at line 30 of file tab_building.h.
|
explicit |
Setup tab_building object
Definition at line 46 of file tab_building.cpp.
|
privateslot |
User requested new building
FIXME: get_req_source_effects() calls afterwards for the newly added building will lack effects that existed beforehand, and are provided via, e.g., BuildingFlag requirement.
Definition at line 253 of file tab_building.cpp.
Referenced by tab_building().
|
privateslot |
User requested building deletion
Definition at line 207 of file tab_building.cpp.
Referenced by tab_building().
|
privateslot |
User wants to edit effects
Definition at line 312 of file tab_building.cpp.
Referenced by tab_building().
|
privateslot |
User requested building edit dialog
Definition at line 328 of file tab_building.cpp.
Referenced by tab_building().
|
privateslot |
User wants to edit reqs
Definition at line 301 of file tab_building.cpp.
Referenced by tab_building().
Initialize new building for use.
Definition at line 231 of file tab_building.cpp.
Referenced by add_now2().
|
privateslot |
User entered name for the building
Definition at line 174 of file tab_building.cpp.
Referenced by tab_building().
void tab_building::refresh | ( | ) |
Refresh the information.
Definition at line 117 of file tab_building.cpp.
Referenced by add_now2(), delete_now(), ruledit_gui::launch_now(), name_given(), and tab_building().
Toggled whether rule_name and name should be kept identical
Definition at line 290 of file tab_building.cpp.
Referenced by tab_building().
|
privateslot |
User selected building from the list.
Definition at line 159 of file tab_building.cpp.
Referenced by tab_building().
Update info of the building
Definition at line 131 of file tab_building.cpp.
Referenced by add_now2(), delete_now(), select_bldg(), and tab_building().
|
private |
Definition at line 45 of file tab_building.h.
Referenced by refresh(), select_bldg(), and tab_building().
|
private |
Definition at line 43 of file tab_building.h.
Referenced by name_given(), same_name_toggle(), tab_building(), and update_bldg_info().
|
private |
Definition at line 44 of file tab_building.h.
Referenced by name_given(), same_name_toggle(), tab_building(), and update_bldg_info().
|
private |
Definition at line 46 of file tab_building.h.
Referenced by name_given(), tab_building(), and update_bldg_info().
Definition at line 48 of file tab_building.h.
Referenced by delete_now(), edit_effects(), edit_now(), edit_reqs(), name_given(), tab_building(), and update_bldg_info().
|
private |
Definition at line 39 of file tab_building.h.
Referenced by delete_now(), edit_effects(), edit_now(), edit_reqs(), name_given(), and tab_building().