![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <tab_extras.h>
Inheritance diagram for tab_extras:
Collaboration diagram for tab_extras:Public Member Functions | |
| tab_extras (ruledit_gui *ui_in) | |
| Setup tab_extras object. More... | |
| void | refresh () |
| Refresh the information. More... | |
Private Slots | |
| void | name_given () |
| User entered name for the extra. More... | |
| void | select_extra () |
| User selected extra from the list. More... | |
| void | add_now () |
| User requested new extra. More... | |
| void | delete_now () |
| User requested extra 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_extra_info (struct extra_type *pextra) |
| Update info of the extra. More... | |
| bool | initialize_new_extra (struct extra_type *pextra) |
| Initialize new extra for use. More... | |
Private Attributes | |
| ruledit_gui * | ui |
| QLineEdit * | name |
| QLineEdit * | rname |
| QListWidget * | extra_list |
| QRadioButton * | same_name |
| struct extra_type * | selected |
Definition at line 28 of file tab_extras.h.
|
explicit |
Setup tab_extras object.
Definition at line 39 of file tab_extras.cpp.
|
privateslot |
User requested new extra.
Definition at line 243 of file tab_extras.cpp.
Referenced by tab_extras().
|
privateslot |
User requested extra deletion.
Definition at line 208 of file tab_extras.cpp.
Referenced by tab_extras().
|
privateslot |
User wants to edit effects.
Definition at line 304 of file tab_extras.cpp.
Referenced by tab_extras().
|
privateslot |
|
private |
Initialize new extra for use.
Definition at line 229 of file tab_extras.cpp.
Referenced by add_now().
|
privateslot |
User entered name for the extra.
Definition at line 175 of file tab_extras.cpp.
Referenced by tab_extras().
| void tab_extras::refresh | ( | ) |
Refresh the information.
Definition at line 113 of file tab_extras.cpp.
Referenced by add_now(), delete_now(), ruledit_gui::launch_now(), name_given(), and tab_extras().
|
privateslot |
Toggled whether rule_name and name should be kept identical.
Definition at line 282 of file tab_extras.cpp.
Referenced by tab_extras().
|
privateslot |
User selected extra from the list.
Definition at line 160 of file tab_extras.cpp.
Referenced by tab_extras().
|
private |
Update info of the extra.
Definition at line 132 of file tab_extras.cpp.
Referenced by add_now(), delete_now(), and select_extra().
|
private |
Definition at line 42 of file tab_extras.h.
Referenced by refresh(), select_extra(), and tab_extras().
|
private |
Definition at line 40 of file tab_extras.h.
Referenced by name_given(), same_name_toggle(), tab_extras(), and update_extra_info().
|
private |
Definition at line 41 of file tab_extras.h.
Referenced by name_given(), same_name_toggle(), tab_extras(), and update_extra_info().
|
private |
Definition at line 43 of file tab_extras.h.
Referenced by name_given(), tab_extras(), and update_extra_info().
|
private |
Definition at line 45 of file tab_extras.h.
Referenced by delete_now(), edit_effects(), edit_reqs(), name_given(), tab_extras(), and update_extra_info().
|
private |
Definition at line 36 of file tab_extras.h.
Referenced by delete_now(), edit_effects(), edit_reqs(), name_given(), and tab_extras().