| 1 | /******************************************************************************** |
| 2 | ** Form generated from reading UI file 'connectdialog.ui' |
| 3 | ** |
| 4 | ** Created by: Qt User Interface Compiler version 5.15.9 |
| 5 | ** |
| 6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 7 | ********************************************************************************/ |
| 8 | |
| 9 | #ifndef UI_CONNECTDIALOG_H |
| 10 | #define UI_CONNECTDIALOG_H |
| 11 | |
| 12 | #include <QtCore/QVariant> |
| 13 | #include <QtWidgets/QApplication> |
| 14 | #include <QtWidgets/QCheckBox> |
| 15 | #include <QtWidgets/QComboBox> |
| 16 | #include <QtWidgets/QDialog> |
| 17 | #include <QtWidgets/QGridLayout> |
| 18 | #include <QtWidgets/QGroupBox> |
| 19 | #include <QtWidgets/QHBoxLayout> |
| 20 | #include <QtWidgets/QLabel> |
| 21 | #include <QtWidgets/QLineEdit> |
| 22 | #include <QtWidgets/QPushButton> |
| 23 | #include <QtWidgets/QSpacerItem> |
| 24 | #include <QtWidgets/QVBoxLayout> |
| 25 | #include "bitratebox.h" |
| 26 | |
| 27 | QT_BEGIN_NAMESPACE |
| 28 | |
| 29 | class Ui_ConnectDialog |
| 30 | { |
| 31 | public: |
| 32 | QGridLayout *gridLayout_2; |
| 33 | QHBoxLayout *horizontalLayout; |
| 34 | QSpacerItem *horizontalSpacer; |
| 35 | QPushButton *cancelButton; |
| 36 | QPushButton *okButton; |
| 37 | QGroupBox *selectPluginBox; |
| 38 | QGridLayout *gridLayout; |
| 39 | QComboBox *pluginListBox; |
| 40 | QGroupBox *configurationBox; |
| 41 | QGridLayout *gridLayout_4; |
| 42 | QLabel *rawFilterLabel; |
| 43 | QLineEdit *rawFilterEdit; |
| 44 | QLabel *errorFilterLabel; |
| 45 | QLineEdit *errorFilterEdit; |
| 46 | QLabel *loopbackLabel; |
| 47 | QComboBox *loopbackBox; |
| 48 | QLabel *receiveOwnLabel; |
| 49 | QComboBox *receiveOwnBox; |
| 50 | QLabel *bitrateLabel; |
| 51 | BitRateBox *bitrateBox; |
| 52 | QLabel *canFdLabel; |
| 53 | QComboBox *canFdBox; |
| 54 | QLabel *dataBitrateLabel; |
| 55 | BitRateBox *dataBitrateBox; |
| 56 | QGroupBox *specifyInterfaceNameBox; |
| 57 | QGridLayout *gridLayout_3; |
| 58 | QComboBox *interfaceListBox; |
| 59 | QCheckBox *useConfigurationBox; |
| 60 | QGroupBox *interfacePropertiesBox; |
| 61 | QVBoxLayout *verticalLayout; |
| 62 | QLabel *descriptionLabel; |
| 63 | QLabel *serialNumberLabel; |
| 64 | QLabel *channelLabel; |
| 65 | QCheckBox *isFlexibleDataRateCapable; |
| 66 | QCheckBox *isVirtual; |
| 67 | |
| 68 | void setupUi(QDialog *ConnectDialog) |
| 69 | { |
| 70 | if (ConnectDialog->objectName().isEmpty()) |
| 71 | ConnectDialog->setObjectName(QString::fromUtf8(str: "ConnectDialog" )); |
| 72 | ConnectDialog->resize(w: 446, h: 395); |
| 73 | gridLayout_2 = new QGridLayout(ConnectDialog); |
| 74 | gridLayout_2->setObjectName(QString::fromUtf8(str: "gridLayout_2" )); |
| 75 | horizontalLayout = new QHBoxLayout(); |
| 76 | horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout" )); |
| 77 | horizontalSpacer = new QSpacerItem(96, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 78 | |
| 79 | horizontalLayout->addItem(horizontalSpacer); |
| 80 | |
| 81 | cancelButton = new QPushButton(ConnectDialog); |
| 82 | cancelButton->setObjectName(QString::fromUtf8(str: "cancelButton" )); |
| 83 | cancelButton->setAutoDefault(false); |
| 84 | |
| 85 | horizontalLayout->addWidget(cancelButton); |
| 86 | |
| 87 | okButton = new QPushButton(ConnectDialog); |
| 88 | okButton->setObjectName(QString::fromUtf8(str: "okButton" )); |
| 89 | okButton->setAutoDefault(false); |
| 90 | |
| 91 | horizontalLayout->addWidget(okButton); |
| 92 | |
| 93 | |
| 94 | gridLayout_2->addLayout(horizontalLayout, row: 5, column: 0, rowSpan: 1, columnSpan: 2); |
| 95 | |
| 96 | selectPluginBox = new QGroupBox(ConnectDialog); |
| 97 | selectPluginBox->setObjectName(QString::fromUtf8(str: "selectPluginBox" )); |
| 98 | gridLayout = new QGridLayout(selectPluginBox); |
| 99 | gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout" )); |
| 100 | pluginListBox = new QComboBox(selectPluginBox); |
| 101 | pluginListBox->setObjectName(QString::fromUtf8(str: "pluginListBox" )); |
| 102 | |
| 103 | gridLayout->addWidget(pluginListBox, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
| 104 | |
| 105 | |
| 106 | gridLayout_2->addWidget(selectPluginBox, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
| 107 | |
| 108 | configurationBox = new QGroupBox(ConnectDialog); |
| 109 | configurationBox->setObjectName(QString::fromUtf8(str: "configurationBox" )); |
| 110 | configurationBox->setEnabled(false); |
| 111 | gridLayout_4 = new QGridLayout(configurationBox); |
| 112 | gridLayout_4->setObjectName(QString::fromUtf8(str: "gridLayout_4" )); |
| 113 | rawFilterLabel = new QLabel(configurationBox); |
| 114 | rawFilterLabel->setObjectName(QString::fromUtf8(str: "rawFilterLabel" )); |
| 115 | |
| 116 | gridLayout_4->addWidget(rawFilterLabel, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
| 117 | |
| 118 | rawFilterEdit = new QLineEdit(configurationBox); |
| 119 | rawFilterEdit->setObjectName(QString::fromUtf8(str: "rawFilterEdit" )); |
| 120 | rawFilterEdit->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
| 121 | |
| 122 | gridLayout_4->addWidget(rawFilterEdit, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
| 123 | |
| 124 | errorFilterLabel = new QLabel(configurationBox); |
| 125 | errorFilterLabel->setObjectName(QString::fromUtf8(str: "errorFilterLabel" )); |
| 126 | |
| 127 | gridLayout_4->addWidget(errorFilterLabel, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
| 128 | |
| 129 | errorFilterEdit = new QLineEdit(configurationBox); |
| 130 | errorFilterEdit->setObjectName(QString::fromUtf8(str: "errorFilterEdit" )); |
| 131 | errorFilterEdit->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
| 132 | |
| 133 | gridLayout_4->addWidget(errorFilterEdit, row: 1, column: 1, rowSpan: 1, columnSpan: 1); |
| 134 | |
| 135 | loopbackLabel = new QLabel(configurationBox); |
| 136 | loopbackLabel->setObjectName(QString::fromUtf8(str: "loopbackLabel" )); |
| 137 | |
| 138 | gridLayout_4->addWidget(loopbackLabel, row: 2, column: 0, rowSpan: 1, columnSpan: 1); |
| 139 | |
| 140 | loopbackBox = new QComboBox(configurationBox); |
| 141 | loopbackBox->setObjectName(QString::fromUtf8(str: "loopbackBox" )); |
| 142 | |
| 143 | gridLayout_4->addWidget(loopbackBox, row: 2, column: 1, rowSpan: 1, columnSpan: 1); |
| 144 | |
| 145 | receiveOwnLabel = new QLabel(configurationBox); |
| 146 | receiveOwnLabel->setObjectName(QString::fromUtf8(str: "receiveOwnLabel" )); |
| 147 | |
| 148 | gridLayout_4->addWidget(receiveOwnLabel, row: 3, column: 0, rowSpan: 1, columnSpan: 1); |
| 149 | |
| 150 | receiveOwnBox = new QComboBox(configurationBox); |
| 151 | receiveOwnBox->setObjectName(QString::fromUtf8(str: "receiveOwnBox" )); |
| 152 | |
| 153 | gridLayout_4->addWidget(receiveOwnBox, row: 3, column: 1, rowSpan: 1, columnSpan: 1); |
| 154 | |
| 155 | bitrateLabel = new QLabel(configurationBox); |
| 156 | bitrateLabel->setObjectName(QString::fromUtf8(str: "bitrateLabel" )); |
| 157 | |
| 158 | gridLayout_4->addWidget(bitrateLabel, row: 4, column: 0, rowSpan: 1, columnSpan: 1); |
| 159 | |
| 160 | bitrateBox = new BitRateBox(configurationBox); |
| 161 | bitrateBox->setObjectName(QString::fromUtf8(str: "bitrateBox" )); |
| 162 | |
| 163 | gridLayout_4->addWidget(bitrateBox, row: 4, column: 1, rowSpan: 1, columnSpan: 1); |
| 164 | |
| 165 | canFdLabel = new QLabel(configurationBox); |
| 166 | canFdLabel->setObjectName(QString::fromUtf8(str: "canFdLabel" )); |
| 167 | |
| 168 | gridLayout_4->addWidget(canFdLabel, row: 5, column: 0, rowSpan: 1, columnSpan: 1); |
| 169 | |
| 170 | canFdBox = new QComboBox(configurationBox); |
| 171 | canFdBox->setObjectName(QString::fromUtf8(str: "canFdBox" )); |
| 172 | |
| 173 | gridLayout_4->addWidget(canFdBox, row: 5, column: 1, rowSpan: 1, columnSpan: 1); |
| 174 | |
| 175 | dataBitrateLabel = new QLabel(configurationBox); |
| 176 | dataBitrateLabel->setObjectName(QString::fromUtf8(str: "dataBitrateLabel" )); |
| 177 | |
| 178 | gridLayout_4->addWidget(dataBitrateLabel, row: 6, column: 0, rowSpan: 1, columnSpan: 1); |
| 179 | |
| 180 | dataBitrateBox = new BitRateBox(configurationBox); |
| 181 | dataBitrateBox->setObjectName(QString::fromUtf8(str: "dataBitrateBox" )); |
| 182 | |
| 183 | gridLayout_4->addWidget(dataBitrateBox, row: 6, column: 1, rowSpan: 1, columnSpan: 1); |
| 184 | |
| 185 | |
| 186 | gridLayout_2->addWidget(configurationBox, row: 0, column: 1, rowSpan: 5, columnSpan: 1); |
| 187 | |
| 188 | specifyInterfaceNameBox = new QGroupBox(ConnectDialog); |
| 189 | specifyInterfaceNameBox->setObjectName(QString::fromUtf8(str: "specifyInterfaceNameBox" )); |
| 190 | gridLayout_3 = new QGridLayout(specifyInterfaceNameBox); |
| 191 | gridLayout_3->setObjectName(QString::fromUtf8(str: "gridLayout_3" )); |
| 192 | interfaceListBox = new QComboBox(specifyInterfaceNameBox); |
| 193 | interfaceListBox->setObjectName(QString::fromUtf8(str: "interfaceListBox" )); |
| 194 | interfaceListBox->setEditable(true); |
| 195 | |
| 196 | gridLayout_3->addWidget(interfaceListBox, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
| 197 | |
| 198 | |
| 199 | gridLayout_2->addWidget(specifyInterfaceNameBox, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
| 200 | |
| 201 | useConfigurationBox = new QCheckBox(ConnectDialog); |
| 202 | useConfigurationBox->setObjectName(QString::fromUtf8(str: "useConfigurationBox" )); |
| 203 | |
| 204 | gridLayout_2->addWidget(useConfigurationBox, row: 4, column: 0, rowSpan: 1, columnSpan: 1); |
| 205 | |
| 206 | interfacePropertiesBox = new QGroupBox(ConnectDialog); |
| 207 | interfacePropertiesBox->setObjectName(QString::fromUtf8(str: "interfacePropertiesBox" )); |
| 208 | interfacePropertiesBox->setEnabled(false); |
| 209 | verticalLayout = new QVBoxLayout(interfacePropertiesBox); |
| 210 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
| 211 | descriptionLabel = new QLabel(interfacePropertiesBox); |
| 212 | descriptionLabel->setObjectName(QString::fromUtf8(str: "descriptionLabel" )); |
| 213 | |
| 214 | verticalLayout->addWidget(descriptionLabel); |
| 215 | |
| 216 | serialNumberLabel = new QLabel(interfacePropertiesBox); |
| 217 | serialNumberLabel->setObjectName(QString::fromUtf8(str: "serialNumberLabel" )); |
| 218 | |
| 219 | verticalLayout->addWidget(serialNumberLabel); |
| 220 | |
| 221 | channelLabel = new QLabel(interfacePropertiesBox); |
| 222 | channelLabel->setObjectName(QString::fromUtf8(str: "channelLabel" )); |
| 223 | |
| 224 | verticalLayout->addWidget(channelLabel); |
| 225 | |
| 226 | isFlexibleDataRateCapable = new QCheckBox(interfacePropertiesBox); |
| 227 | isFlexibleDataRateCapable->setObjectName(QString::fromUtf8(str: "isFlexibleDataRateCapable" )); |
| 228 | |
| 229 | verticalLayout->addWidget(isFlexibleDataRateCapable); |
| 230 | |
| 231 | isVirtual = new QCheckBox(interfacePropertiesBox); |
| 232 | isVirtual->setObjectName(QString::fromUtf8(str: "isVirtual" )); |
| 233 | |
| 234 | verticalLayout->addWidget(isVirtual); |
| 235 | |
| 236 | |
| 237 | gridLayout_2->addWidget(interfacePropertiesBox, row: 2, column: 0, rowSpan: 1, columnSpan: 1); |
| 238 | |
| 239 | |
| 240 | retranslateUi(ConnectDialog); |
| 241 | |
| 242 | okButton->setDefault(true); |
| 243 | |
| 244 | |
| 245 | QMetaObject::connectSlotsByName(o: ConnectDialog); |
| 246 | } // setupUi |
| 247 | |
| 248 | void retranslateUi(QDialog *ConnectDialog) |
| 249 | { |
| 250 | ConnectDialog->setWindowTitle(QCoreApplication::translate(context: "ConnectDialog" , key: "Connect" , disambiguation: nullptr)); |
| 251 | cancelButton->setText(QCoreApplication::translate(context: "ConnectDialog" , key: "Cancel" , disambiguation: nullptr)); |
| 252 | okButton->setText(QCoreApplication::translate(context: "ConnectDialog" , key: "OK" , disambiguation: nullptr)); |
| 253 | selectPluginBox->setTitle(QCoreApplication::translate(context: "ConnectDialog" , key: "Select CAN plugin" , disambiguation: nullptr)); |
| 254 | configurationBox->setTitle(QCoreApplication::translate(context: "ConnectDialog" , key: "Specify Configuration" , disambiguation: nullptr)); |
| 255 | rawFilterLabel->setText(QCoreApplication::translate(context: "ConnectDialog" , key: "RAW Filter" , disambiguation: nullptr)); |
| 256 | errorFilterLabel->setText(QCoreApplication::translate(context: "ConnectDialog" , key: "Error Filter" , disambiguation: nullptr)); |
| 257 | errorFilterEdit->setPlaceholderText(QCoreApplication::translate(context: "ConnectDialog" , key: "FrameError bits" , disambiguation: nullptr)); |
| 258 | loopbackLabel->setText(QCoreApplication::translate(context: "ConnectDialog" , key: "Loopback" , disambiguation: nullptr)); |
| 259 | receiveOwnLabel->setText(QCoreApplication::translate(context: "ConnectDialog" , key: "Receive Own" , disambiguation: nullptr)); |
| 260 | bitrateLabel->setText(QCoreApplication::translate(context: "ConnectDialog" , key: "Bitrate" , disambiguation: nullptr)); |
| 261 | canFdLabel->setText(QCoreApplication::translate(context: "ConnectDialog" , key: "CAN FD" , disambiguation: nullptr)); |
| 262 | dataBitrateLabel->setText(QCoreApplication::translate(context: "ConnectDialog" , key: "Data Bitrate" , disambiguation: nullptr)); |
| 263 | specifyInterfaceNameBox->setTitle(QCoreApplication::translate(context: "ConnectDialog" , key: "Specify CAN interface name" , disambiguation: nullptr)); |
| 264 | useConfigurationBox->setText(QCoreApplication::translate(context: "ConnectDialog" , key: "Custom configuration" , disambiguation: nullptr)); |
| 265 | interfacePropertiesBox->setTitle(QCoreApplication::translate(context: "ConnectDialog" , key: "CAN interface properties" , disambiguation: nullptr)); |
| 266 | descriptionLabel->setText(QString()); |
| 267 | serialNumberLabel->setText(QString()); |
| 268 | channelLabel->setText(QString()); |
| 269 | isFlexibleDataRateCapable->setText(QCoreApplication::translate(context: "ConnectDialog" , key: "Flexible Data Rate" , disambiguation: nullptr)); |
| 270 | isVirtual->setText(QCoreApplication::translate(context: "ConnectDialog" , key: "Virtual" , disambiguation: nullptr)); |
| 271 | } // retranslateUi |
| 272 | |
| 273 | }; |
| 274 | |
| 275 | namespace Ui { |
| 276 | class ConnectDialog: public Ui_ConnectDialog {}; |
| 277 | } // namespace Ui |
| 278 | |
| 279 | QT_END_NAMESPACE |
| 280 | |
| 281 | #endif // UI_CONNECTDIALOG_H |
| 282 | |