Freeciv-3.3
|
#include <edit_utype.h>
Public Member Functions | |
edit_utype (ruledit_gui *ui_in, struct unit_type *utype_in) | |
void | refresh () |
![]() | |
values_dlg () | |
void | open_help (struct strvec **help) |
void | close_help () |
Protected Member Functions | |
void | closeEvent (QCloseEvent *cevent) |
Private Slots | |
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 | gfx_tag_alt2_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 * | class_button |
QSpinBox * | bcost |
QSpinBox * | attack |
QSpinBox * | defense |
QSpinBox * | hitpoints |
QSpinBox * | firepower |
QSpinBox * | move_rate |
QLineEdit * | gfx_tag |
QLineEdit * | gfx_tag_alt |
QLineEdit * | gfx_tag_alt2 |
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.
|
protected |
User is closing dialog.
Definition at line 237 of file edit_utype.cpp.
|
privateslot |
User entered new secondary alternative graphics tag.
Definition at line 364 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
privateslot |
User entered new alternative graphics tag.
Definition at line 354 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
privateslot |
User entered new graphics tag.
Definition at line 344 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
privateslot |
User pressed helptext button
Definition at line 430 of file edit_utype.cpp.
Referenced by edit_utype().
void edit_utype::refresh | ( | ) |
Refresh the information.
Definition at line 275 of file edit_utype.cpp.
Referenced by class_menu(), and edit_utype().
Read attack strength value from spinbox
Definition at line 304 of file edit_utype.cpp.
Referenced by edit_utype().
Read build cost value from spinbox
Definition at line 296 of file edit_utype.cpp.
Referenced by edit_utype().
Read defense strength value from spinbox
Definition at line 312 of file edit_utype.cpp.
Referenced by edit_utype().
Read firepower from spinbox
Definition at line 328 of file edit_utype.cpp.
Referenced by edit_utype().
Read hitpoints from spinbox
Definition at line 320 of file edit_utype.cpp.
Referenced by edit_utype().
Read move rate from spinbox
Definition at line 336 of file edit_utype.cpp.
Referenced by edit_utype().
|
privateslot |
User entered new alternative fight sound tag.
Definition at line 404 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
privateslot |
User entered new move fight tag.
Definition at line 394 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
privateslot |
User entered new alternative move sound tag.
Definition at line 384 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
privateslot |
User entered new move sound tag.
Definition at line 374 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
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 45 of file edit_utype.h.
Referenced by edit_utype(), and refresh().
|
private |
Definition at line 48 of file edit_utype.h.
Referenced by edit_utype(), and refresh().
|
private |
Definition at line 50 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 52 of file edit_utype.h.
Referenced by edit_utype(), gfx_tag_given(), and refresh().
|
private |
Definition at line 53 of file edit_utype.h.
Referenced by edit_utype(), gfx_tag_alt_given(), and refresh().
|
private |
Definition at line 54 of file edit_utype.h.
Referenced by edit_utype(), gfx_tag_alt2_given(), 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 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().
Definition at line 44 of file edit_utype.h.
Referenced by class_menu(), closeEvent(), edit_utype(), gfx_tag_alt2_given(), gfx_tag_alt_given(), gfx_tag_given(), helptext(), refresh(), 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().