9 #ifndef UI_PROFILEDIALOG_H
10 #define UI_PROFILEDIALOG_H
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QDialog>
17 #include <QtWidgets/QHBoxLayout>
18 #include <QtWidgets/QHeaderView>
19 #include <QtWidgets/QPushButton>
20 #include <QtWidgets/QVBoxLayout>
21 #include <QtWidgets/QWidget>
29 QVBoxLayout *verticalLayout;
30 QPushButton *createStartButton;
31 QPushButton *createEndButton;
32 QHBoxLayout *horizontalLayout;
33 QPushButton *helpButton;
34 QPushButton *profileButton;
35 QPushButton *cancelButton;
39 if (ProfileDialog->objectName().isEmpty())
40 ProfileDialog->setObjectName(QStringLiteral(
"ProfileDialog"));
41 ProfileDialog->resize(271, 168);
42 widget =
new QWidget(ProfileDialog);
43 widget->setObjectName(QStringLiteral(
"widget"));
44 widget->setGeometry(QRect(10, 32, 249, 103));
45 verticalLayout =
new QVBoxLayout(widget);
46 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
47 verticalLayout->setContentsMargins(0, 0, 0, 0);
48 createStartButton =
new QPushButton(widget);
49 createStartButton->setObjectName(QStringLiteral(
"createStartButton"));
51 verticalLayout->addWidget(createStartButton);
53 createEndButton =
new QPushButton(widget);
54 createEndButton->setObjectName(QStringLiteral(
"createEndButton"));
56 verticalLayout->addWidget(createEndButton);
58 horizontalLayout =
new QHBoxLayout();
59 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
60 helpButton =
new QPushButton(widget);
61 helpButton->setObjectName(QStringLiteral(
"helpButton"));
63 horizontalLayout->addWidget(helpButton);
65 profileButton =
new QPushButton(widget);
66 profileButton->setObjectName(QStringLiteral(
"profileButton"));
67 profileButton->setEnabled(
false);
69 horizontalLayout->addWidget(profileButton);
71 cancelButton =
new QPushButton(widget);
72 cancelButton->setObjectName(QStringLiteral(
"cancelButton"));
74 horizontalLayout->addWidget(cancelButton);
77 verticalLayout->addLayout(horizontalLayout);
80 retranslateUi(ProfileDialog);
81 QObject::connect(profileButton, SIGNAL(clicked()), ProfileDialog, SLOT(accept()));
82 QObject::connect(cancelButton, SIGNAL(clicked()), ProfileDialog, SLOT(reject()));
84 QMetaObject::connectSlotsByName(ProfileDialog);
87 void retranslateUi(
QDialog *ProfileDialog)
89 ProfileDialog->setWindowTitle(QApplication::translate(
"ProfileDialog",
"Select Profile Endpoints", 0));
90 createStartButton->setText(QApplication::translate(
"ProfileDialog",
"Create Start Point", 0));
91 createEndButton->setText(QApplication::translate(
"ProfileDialog",
"Create End Point", 0));
92 helpButton->setText(QApplication::translate(
"ProfileDialog",
"Help", 0));
93 profileButton->setText(QApplication::translate(
"ProfileDialog",
"Profile", 0));
94 cancelButton->setText(QApplication::translate(
"ProfileDialog",
"Cancel", 0));
105 #endif // UI_PROFILEDIALOG_H