23 #include <QPushButton>
24 #include <QGridLayout>
28 : QDialog(parent, name, true)
30 setWindowTitle(tr(
"Create new project"));
32 gbox =
new QGridLayout(
this);
33 QLabel *Label1 =
new QLabel(tr(
"Project name:"));
34 gbox->addWidget(Label1,0,0);
39 OpenProj =
new QCheckBox(tr(
"open new project"));
43 ButtonOk =
new QPushButton(tr(
"Create"));
48 connect(
ButtonOk, SIGNAL(clicked()), SLOT(accept()));
49 connect(
ButtonCancel, SIGNAL(clicked()), SLOT(reject()));
NewProjDialog(QWidget *parent=0, const char *name=0)
QPushButton * ButtonCancel