61 label =
new QLabel(QString::fromUtf8(
R__(
"Move Cost")));
62 label->setParent(
this);
65 mcost->setRange(0, 100);
71 label =
new QLabel(QString::fromUtf8(
R__(
"Defense Bonus %")));
72 label->setParent(
this);
81 label =
new QLabel(QString::fromUtf8(
R__(
"Graphics tag")));
82 label->setParent(
this);
90 label =
new QLabel(QString::fromUtf8(
R__(
"Alt graphics tag")));
91 label->setParent(
this);
99 label =
new QLabel(QString::fromUtf8(
R__(
"Second alt graphics tag")));
100 label->setParent(
this);
108 button =
new QPushButton(QString::fromUtf8(
R__(
"Helptext")),
this);
112 label =
new QLabel(QString::fromUtf8(
R__(
"Native to")));
170 if (
check->isChecked()) {
181 if (
check->isChecked()) {
#define BV_ISSET(bv, bit)
void set_defense_value(int value)
QGridLayout * flag_layout
edit_terrain(ruledit_gui *ui_in, struct terrain *ter_in)
void gfx_tag_alt2_given()
void closeEvent(QCloseEvent *cevent)
QGridLayout * natives_layout
void set_mcost_value(int value)
void open_help(struct strvec **help)
struct packet_ruleset_control control
char graphic_alt2[MAX_LEN_NAME]
bv_unit_classes native_to
char graphic_alt[MAX_LEN_NAME]
char graphic_str[MAX_LEN_NAME]
#define sz_strlcpy(dest, src)
const char * terrain_rule_name(const struct terrain *pterrain)
struct unit_class * uclass_by_number(const Unit_Class_id id)
const char * uclass_rule_name(const struct unit_class *pclass)