Freeciv-3.2
|
#include <tab_gov.h>
Public Member Functions | |
tab_gov (ruledit_gui *ui_in) | |
void | refresh () |
Private Slots | |
void | name_given () |
void | select_gov () |
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_gov_info (struct government *pgov) |
bool | initialize_new_gov (struct government *pgov) |
Private Attributes | |
ruledit_gui * | ui |
QLineEdit * | name |
QLineEdit * | rname |
QListWidget * | gov_list |
QCheckBox * | same_name |
struct government * | selected |
|
explicit |
Setup tab_gov object
Definition at line 46 of file tab_gov.cpp.
|
privateslot |
|
privateslot |
User requested government deletion
Definition at line 207 of file tab_gov.cpp.
Referenced by tab_gov().
|
privateslot |
|
privateslot |
User requested government edit dialog
Definition at line 231 of file tab_gov.cpp.
Referenced by tab_gov().
|
privateslot |
|
private |
Initialize new government for use.
Definition at line 248 of file tab_gov.cpp.
Referenced by add_now().
|
privateslot |
User entered name for the government
Definition at line 174 of file tab_gov.cpp.
Referenced by tab_gov().
void tab_gov::refresh | ( | ) |
Refresh the information.
Definition at line 116 of file tab_gov.cpp.
Referenced by add_now(), delete_now(), ruledit_gui::launch_now(), name_given(), and tab_gov().
Toggled whether rule_name and name should be kept identical
Definition at line 302 of file tab_gov.cpp.
Referenced by tab_gov().
|
privateslot |
User selected government from the list.
Definition at line 159 of file tab_gov.cpp.
Referenced by tab_gov().
|
private |
Update info of the government
Definition at line 131 of file tab_gov.cpp.
Referenced by add_now(), delete_now(), select_gov(), and tab_gov().
|
private |
Definition at line 45 of file tab_gov.h.
Referenced by refresh(), select_gov(), and tab_gov().
|
private |
Definition at line 43 of file tab_gov.h.
Referenced by name_given(), same_name_toggle(), tab_gov(), and update_gov_info().
|
private |
Definition at line 44 of file tab_gov.h.
Referenced by name_given(), same_name_toggle(), tab_gov(), and update_gov_info().
|
private |
Definition at line 46 of file tab_gov.h.
Referenced by name_given(), tab_gov(), and update_gov_info().
|
private |
Definition at line 48 of file tab_gov.h.
Referenced by delete_now(), edit_effects(), edit_now(), edit_reqs(), name_given(), tab_gov(), and update_gov_info().
|
private |
Definition at line 39 of file tab_gov.h.
Referenced by delete_now(), edit_effects(), edit_now(), edit_reqs(), name_given(), and tab_gov().