13 connect(
this, SIGNAL(
apply()),
this, SLOT(accept()));
19 QVBoxLayout *condLO =
new QVBoxLayout;
20 condLO->addWidget(
le );
24 QGroupBox *condGB =
new QGroupBox(tr(
"Condition"),
this);
25 condGB->setLayout( condLO );
28 QPushButton *okButton =
new QPushButton(tr(
"OK"));
29 QPushButton *cancelButton =
new QPushButton(tr(
"&Cancel"));
31 okButton->setAutoDefault(
true);
33 connect(okButton, SIGNAL(clicked()),
this, SLOT(
editCondition()));
34 connect(cancelButton, SIGNAL(clicked()),
this, SLOT(reject()));
36 QHBoxLayout *buttonsLO =
new QHBoxLayout;
37 buttonsLO->addWidget( okButton );
38 buttonsLO->addWidget( cancelButton );
41 buttonsWG->setLayout( buttonsLO );
48 setWindowTitle(tr(
"Edit Condition"));
void repCondition(const std::string &oldCond, const std::string &newCond)
Replace a Condition.
this class is a Marlin Steering File consistency check Tool.
ECDialog(const ECDialog &)=default