52 QPushButton *delete_button;
63 mpr_layout->setSizeConstraint(QLayout::SetMaximumSize);
65 label =
new QLabel(QString::fromUtf8(
R__(
"Rule Name")));
66 label->setParent(
this);
67 rname =
new QLineEdit(
this);
73 label =
new QLabel(QString::fromUtf8(
R__(
"Name")));
74 label->setParent(
this);
77 name =
new QLineEdit(
this);
84 reqs_button =
new QPushButton(QString::fromUtf8(
R__(
"Requirements")),
this);
88 add_button =
new QPushButton(QString::fromUtf8(
R__(
"Add Multiplier")),
this);
93 delete_button =
new QPushButton(QString::fromUtf8(
R__(
"Remove this Multiplier")),
this);
135 name->setEnabled(
false);
139 name->setEnabled(
true);
145 name->setEnabled(
false);
242 if (pmul->ruledit_disabled) {
void display_msg(const char *msg)
requirers_dlg * create_requirers(const char *title)
tab_multiplier(ruledit_gui *ui_in)
void same_name_toggle(bool checked)
void update_multiplier_info(struct multiplier *pmul)
struct multiplier * selected
bool initialize_new_multiplier(struct multiplier *pmul)
#define MAX_NUM_MULTIPLIERS
const char * multiplier_rule_name(const struct multiplier *pmul)
struct multiplier * multiplier_by_rule_name(const char *name)
struct multiplier * multiplier_by_number(Multiplier_type_id id)
Multiplier_type_id multiplier_index(const struct multiplier *pmul)
#define multipliers_re_active_iterate(_mul_)
#define multipliers_iterate(_mul_)
#define multipliers_iterate_end
#define multipliers_re_active_iterate_end
static void name_set(struct name_translation *ptrans, const char *domain, const char *vernacular_name)
static const char * untranslated_name(const struct name_translation *ptrans)
static void names_set(struct name_translation *ptrans, const char *domain, const char *vernacular_name, const char *rule_name)
void show_experimental(QWidget *wdg)
void ruledit_qt_display_requirers(const char *msg, void *data)
void strvec_clear(struct strvec *psv)
struct packet_ruleset_control control
struct requirement_vector reqs
struct name_translation name
bool is_multiplier_needed(struct multiplier *pmul, requirers_cb cb, void *data)