![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <tab_building.h>
Inheritance diagram for tab_building:
Collaboration diagram for tab_building:Public Member Functions | |
| tab_building (ruledit_gui *ui_in) | |
| Setup tab_building object. More... | |
| void | refresh () |
| Refresh the information. More... | |
Private Slots | |
| void | name_given () |
| User entered name for the building. More... | |
| void | select_bldg () |
| User selected building from the list. More... | |
| void | add_now2 () |
| User requested new building. More... | |
| void | delete_now () |
| User requested building deletion. More... | |
| void | same_name_toggle (bool checked) |
| Toggled whether rule_name and name should be kept identical. More... | |
| void | edit_reqs () |
| User wants to edit reqs. More... | |
| void | edit_effects () |
| User wants to edit effects. More... | |
Private Member Functions | |
| void | update_bldg_info (struct impr_type *pimpr) |
| Update info of the building. More... | |
| bool | initialize_new_bldg (struct impr_type *pimpr) |
| Initialize new tech for use. More... | |
Private Attributes | |
| ruledit_gui * | ui |
| QLineEdit * | name |
| QLineEdit * | rname |
| QListWidget * | bldg_list |
| QRadioButton * | same_name |
| struct impr_type * | selected |
Definition at line 28 of file tab_building.h.
|
explicit |
Setup tab_building object.
Definition at line 39 of file tab_building.cpp.
|
privateslot |
User requested new building.
Definition at line 243 of file tab_building.cpp.
Referenced by tab_building().
|
privateslot |
User requested building deletion.
Definition at line 209 of file tab_building.cpp.
Referenced by tab_building().
|
privateslot |
User wants to edit effects.
Definition at line 304 of file tab_building.cpp.
Referenced by tab_building().
|
privateslot |
User wants to edit reqs.
Definition at line 293 of file tab_building.cpp.
Referenced by tab_building().
|
private |
Initialize new tech for use.
Definition at line 230 of file tab_building.cpp.
Referenced by add_now2().
|
privateslot |
User entered name for the building.
Definition at line 176 of file tab_building.cpp.
Referenced by tab_building().
| void tab_building::refresh | ( | ) |
Refresh the information.
Definition at line 114 of file tab_building.cpp.
Referenced by add_now2(), delete_now(), ruledit_gui::launch_now(), name_given(), and tab_building().
|
privateslot |
Toggled whether rule_name and name should be kept identical.
Definition at line 282 of file tab_building.cpp.
Referenced by tab_building().
|
privateslot |
User selected building from the list.
Definition at line 161 of file tab_building.cpp.
Referenced by tab_building().
|
private |
Update info of the building.
Definition at line 133 of file tab_building.cpp.
Referenced by add_now2(), delete_now(), and select_bldg().
|
private |
Definition at line 42 of file tab_building.h.
Referenced by refresh(), select_bldg(), and tab_building().
|
private |
Definition at line 40 of file tab_building.h.
Referenced by name_given(), same_name_toggle(), tab_building(), and update_bldg_info().
|
private |
Definition at line 41 of file tab_building.h.
Referenced by name_given(), same_name_toggle(), tab_building(), and update_bldg_info().
|
private |
Definition at line 43 of file tab_building.h.
Referenced by name_given(), tab_building(), and update_bldg_info().
|
private |
Definition at line 45 of file tab_building.h.
Referenced by delete_now(), edit_effects(), edit_reqs(), name_given(), tab_building(), and update_bldg_info().
|
private |
Definition at line 36 of file tab_building.h.
Referenced by delete_now(), edit_effects(), edit_reqs(), name_given(), and tab_building().