Freeciv-3.2
|
#include <edit_utype.h>
Public Member Functions | |
edit_utype (ruledit_gui *ui_in, struct unit_type *utype_in) | |
void | refresh () |
Protected Member Functions | |
void | closeEvent (QCloseEvent *cevent) |
Private Slots | |
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 () |
Private Attributes | |
ruledit_gui * | ui |
struct unit_type * | utype |
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 31 of file edit_utype.h.
|
explicit |
Setup edit_utype object
Definition at line 39 of file edit_utype.cpp.
|
protected |
User is closing dialog.
Definition at line 212 of file edit_utype.cpp.
|
privateslot |
User entered new secondary alternative graphics tag.
Definition at line 336 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
privateslot |
User entered new alternative graphics tag.
Definition at line 326 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
privateslot |
User entered new graphics tag.
Definition at line 316 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
void edit_utype::refresh | ( | ) |
Read attack strength value from spinbox
Definition at line 276 of file edit_utype.cpp.
Referenced by edit_utype().
Read build cost value from spinbox
Definition at line 268 of file edit_utype.cpp.
Referenced by edit_utype().
Read defense strength value from spinbox
Definition at line 284 of file edit_utype.cpp.
Referenced by edit_utype().
Read firepower from spinbox
Definition at line 300 of file edit_utype.cpp.
Referenced by edit_utype().
Read hitpoints from spinbox
Definition at line 292 of file edit_utype.cpp.
Referenced by edit_utype().
Read move rate from spinbox
Definition at line 308 of file edit_utype.cpp.
Referenced by edit_utype().
|
privateslot |
User entered new alternative fight sound tag.
Definition at line 376 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
privateslot |
User entered new move fight tag.
Definition at line 366 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
privateslot |
User entered new alternative move sound tag.
Definition at line 356 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
privateslot |
User entered new move sound tag.
Definition at line 346 of file edit_utype.cpp.
Referenced by closeEvent(), and edit_utype().
|
private |
Definition at line 43 of file edit_utype.h.
Referenced by edit_utype(), and refresh().
|
private |
Definition at line 42 of file edit_utype.h.
Referenced by edit_utype(), and refresh().
|
private |
Definition at line 44 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 56 of file edit_utype.h.
Referenced by closeEvent(), and edit_utype().
|
private |
Definition at line 48 of file edit_utype.h.
Referenced by edit_utype(), gfx_tag_given(), and refresh().
|
private |
Definition at line 49 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(), gfx_tag_alt2_given(), and refresh().
|
private |
Definition at line 45 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 53 of file edit_utype.h.
Referenced by edit_utype(), refresh(), and sound_fight_tag_given().
|
private |
Definition at line 54 of file edit_utype.h.
Referenced by edit_utype(), refresh(), and sound_fight_tag_alt_given().
|
private |
Definition at line 51 of file edit_utype.h.
Referenced by edit_utype(), refresh(), and sound_move_tag_given().
|
private |
Definition at line 52 of file edit_utype.h.
Referenced by edit_utype(), refresh(), and sound_move_tag_alt_given().
|
private |
Definition at line 40 of file edit_utype.h.
Referenced by edit_utype().
Definition at line 41 of file edit_utype.h.
Referenced by closeEvent(), edit_utype(), gfx_tag_alt2_given(), gfx_tag_alt_given(), gfx_tag_given(), 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().