|
Freeciv-3.4
|
#include <tab_counters.h>
Inheritance diagram for tab_counter:Public Member Functions | |
| tab_counter (ruledit_gui *ui_in) | |
| void | refresh () |
Static Public Member Functions | |
| static void | techs_to_menu (QMenu *fill_menu) |
| static QString | counter_name (struct counter *padv) |
Private Slots | |
| void | update_counter_info (struct counter *counter) |
| void | checkpoint_given (int val) |
| void | default_given (int val) |
| void | name_given () |
| void | select_counter () |
| void | add_now () |
| void | delete_now () |
| void | same_name_toggle (bool checked) |
| void | edit_effects () |
| bool | initialize_new_counter (struct counter *padv) |
| void | counter_behavior_selected (int item) |
Private Attributes | |
| ruledit_gui * | ui |
| QLineEdit * | name |
| QLineEdit * | rname |
| QSpinBox * | checkpoint |
| QSpinBox * | def |
| QComboBox * | type |
| QCheckBox * | same_name |
| QPushButton * | effects_button |
| QListWidget * | counter_list |
| struct counter * | selected |
Definition at line 35 of file tab_counters.h.
|
explicit |
Setup tab_counter object
Definition at line 43 of file tab_counters.cpp.
|
privateslot |
User requested new counter
Definition at line 334 of file tab_counters.cpp.
Referenced by tab_counter().
User entered checkpoint value
Definition at line 243 of file tab_counters.cpp.
Referenced by tab_counter().
Called when counter behavior is set by user
Definition at line 162 of file tab_counters.cpp.
Referenced by tab_counter().
User entered default value
Definition at line 254 of file tab_counters.cpp.
Referenced by tab_counter().
|
privateslot |
User requested counter deletion
Definition at line 293 of file tab_counters.cpp.
Referenced by tab_counter().
|
privateslot |
User wants to edit effects
Definition at line 380 of file tab_counters.cpp.
Referenced by tab_counter().
Initialize new counter for use.
Definition at line 314 of file tab_counters.cpp.
Referenced by add_now().
|
privateslot |
User entered name for counter
Definition at line 265 of file tab_counters.cpp.
Referenced by tab_counter().
| void tab_counter::refresh | ( | ) |
Refresh the information.
Definition at line 180 of file tab_counters.cpp.
Referenced by add_now(), counter_behavior_selected(), delete_now(), name_given(), and tab_counter().
Toggled whether rule_name and name should be kept identical
Definition at line 369 of file tab_counters.cpp.
Referenced by tab_counter().
|
privateslot |
User selected counter from the list.
Definition at line 223 of file tab_counters.cpp.
Referenced by tab_counter().
Update info of the counter
Definition at line 194 of file tab_counters.cpp.
Referenced by add_now(), counter_behavior_selected(), delete_now(), select_counter(), and tab_counter().
|
private |
Definition at line 50 of file tab_counters.h.
Referenced by tab_counter(), and update_counter_info().
|
private |
Definition at line 56 of file tab_counters.h.
Referenced by refresh(), select_counter(), and tab_counter().
|
private |
Definition at line 51 of file tab_counters.h.
Referenced by tab_counter(), and update_counter_info().
|
private |
Definition at line 54 of file tab_counters.h.
Referenced by tab_counter().
|
private |
Definition at line 48 of file tab_counters.h.
Referenced by name_given(), same_name_toggle(), tab_counter(), and update_counter_info().
|
private |
Definition at line 49 of file tab_counters.h.
Referenced by name_given(), same_name_toggle(), tab_counter(), and update_counter_info().
|
private |
Definition at line 53 of file tab_counters.h.
Referenced by tab_counter().
Definition at line 58 of file tab_counters.h.
Referenced by checkpoint_given(), counter_behavior_selected(), default_given(), delete_now(), edit_effects(), name_given(), tab_counter(), and update_counter_info().
|
private |
Definition at line 52 of file tab_counters.h.
Referenced by counter_behavior_selected(), and tab_counter().
|
private |
Definition at line 46 of file tab_counters.h.
Referenced by delete_now(), edit_effects(), name_given(), and tab_counter().