1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'ServerConfigDlg.ui' |
3 | ** |
4 | ** Created by: Qt User Interface Compiler version 5.15.7 |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
7 | ********************************************************************************/ |
8 | |
9 | #ifndef UI_SERVERCONFIGDLG_H |
10 | #define UI_SERVERCONFIGDLG_H |
11 | |
12 | #include <QtCore/QVariant> |
13 | #include <QtWidgets/QApplication> |
14 | #include <QtWidgets/QComboBox> |
15 | #include <QtWidgets/QDialog> |
16 | #include <QtWidgets/QGridLayout> |
17 | #include <QtWidgets/QHBoxLayout> |
18 | #include <QtWidgets/QLabel> |
19 | #include <QtWidgets/QLineEdit> |
20 | #include <QtWidgets/QPushButton> |
21 | #include <QtWidgets/QSpacerItem> |
22 | #include "ButtonLink.hpp" |
23 | |
24 | QT_BEGIN_NAMESPACE |
25 | |
26 | class Ui_ServerConfigDlg |
27 | { |
28 | public: |
29 | QGridLayout *gridLayout; |
30 | QPushButton *pbAccept; |
31 | QSpacerItem *horizontalSpacer; |
32 | QSpacerItem *verticalSpacer; |
33 | QLineEdit *leUserName; |
34 | QLabel *lTestResult; |
35 | QPushButton *pbCancel; |
36 | QComboBox *cbServer; |
37 | QPushButton *pbTest; |
38 | QSpacerItem *horizontalSpacer_2; |
39 | QLineEdit *leEndPoint; |
40 | QSpacerItem *horizontalSpacer_3; |
41 | QHBoxLayout *horizontalLayout; |
42 | QLineEdit *leUserToken; |
43 | ButtonLink *lAccessToken; |
44 | |
45 | void setupUi(QDialog *ServerConfigDlg) |
46 | { |
47 | if (ServerConfigDlg->objectName().isEmpty()) |
48 | ServerConfigDlg->setObjectName(QString::fromUtf8("ServerConfigDlg" )); |
49 | ServerConfigDlg->resize(450, 200); |
50 | ServerConfigDlg->setMinimumSize(QSize(450, 200)); |
51 | ServerConfigDlg->setMaximumSize(QSize(450, 200)); |
52 | gridLayout = new QGridLayout(ServerConfigDlg); |
53 | gridLayout->setObjectName(QString::fromUtf8("gridLayout" )); |
54 | pbAccept = new QPushButton(ServerConfigDlg); |
55 | pbAccept->setObjectName(QString::fromUtf8("pbAccept" )); |
56 | |
57 | gridLayout->addWidget(pbAccept, 6, 6, 1, 1); |
58 | |
59 | horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
60 | |
61 | gridLayout->addItem(horizontalSpacer, 6, 1, 1, 1); |
62 | |
63 | verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); |
64 | |
65 | gridLayout->addItem(verticalSpacer, 4, 0, 1, 1); |
66 | |
67 | leUserName = new QLineEdit(ServerConfigDlg); |
68 | leUserName->setObjectName(QString::fromUtf8("leUserName" )); |
69 | |
70 | gridLayout->addWidget(leUserName, 0, 0, 1, 7); |
71 | |
72 | lTestResult = new QLabel(ServerConfigDlg); |
73 | lTestResult->setObjectName(QString::fromUtf8("lTestResult" )); |
74 | |
75 | gridLayout->addWidget(lTestResult, 6, 2, 1, 1); |
76 | |
77 | pbCancel = new QPushButton(ServerConfigDlg); |
78 | pbCancel->setObjectName(QString::fromUtf8("pbCancel" )); |
79 | |
80 | gridLayout->addWidget(pbCancel, 6, 0, 1, 1); |
81 | |
82 | cbServer = new QComboBox(ServerConfigDlg); |
83 | cbServer->setObjectName(QString::fromUtf8("cbServer" )); |
84 | |
85 | gridLayout->addWidget(cbServer, 2, 0, 1, 7); |
86 | |
87 | pbTest = new QPushButton(ServerConfigDlg); |
88 | pbTest->setObjectName(QString::fromUtf8("pbTest" )); |
89 | |
90 | gridLayout->addWidget(pbTest, 6, 4, 1, 1); |
91 | |
92 | horizontalSpacer_2 = new QSpacerItem(10, 20, QSizePolicy::Fixed, QSizePolicy::Minimum); |
93 | |
94 | gridLayout->addItem(horizontalSpacer_2, 6, 5, 1, 1); |
95 | |
96 | leEndPoint = new QLineEdit(ServerConfigDlg); |
97 | leEndPoint->setObjectName(QString::fromUtf8("leEndPoint" )); |
98 | |
99 | gridLayout->addWidget(leEndPoint, 3, 0, 1, 7); |
100 | |
101 | horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
102 | |
103 | gridLayout->addItem(horizontalSpacer_3, 6, 3, 1, 1); |
104 | |
105 | horizontalLayout = new QHBoxLayout(); |
106 | horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout" )); |
107 | leUserToken = new QLineEdit(ServerConfigDlg); |
108 | leUserToken->setObjectName(QString::fromUtf8("leUserToken" )); |
109 | leUserToken->setEchoMode(QLineEdit::Password); |
110 | |
111 | horizontalLayout->addWidget(leUserToken); |
112 | |
113 | lAccessToken = new ButtonLink(ServerConfigDlg); |
114 | lAccessToken->setObjectName(QString::fromUtf8("lAccessToken" )); |
115 | |
116 | horizontalLayout->addWidget(lAccessToken); |
117 | |
118 | |
119 | gridLayout->addLayout(horizontalLayout, 1, 0, 1, 7); |
120 | |
121 | QWidget::setTabOrder(leUserName, leUserToken); |
122 | QWidget::setTabOrder(leUserToken, cbServer); |
123 | QWidget::setTabOrder(cbServer, leEndPoint); |
124 | QWidget::setTabOrder(leEndPoint, pbTest); |
125 | QWidget::setTabOrder(pbTest, pbAccept); |
126 | QWidget::setTabOrder(pbAccept, pbCancel); |
127 | |
128 | retranslateUi(ServerConfigDlg); |
129 | |
130 | QMetaObject::connectSlotsByName(ServerConfigDlg); |
131 | } // setupUi |
132 | |
133 | void retranslateUi(QDialog *ServerConfigDlg) |
134 | { |
135 | ServerConfigDlg->setWindowTitle(QCoreApplication::translate("ServerConfigDlg" , "Server configuration" , nullptr)); |
136 | pbAccept->setText(QCoreApplication::translate("ServerConfigDlg" , "Save" , nullptr)); |
137 | leUserName->setPlaceholderText(QCoreApplication::translate("ServerConfigDlg" , "Set the user name" , nullptr)); |
138 | lTestResult->setText(QString()); |
139 | pbCancel->setText(QCoreApplication::translate("ServerConfigDlg" , "Cancel" , nullptr)); |
140 | pbTest->setText(QCoreApplication::translate("ServerConfigDlg" , "Test token" , nullptr)); |
141 | leEndPoint->setPlaceholderText(QCoreApplication::translate("ServerConfigDlg" , "Set the repository endpoint" , nullptr)); |
142 | leUserToken->setPlaceholderText(QCoreApplication::translate("ServerConfigDlg" , "Set the user token" , nullptr)); |
143 | lAccessToken->setText(QString()); |
144 | } // retranslateUi |
145 | |
146 | }; |
147 | |
148 | namespace Ui { |
149 | class ServerConfigDlg: public Ui_ServerConfigDlg {}; |
150 | } // namespace Ui |
151 | |
152 | QT_END_NAMESPACE |
153 | |
154 | #endif // UI_SERVERCONFIGDLG_H |
155 | |