|
Freeciv-3.4
|
#include <tab_tech.h>
Inheritance diagram for tab_tech:Public Member Functions | |
| tab_tech (ruledit_gui *ui_in) | |
| void | refresh () |
Static Public Member Functions | |
| static void | techs_to_menu (QMenu *fill_menu) |
| static QString | tech_name (struct advance *padv) |
Private Slots | |
| void | name_given () |
| void | select_tech () |
| void | req1_jump () |
| void | req2_jump () |
| void | root_req_jump () |
| void | req1_menu (QAction *action) |
| void | req2_menu (QAction *action) |
| void | root_req_menu (QAction *action) |
| void | add_now () |
| void | delete_now () |
| void | edit_now () |
| void | same_name_toggle (bool checked) |
| void | edit_effects () |
Private Member Functions | |
| void | update_tech_info (struct advance *adv) |
| QMenu * | prepare_req_button (QToolButton *button, enum tech_req rn) |
| bool | initialize_new_tech (struct advance *padv) |
Private Attributes | |
| ruledit_gui * | ui |
| QLineEdit * | name |
| QLineEdit * | rname |
| QToolButton * | req1_button |
| QToolButton * | req2_button |
| QToolButton * | root_req_button |
| QMenu * | req1 |
| QMenu * | req2 |
| QMenu * | root_req |
| QListWidget * | tech_list |
| QCheckBox * | same_name |
| struct advance * | selected |
Definition at line 37 of file tab_tech.h.
|
explicit |
Setup tab_tech object
Definition at line 46 of file tab_tech.cpp.
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
User requested tech edit dialog
Definition at line 490 of file tab_tech.cpp.
Referenced by tab_tech().
|
privateslot |
|
private |
| void tab_tech::refresh | ( | ) |
Refresh the information.
Definition at line 139 of file tab_tech.cpp.
Referenced by add_now(), delete_now(), ruledit_gui::launch_now(), name_given(), and tab_tech().
|
privateslot |
Req1 of the current tech selected.
Definition at line 264 of file tab_tech.cpp.
Referenced by tab_tech().
User selected tech to be req1
Definition at line 294 of file tab_tech.cpp.
Referenced by prepare_req_button().
|
privateslot |
Req2 of the current tech selected.
Definition at line 274 of file tab_tech.cpp.
Referenced by tab_tech().
User selected tech to be req2
Definition at line 312 of file tab_tech.cpp.
Referenced by prepare_req_button().
|
privateslot |
Root req of the current tech selected.
Definition at line 284 of file tab_tech.cpp.
Referenced by tab_tech().
User selected tech to be root_req
Definition at line 330 of file tab_tech.cpp.
Referenced by prepare_req_button().
Toggled whether rule_name and name should be kept identical
Definition at line 463 of file tab_tech.cpp.
Referenced by tab_tech().
|
privateslot |
User selected tech from the list.
Definition at line 249 of file tab_tech.cpp.
Referenced by tab_tech().
Display name of the tech
Definition at line 199 of file tab_tech.cpp.
Referenced by techs_to_menu(), and update_tech_info().
|
static |
Fill menu with all possible tech values
Definition at line 187 of file tab_tech.cpp.
Referenced by refresh().
Update info of the tech
Definition at line 211 of file tab_tech.cpp.
Referenced by add_now(), delete_now(), req1_jump(), req1_menu(), req2_jump(), req2_menu(), root_req_jump(), root_req_menu(), select_tech(), and tab_tech().
|
private |
Definition at line 53 of file tab_tech.h.
Referenced by name_given(), same_name_toggle(), tab_tech(), and update_tech_info().
|
private |
Definition at line 58 of file tab_tech.h.
Referenced by refresh(), and tab_tech().
|
private |
Definition at line 55 of file tab_tech.h.
Referenced by tab_tech(), and update_tech_info().
|
private |
Definition at line 59 of file tab_tech.h.
Referenced by refresh(), and tab_tech().
|
private |
Definition at line 56 of file tab_tech.h.
Referenced by tab_tech(), and update_tech_info().
|
private |
Definition at line 54 of file tab_tech.h.
Referenced by name_given(), same_name_toggle(), tab_tech(), and update_tech_info().
|
private |
Definition at line 60 of file tab_tech.h.
Referenced by refresh(), and tab_tech().
|
private |
Definition at line 57 of file tab_tech.h.
Referenced by tab_tech(), and update_tech_info().
|
private |
Definition at line 62 of file tab_tech.h.
Referenced by name_given(), tab_tech(), and update_tech_info().
Definition at line 64 of file tab_tech.h.
Referenced by delete_now(), edit_effects(), edit_now(), name_given(), req1_jump(), req1_menu(), req2_jump(), req2_menu(), root_req_jump(), root_req_menu(), tab_tech(), and update_tech_info().
|
private |
Definition at line 61 of file tab_tech.h.
Referenced by refresh(), select_tech(), and tab_tech().
|
private |
Definition at line 48 of file tab_tech.h.
Referenced by delete_now(), edit_effects(), edit_now(), name_given(), and tab_tech().