9 #ifndef UI_PQREMOTECOMMANDTEMPLATEDIALOGFORM_H 10 #define UI_PQREMOTECOMMANDTEMPLATEDIALOGFORM_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QDialog> 15 #include <QtWidgets/QDialogButtonBox> 16 #include <QtWidgets/QFormLayout> 17 #include <QtWidgets/QLabel> 18 #include <QtWidgets/QLineEdit> 19 #include <QtWidgets/QPlainTextEdit> 33 void setupUi(QDialog *pqRemoteCommandTemplateDialogForm)
35 if (pqRemoteCommandTemplateDialogForm->objectName().isEmpty())
36 pqRemoteCommandTemplateDialogForm->setObjectName(QString::fromUtf8(
"pqRemoteCommandTemplateDialogForm"));
37 pqRemoteCommandTemplateDialogForm->resize(360, 165);
38 formLayout =
new QFormLayout(pqRemoteCommandTemplateDialogForm);
39 formLayout->setObjectName(QString::fromUtf8(
"formLayout"));
40 label =
new QLabel(pqRemoteCommandTemplateDialogForm);
41 label->setObjectName(QString::fromUtf8(
"label"));
43 formLayout->setWidget(0, QFormLayout::LabelRole, label);
45 commandName =
new QLineEdit(pqRemoteCommandTemplateDialogForm);
46 commandName->setObjectName(QString::fromUtf8(
"commandName"));
48 formLayout->setWidget(0, QFormLayout::FieldRole, commandName);
50 label_2 =
new QLabel(pqRemoteCommandTemplateDialogForm);
51 label_2->setObjectName(QString::fromUtf8(
"label_2"));
53 formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
55 commandTemplate =
new QPlainTextEdit(pqRemoteCommandTemplateDialogForm);
56 commandTemplate->setObjectName(QString::fromUtf8(
"commandTemplate"));
58 formLayout->setWidget(1, QFormLayout::FieldRole, commandTemplate);
60 buttonBox =
new QDialogButtonBox(pqRemoteCommandTemplateDialogForm);
61 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
62 buttonBox->setOrientation(Qt::Horizontal);
63 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
65 formLayout->setWidget(2, QFormLayout::SpanningRole, buttonBox);
69 QObject::connect(buttonBox, SIGNAL(accepted()), pqRemoteCommandTemplateDialogForm, SLOT(accept()));
70 QObject::connect(buttonBox, SIGNAL(rejected()), pqRemoteCommandTemplateDialogForm, SLOT(reject()));
72 QMetaObject::connectSlotsByName(pqRemoteCommandTemplateDialogForm);
77 pqRemoteCommandTemplateDialogForm->setWindowTitle(QCoreApplication::translate(
"pqRemoteCommandTemplateDialogForm",
"Remote Command",
nullptr));
78 label->setText(QCoreApplication::translate(
"pqRemoteCommandTemplateDialogForm",
"Name:",
nullptr));
79 #if QT_CONFIG(tooltip) 80 commandName->setToolTip(QString());
81 #endif // QT_CONFIG(tooltip) 82 label_2->setText(QCoreApplication::translate(
"pqRemoteCommandTemplateDialogForm",
"Template:",
nullptr));
83 #if QT_CONFIG(tooltip) 84 commandTemplate->setToolTip(QString());
85 #endif // QT_CONFIG(tooltip) 96 #endif // UI_PQREMOTECOMMANDTEMPLATEDIALOGFORM_H