58 label =
new QLabel(QString::fromUtf8(
R__(
"Class")));
59 label->setParent(
this);
62 class_button->setToolButtonStyle(Qt::ToolButtonTextOnly);
63 class_button->setPopupMode(QToolButton::MenuButtonPopup);
76 label =
new QLabel(QString::fromUtf8(
R__(
"Build Cost")));
77 label->setParent(
this);
80 bcost->setRange(0, 10000);
87 label =
new QLabel(QString::fromUtf8(
R__(
"Attack Strength")));
88 label->setParent(
this);
97 label =
new QLabel(QString::fromUtf8(
R__(
"Defense Strength")));
98 label->setParent(
this);
107 label =
new QLabel(QString::fromUtf8(
R__(
"Hitpoints")));
108 label->setParent(
this);
117 label =
new QLabel(QString::fromUtf8(
R__(
"Firepower")));
118 label->setParent(
this);
127 label =
new QLabel(QString::fromUtf8(
R__(
"Move Rate")));
128 label->setParent(
this);
137 label =
new QLabel(QString::fromUtf8(
R__(
"Graphics tag")));
138 label->setParent(
this);
146 label =
new QLabel(QString::fromUtf8(
R__(
"Alt graphics tag")));
147 label->setParent(
this);
155 label =
new QLabel(QString::fromUtf8(
R__(
"Second alt gfx tag")));
156 label->setParent(
this);
164 label =
new QLabel(QString::fromUtf8(
R__(
"Move sound tag")));
165 label->setParent(
this);
174 label =
new QLabel(QString::fromUtf8(
R__(
"Alt move sound tag")));
175 label->setParent(
this);
184 label =
new QLabel(QString::fromUtf8(
R__(
"Fight sound tag")));
185 label->setParent(
this);
194 label =
new QLabel(QString::fromUtf8(
R__(
"Alt fight sound tag")));
195 label->setParent(
this);
204 button =
new QPushButton(QString::fromUtf8(
R__(
"Helptext")),
this);
259 if (
check->isChecked()) {
#define BV_ISSET(bv, bit)
void set_bcost_value(int value)
QLineEdit * sound_move_tag_alt
edit_utype(ruledit_gui *ui_in, struct unit_type *utype_in)
void sound_move_tag_given()
void set_defense_value(int value)
void gfx_tag_alt2_given()
void set_attack_value(int value)
QLineEdit * sound_fight_tag
QLineEdit * sound_fight_tag_alt
void sound_fight_tag_given()
QLineEdit * sound_move_tag
void set_firepower(int value)
QToolButton * class_button
void closeEvent(QCloseEvent *cevent)
void set_move_rate(int value)
void sound_move_tag_alt_given()
void class_menu(QAction *action)
QGridLayout * flag_layout
void sound_fight_tag_alt_given()
void set_hitpoints(int value)
void open_help(struct strvec **help)
struct unit_class * uclass
char graphic_alt[MAX_LEN_NAME]
char sound_move_alt[MAX_LEN_NAME]
char graphic_str[MAX_LEN_NAME]
char sound_move[MAX_LEN_NAME]
char sound_fight_alt[MAX_LEN_NAME]
char graphic_alt2[MAX_LEN_NAME]
char sound_fight[MAX_LEN_NAME]
#define sz_strlcpy(dest, src)
const char * utype_rule_name(const struct unit_type *punittype)
const char * uclass_rule_name(const struct unit_class *pclass)
struct unit_class * unit_class_by_rule_name(const char *s)
#define unit_class_re_active_iterate_end
#define UTYF_LAST_USER_FLAG
#define unit_class_re_active_iterate(_p)