|
Freeciv-3.1
|
#include <edit_utype.h>
Inheritance diagram for edit_utype:Public Member Functions | |
| edit_utype (ruledit_gui *ui_in, struct unit_type *utype_in) | |
| void | refresh () |
Public Member Functions inherited from values_dlg | |
| values_dlg () | |
| void | open_help (struct strvec **help) |
| void | close_help () |
Protected Member Functions | |
| void | closeEvent (QCloseEvent *cevent) |
Private Slots | |
| void | req_menu (QAction *action) |
| void | class_menu (QAction *action) |
| void | set_bcost_value (int value) |
| void | set_attack_value (int value) |
| void | set_defense_value (int value) |
| void | set_hitpoints (int value) |
| void | set_firepower (int value) |
| void | set_move_rate (int value) |
| void | gfx_tag_given () |
| void | gfx_tag_alt_given () |
| void | sound_move_tag_given () |
| void | sound_move_tag_alt_given () |
| void | sound_fight_tag_given () |
| void | sound_fight_tag_alt_given () |
| void | helptext () |
Private Attributes | |
| ruledit_gui * | ui |
| struct unit_type * | utype |
| QToolButton * | req_button |
| QToolButton * | class_button |
| QSpinBox * | bcost |
| QSpinBox * | attack |
| QSpinBox * | defense |
| QSpinBox * | hitpoints |
| QSpinBox * | firepower |
| QSpinBox * | move_rate |
| QLineEdit * | gfx_tag |
| QLineEdit * | gfx_tag_alt |
| QLineEdit * | sound_move_tag |
| QLineEdit * | sound_move_tag_alt |
| QLineEdit * | sound_fight_tag |
| QLineEdit * | sound_fight_tag_alt |
| QGridLayout * | flag_layout |
Definition at line 34 of file edit_utype.h.
|
explicit |
Setup edit_utype object
Definition at line 40 of file edit_utype.cpp.
|
privateslot |
|
protected |
User is closing dialog.
Definition at line 244 of file edit_utype.cpp.
|
privateslot |
User entered new alternative graphics tag.
Definition at line 378 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
privateslot |
User entered new graphics tag.
Definition at line 368 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
privateslot |
User pressed helptext button
Definition at line 444 of file edit_utype.cpp.
Referenced by edit_utype().
| void edit_utype::refresh | ( | ) |
Refresh the information.
Definition at line 281 of file edit_utype.cpp.
Referenced by class_menu(), edit_utype(), and req_menu().
|
privateslot |
User selected tech to be req of utype
Definition at line 302 of file edit_utype.cpp.
Referenced by edit_utype().
|
privateslot |
Read attack strength value from spinbox
Definition at line 328 of file edit_utype.cpp.
Referenced by edit_utype().
|
privateslot |
Read build cost value from spinbox
Definition at line 320 of file edit_utype.cpp.
Referenced by edit_utype().
|
privateslot |
Read defense strength value from spinbox
Definition at line 336 of file edit_utype.cpp.
Referenced by edit_utype().
|
privateslot |
Read firepower from spinbox
Definition at line 352 of file edit_utype.cpp.
Referenced by edit_utype().
|
privateslot |
Read hitpoints from spinbox
Definition at line 344 of file edit_utype.cpp.
Referenced by edit_utype().
|
privateslot |
Read move rate from spinbox
Definition at line 360 of file edit_utype.cpp.
Referenced by edit_utype().
|
privateslot |
User entered new alternative fight sound tag.
Definition at line 418 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
privateslot |
User entered new move fight tag.
Definition at line 408 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
privateslot |
User entered new alternative move sound tag.
Definition at line 398 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
privateslot |
User entered new move sound tag.
Definition at line 388 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
private |
Definition at line 48 of file edit_utype.h.
Referenced by edit_utype(), and refresh().
|
private |
Definition at line 47 of file edit_utype.h.
Referenced by edit_utype(), and refresh().
|
private |
Definition at line 46 of file edit_utype.h.
Referenced by edit_utype(), and refresh().
|
private |
Definition at line 49 of file edit_utype.h.
Referenced by edit_utype(), and refresh().
|
private |
Definition at line 51 of file edit_utype.h.
Referenced by edit_utype(), and refresh().
|
private |
Definition at line 60 of file edit_utype.h.
Referenced by closeEvent(), and edit_utype().
|
private |
Definition at line 53 of file edit_utype.h.
Referenced by edit_utype(), gfx_tag_given(), and refresh().
|
private |
Definition at line 54 of file edit_utype.h.
Referenced by edit_utype(), gfx_tag_alt_given(), and refresh().
|
private |
Definition at line 50 of file edit_utype.h.
Referenced by edit_utype(), and refresh().
|
private |
Definition at line 52 of file edit_utype.h.
Referenced by edit_utype(), and refresh().
|
private |
Definition at line 45 of file edit_utype.h.
Referenced by edit_utype(), and refresh().
|
private |
Definition at line 57 of file edit_utype.h.
Referenced by edit_utype(), refresh(), and sound_fight_tag_given().
|
private |
Definition at line 58 of file edit_utype.h.
Referenced by edit_utype(), refresh(), and sound_fight_tag_alt_given().
|
private |
Definition at line 55 of file edit_utype.h.
Referenced by edit_utype(), refresh(), and sound_move_tag_given().
|
private |
Definition at line 56 of file edit_utype.h.
Referenced by edit_utype(), refresh(), and sound_move_tag_alt_given().
|
private |
Definition at line 43 of file edit_utype.h.
Referenced by edit_utype().
|
private |
Definition at line 44 of file edit_utype.h.
Referenced by class_menu(), closeEvent(), edit_utype(), gfx_tag_alt_given(), gfx_tag_given(), helptext(), refresh(), req_menu(), set_attack_value(), set_bcost_value(), set_defense_value(), set_firepower(), set_hitpoints(), set_move_rate(), sound_fight_tag_alt_given(), sound_fight_tag_given(), sound_move_tag_alt_given(), and sound_move_tag_given().