19 #include "../wirelabel.h"
23 #include <QPushButton>
25 #include <QGridLayout>
31 setWindowTitle(tr(
"Insert Nodename"));
34 gbox =
new QGridLayout(
this);
38 Expr1.setPattern(
"[a-zA-Z]([0-9a-zA-Z]|_(?!_))+\\!{0,1}");
41 QLabel *Label1 =
new QLabel(tr(
"Enter the label:"));
42 gbox->addWidget(Label1,0,0);
49 Expr2.setPattern(
"[^\"=]+");
52 Label2 =
new QLabel(tr(
"Initial node voltage:"));
61 ButtonOk =
new QPushButton(tr(
"Ok"));
114 bool changed =
false;
LabelDialog(WireLabel *, QWidget *parent=0)
QPushButton * ButtonCancel
QRegExpValidator * Validator1
QRegExpValidator * Validator2