Freeciv-3.2
|
#include <tab_counters.h>
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_behaviour_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 333 of file tab_counters.cpp.
Referenced by tab_counter().
User entered checkpoint value
Definition at line 242 of file tab_counters.cpp.
Referenced by tab_counter().
Called when counter behaviour is set by user
Definition at line 161 of file tab_counters.cpp.
Referenced by tab_counter().
User entered default value
Definition at line 253 of file tab_counters.cpp.
Referenced by tab_counter().
|
privateslot |
User requested counter deletion
Definition at line 292 of file tab_counters.cpp.
Referenced by tab_counter().
|
privateslot |
User wants to edit effects
Definition at line 379 of file tab_counters.cpp.
Referenced by tab_counter().
Initialize new counter for use.
Definition at line 313 of file tab_counters.cpp.
Referenced by add_now().
|
privateslot |
User entered name for counter
Definition at line 264 of file tab_counters.cpp.
Referenced by tab_counter().
void tab_counter::refresh | ( | ) |
Refresh the information.
Definition at line 179 of file tab_counters.cpp.
Referenced by add_now(), counter_behaviour_selected(), delete_now(), name_given(), and tab_counter().
Toggled whether rule_name and name should be kept identical
Definition at line 368 of file tab_counters.cpp.
Referenced by tab_counter().
|
privateslot |
User selected counter from the list.
Definition at line 222 of file tab_counters.cpp.
Referenced by tab_counter().
Update info of the counter
Definition at line 193 of file tab_counters.cpp.
Referenced by add_now(), counter_behaviour_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_behaviour_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_behaviour_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().