Freeciv-3.2
|
#include <tab_achievement.h>
Public Member Functions | |
tab_achievement (ruledit_gui *ui_in) | |
void | refresh () |
Private Slots | |
void | name_given () |
void | select_achievement () |
void | add_now () |
void | delete_now () |
void | same_name_toggle (bool checked) |
void | edit_effects () |
void | edit_type (QAction *action) |
void | set_value (int value) |
Private Member Functions | |
void | update_achievement_info (struct achievement *pach) |
bool | initialize_new_achievement (struct achievement *pach) |
Private Attributes | |
ruledit_gui * | ui |
QLineEdit * | name |
QLineEdit * | rname |
QListWidget * | ach_list |
QCheckBox * | same_name |
QToolButton * | type_button |
QMenu * | type_menu |
QSpinBox * | value_box |
struct achievement * | selected |
Definition at line 33 of file tab_achievement.h.
|
explicit |
Setup tab_achievement object
Definition at line 47 of file tab_achievement.cpp.
|
privateslot |
User requested new achievement
Definition at line 275 of file tab_achievement.cpp.
Referenced by tab_achievement().
|
privateslot |
User requested achievement deletion
Definition at line 240 of file tab_achievement.cpp.
Referenced by tab_achievement().
|
privateslot |
User wants to edit effects
Definition at line 323 of file tab_achievement.cpp.
Referenced by tab_achievement().
User selected achievement type
Definition at line 339 of file tab_achievement.cpp.
Referenced by tab_achievement().
|
private |
Initialize new achievement for use.
Definition at line 261 of file tab_achievement.cpp.
Referenced by add_now().
|
privateslot |
User entered name for the achievement
Definition at line 208 of file tab_achievement.cpp.
Referenced by tab_achievement().
void tab_achievement::refresh | ( | ) |
Refresh the information.
Definition at line 144 of file tab_achievement.cpp.
Referenced by add_now(), delete_now(), edit_type(), ruledit_gui::launch_now(), name_given(), and tab_achievement().
Toggled whether rule_name and name should be kept identical
Definition at line 312 of file tab_achievement.cpp.
Referenced by tab_achievement().
|
privateslot |
User selected achievement from the list.
Definition at line 193 of file tab_achievement.cpp.
Referenced by tab_achievement().
Read value from spinbox to achievement
Definition at line 359 of file tab_achievement.cpp.
Referenced by tab_achievement().
|
private |
Update info of the achievement
Definition at line 159 of file tab_achievement.cpp.
Referenced by add_now(), delete_now(), edit_type(), select_achievement(), set_value(), and tab_achievement().
|
private |
Definition at line 48 of file tab_achievement.h.
Referenced by refresh(), select_achievement(), and tab_achievement().
|
private |
Definition at line 46 of file tab_achievement.h.
Referenced by name_given(), same_name_toggle(), tab_achievement(), and update_achievement_info().
|
private |
Definition at line 47 of file tab_achievement.h.
Referenced by name_given(), same_name_toggle(), tab_achievement(), and update_achievement_info().
|
private |
Definition at line 49 of file tab_achievement.h.
Referenced by name_given(), tab_achievement(), and update_achievement_info().
|
private |
Definition at line 54 of file tab_achievement.h.
Referenced by delete_now(), edit_effects(), edit_type(), name_given(), set_value(), tab_achievement(), and update_achievement_info().
|
private |
Definition at line 50 of file tab_achievement.h.
Referenced by tab_achievement(), and update_achievement_info().
|
private |
Definition at line 51 of file tab_achievement.h.
Referenced by tab_achievement().
|
private |
Definition at line 42 of file tab_achievement.h.
Referenced by delete_now(), edit_effects(), name_given(), and tab_achievement().
|
private |
Definition at line 52 of file tab_achievement.h.
Referenced by tab_achievement(), and update_achievement_info().