2 |
andreas |
1 |
/********************************************************************************
|
|
|
2 |
** Form generated from reading UI file 'tqtsettings.ui'
|
|
|
3 |
**
|
|
|
4 |
** Created by: Qt User Interface Compiler version 5.15.1
|
|
|
5 |
**
|
|
|
6 |
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
|
7 |
********************************************************************************/
|
|
|
8 |
|
|
|
9 |
#ifndef UI_TQTSETTINGS_H
|
|
|
10 |
#define UI_TQTSETTINGS_H
|
|
|
11 |
|
|
|
12 |
#include <QtCore/QLocale>
|
|
|
13 |
#include <QtCore/QVariant>
|
|
|
14 |
#include <QtGui/QIcon>
|
|
|
15 |
#include <QtWidgets/QApplication>
|
|
|
16 |
#include <QtWidgets/QCheckBox>
|
|
|
17 |
#include <QtWidgets/QComboBox>
|
|
|
18 |
#include <QtWidgets/QDialog>
|
|
|
19 |
#include <QtWidgets/QDialogButtonBox>
|
|
|
20 |
#include <QtWidgets/QLabel>
|
|
|
21 |
#include <QtWidgets/QLineEdit>
|
|
|
22 |
#include <QtWidgets/QSpinBox>
|
|
|
23 |
#include <QtWidgets/QToolButton>
|
|
|
24 |
|
|
|
25 |
QT_BEGIN_NAMESPACE
|
|
|
26 |
|
|
|
27 |
class Ui_TQtSettings
|
|
|
28 |
{
|
|
|
29 |
public:
|
|
|
30 |
QDialogButtonBox *buttonBox;
|
|
|
31 |
QLabel *label_logFile;
|
|
|
32 |
QLabel *label_logLevel;
|
|
|
33 |
QLabel *label_projectPath;
|
|
|
34 |
QLabel *label_Controller;
|
|
|
35 |
QLabel *label_Port;
|
|
|
36 |
QLabel *label_Channel;
|
|
|
37 |
QLabel *label_PType;
|
|
|
38 |
QLineEdit *lineEdit_logFile;
|
|
|
39 |
QComboBox *comboBox_logLevel;
|
|
|
40 |
QToolButton *kiconbutton_logFile;
|
|
|
41 |
QCheckBox *checkBox_Format;
|
|
|
42 |
QLineEdit *lineEdit_projectPath;
|
|
|
43 |
QToolButton *kiconbutton_projectPath;
|
|
|
44 |
QLineEdit *lineEdit_Controller;
|
|
|
45 |
QSpinBox *spinBox_Port;
|
|
|
46 |
QSpinBox *spinBox_Channel;
|
|
|
47 |
QLineEdit *lineEdit_PType;
|
|
|
48 |
|
|
|
49 |
void setupUi(QDialog *Dialog)
|
|
|
50 |
{
|
|
|
51 |
if (Dialog->objectName().isEmpty())
|
|
|
52 |
Dialog->setObjectName(QString::fromUtf8("Dialog"));
|
|
|
53 |
Dialog->resize(448, 362);
|
|
|
54 |
buttonBox = new QDialogButtonBox(Dialog);
|
|
|
55 |
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
|
|
|
56 |
buttonBox->setGeometry(QRect(20, 320, 411, 32));
|
|
|
57 |
buttonBox->setOrientation(Qt::Horizontal);
|
|
|
58 |
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
|
|
|
59 |
label_logFile = new QLabel(Dialog);
|
|
|
60 |
label_logFile->setObjectName(QString::fromUtf8("label_logFile"));
|
|
|
61 |
label_logFile->setGeometry(QRect(10, 20, 81, 22));
|
|
|
62 |
label_logLevel = new QLabel(Dialog);
|
|
|
63 |
label_logLevel->setObjectName(QString::fromUtf8("label_logLevel"));
|
|
|
64 |
label_logLevel->setGeometry(QRect(10, 60, 81, 22));
|
|
|
65 |
label_projectPath = new QLabel(Dialog);
|
|
|
66 |
label_projectPath->setObjectName(QString::fromUtf8("label_projectPath"));
|
|
|
67 |
label_projectPath->setGeometry(QRect(10, 100, 91, 22));
|
|
|
68 |
label_Controller = new QLabel(Dialog);
|
|
|
69 |
label_Controller->setObjectName(QString::fromUtf8("label_Controller"));
|
|
|
70 |
label_Controller->setGeometry(QRect(10, 140, 91, 22));
|
|
|
71 |
label_Port = new QLabel(Dialog);
|
|
|
72 |
label_Port->setObjectName(QString::fromUtf8("label_Port"));
|
|
|
73 |
label_Port->setGeometry(QRect(10, 180, 91, 22));
|
|
|
74 |
label_Channel = new QLabel(Dialog);
|
|
|
75 |
label_Channel->setObjectName(QString::fromUtf8("label_Channel"));
|
|
|
76 |
label_Channel->setGeometry(QRect(10, 220, 101, 22));
|
|
|
77 |
label_PType = new QLabel(Dialog);
|
|
|
78 |
label_PType->setObjectName(QString::fromUtf8("label_PType"));
|
|
|
79 |
label_PType->setGeometry(QRect(10, 260, 71, 22));
|
|
|
80 |
lineEdit_logFile = new QLineEdit(Dialog);
|
|
|
81 |
lineEdit_logFile->setObjectName(QString::fromUtf8("lineEdit_logFile"));
|
|
|
82 |
lineEdit_logFile->setGeometry(QRect(120, 10, 261, 36));
|
|
|
83 |
lineEdit_logFile->setLocale(QLocale(QLocale::English, QLocale::Europe));
|
|
|
84 |
comboBox_logLevel = new QComboBox(Dialog);
|
|
|
85 |
comboBox_logLevel->addItem(QString());
|
|
|
86 |
comboBox_logLevel->addItem(QString());
|
|
|
87 |
comboBox_logLevel->addItem(QString());
|
|
|
88 |
comboBox_logLevel->addItem(QString());
|
|
|
89 |
comboBox_logLevel->addItem(QString());
|
|
|
90 |
comboBox_logLevel->addItem(QString());
|
|
|
91 |
comboBox_logLevel->addItem(QString());
|
|
|
92 |
comboBox_logLevel->addItem(QString());
|
|
|
93 |
comboBox_logLevel->setObjectName(QString::fromUtf8("comboBox_logLevel"));
|
|
|
94 |
comboBox_logLevel->setGeometry(QRect(120, 50, 201, 36));
|
|
|
95 |
kiconbutton_logFile = new QToolButton(Dialog);
|
|
|
96 |
kiconbutton_logFile->setObjectName(QString::fromUtf8("kiconbutton_logFile"));
|
|
|
97 |
kiconbutton_logFile->setGeometry(QRect(390, 10, 44, 38));
|
|
|
98 |
QIcon icon;
|
|
|
99 |
icon.addFile(QString::fromUtf8("../../../../usr/share/icons/gnome/48x48/actions/fileopen.png"), QSize(), QIcon::Normal, QIcon::Off);
|
|
|
100 |
kiconbutton_logFile->setIcon(icon);
|
|
|
101 |
kiconbutton_logFile->setIconSize(QSize(32, 32));
|
|
|
102 |
checkBox_Format = new QCheckBox(Dialog);
|
|
|
103 |
checkBox_Format->setObjectName(QString::fromUtf8("checkBox_Format"));
|
|
|
104 |
checkBox_Format->setGeometry(QRect(330, 60, 101, 26));
|
|
|
105 |
lineEdit_projectPath = new QLineEdit(Dialog);
|
|
|
106 |
lineEdit_projectPath->setObjectName(QString::fromUtf8("lineEdit_projectPath"));
|
|
|
107 |
lineEdit_projectPath->setGeometry(QRect(120, 90, 261, 36));
|
|
|
108 |
kiconbutton_projectPath = new QToolButton(Dialog);
|
|
|
109 |
kiconbutton_projectPath->setObjectName(QString::fromUtf8("kiconbutton_projectPath"));
|
|
|
110 |
kiconbutton_projectPath->setGeometry(QRect(390, 90, 44, 38));
|
|
|
111 |
kiconbutton_projectPath->setIcon(icon);
|
|
|
112 |
kiconbutton_projectPath->setIconSize(QSize(32, 32));
|
|
|
113 |
lineEdit_Controller = new QLineEdit(Dialog);
|
|
|
114 |
lineEdit_Controller->setObjectName(QString::fromUtf8("lineEdit_Controller"));
|
|
|
115 |
lineEdit_Controller->setGeometry(QRect(120, 130, 311, 36));
|
|
|
116 |
spinBox_Port = new QSpinBox(Dialog);
|
|
|
117 |
spinBox_Port->setObjectName(QString::fromUtf8("spinBox_Port"));
|
|
|
118 |
spinBox_Port->setGeometry(QRect(120, 170, 141, 36));
|
|
|
119 |
spinBox_Port->setMinimum(1024);
|
|
|
120 |
spinBox_Port->setMaximum(32767);
|
|
|
121 |
spinBox_Port->setValue(1397);
|
|
|
122 |
spinBox_Channel = new QSpinBox(Dialog);
|
|
|
123 |
spinBox_Channel->setObjectName(QString::fromUtf8("spinBox_Channel"));
|
|
|
124 |
spinBox_Channel->setGeometry(QRect(120, 210, 141, 36));
|
|
|
125 |
spinBox_Channel->setMinimum(10001);
|
|
|
126 |
spinBox_Channel->setMaximum(10999);
|
|
|
127 |
spinBox_Channel->setValue(10001);
|
|
|
128 |
lineEdit_PType = new QLineEdit(Dialog);
|
|
|
129 |
lineEdit_PType->setObjectName(QString::fromUtf8("lineEdit_PType"));
|
|
|
130 |
lineEdit_PType->setGeometry(QRect(120, 250, 141, 36));
|
|
|
131 |
|
|
|
132 |
retranslateUi(Dialog);
|
|
|
133 |
QObject::connect(buttonBox, SIGNAL(accepted()), Dialog, SLOT(accept()));
|
|
|
134 |
QObject::connect(buttonBox, SIGNAL(rejected()), Dialog, SLOT(reject()));
|
|
|
135 |
|
|
|
136 |
QMetaObject::connectSlotsByName(Dialog);
|
|
|
137 |
} // setupUi
|
|
|
138 |
|
|
|
139 |
void retranslateUi(QDialog *Dialog)
|
|
|
140 |
{
|
|
|
141 |
Dialog->setWindowTitle(QCoreApplication::translate("Dialog", "Settings", nullptr));
|
|
|
142 |
label_logFile->setText(QCoreApplication::translate("Dialog", "Log file", nullptr));
|
|
|
143 |
label_logLevel->setText(QCoreApplication::translate("Dialog", "Log level", nullptr));
|
|
|
144 |
label_projectPath->setText(QCoreApplication::translate("Dialog", "Project path", nullptr));
|
|
|
145 |
label_Controller->setText(QCoreApplication::translate("Dialog", "Controller", nullptr));
|
|
|
146 |
label_Port->setText(QCoreApplication::translate("Dialog", "Network port", nullptr));
|
|
|
147 |
label_Channel->setText(QCoreApplication::translate("Dialog", "Channel number", nullptr));
|
|
|
148 |
label_PType->setText(QCoreApplication::translate("Dialog", "Panel type", nullptr));
|
|
|
149 |
comboBox_logLevel->setItemText(0, QCoreApplication::translate("Dialog", "No log", nullptr));
|
|
|
150 |
comboBox_logLevel->setItemText(1, QCoreApplication::translate("Dialog", "Informations", nullptr));
|
|
|
151 |
comboBox_logLevel->setItemText(2, QCoreApplication::translate("Dialog", "Warnings", nullptr));
|
|
|
152 |
comboBox_logLevel->setItemText(3, QCoreApplication::translate("Dialog", "Errors", nullptr));
|
|
|
153 |
comboBox_logLevel->setItemText(4, QCoreApplication::translate("Dialog", "Tracing", nullptr));
|
|
|
154 |
comboBox_logLevel->setItemText(5, QCoreApplication::translate("Dialog", "Debugging", nullptr));
|
|
|
155 |
comboBox_logLevel->setItemText(6, QCoreApplication::translate("Dialog", "Protocol", nullptr));
|
|
|
156 |
comboBox_logLevel->setItemText(7, QCoreApplication::translate("Dialog", "All", nullptr));
|
|
|
157 |
|
|
|
158 |
#if QT_CONFIG(tooltip)
|
|
|
159 |
kiconbutton_logFile->setToolTip(QCoreApplication::translate("Dialog", "<html><head/><body><p>Select the path and name of the log file.</p></body></html>", nullptr));
|
|
|
160 |
#endif // QT_CONFIG(tooltip)
|
|
|
161 |
checkBox_Format->setText(QCoreApplication::translate("Dialog", "Long format", nullptr));
|
|
|
162 |
} // retranslateUi
|
|
|
163 |
|
|
|
164 |
};
|
|
|
165 |
|
|
|
166 |
namespace Ui {
|
|
|
167 |
class TQtSettings: public Ui_TQtSettings {};
|
|
|
168 |
} // namespace Ui
|
|
|
169 |
|
|
|
170 |
QT_END_NAMESPACE
|
|
|
171 |
|
|
|
172 |
#endif // UI_TQTSETTINGS_H
|