| 1 | /******************************************************************************** |
| 2 | ** Form generated from reading UI file 'sendframebox.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_SENDFRAMEBOX_H |
| 10 | #define UI_SENDFRAMEBOX_H |
| 11 | |
| 12 | #include <QtCore/QVariant> |
| 13 | #include <QtWidgets/QApplication> |
| 14 | #include <QtWidgets/QCheckBox> |
| 15 | #include <QtWidgets/QGroupBox> |
| 16 | #include <QtWidgets/QHBoxLayout> |
| 17 | #include <QtWidgets/QLabel> |
| 18 | #include <QtWidgets/QLineEdit> |
| 19 | #include <QtWidgets/QPushButton> |
| 20 | #include <QtWidgets/QRadioButton> |
| 21 | #include <QtWidgets/QSpacerItem> |
| 22 | #include <QtWidgets/QVBoxLayout> |
| 23 | |
| 24 | QT_BEGIN_NAMESPACE |
| 25 | |
| 26 | class Ui_SendFrameBox |
| 27 | { |
| 28 | public: |
| 29 | QVBoxLayout *verticalLayout_4; |
| 30 | QGroupBox *frameTypeBox; |
| 31 | QHBoxLayout *horizontalLayout; |
| 32 | QRadioButton *dataFrame; |
| 33 | QRadioButton *remoteFrame; |
| 34 | QRadioButton *errorFrame; |
| 35 | QGroupBox *frameOptionsBox; |
| 36 | QHBoxLayout *horizontalLayout_2; |
| 37 | QCheckBox *extendedFormatBox; |
| 38 | QCheckBox *flexibleDataRateBox; |
| 39 | QCheckBox *bitrateSwitchBox; |
| 40 | QHBoxLayout *horizontalLayout_3; |
| 41 | QVBoxLayout *verticalLayout; |
| 42 | QLabel *frameIdLabel; |
| 43 | QLineEdit *frameIdEdit; |
| 44 | QVBoxLayout *verticalLayout_2; |
| 45 | QLabel *payloadLabel; |
| 46 | QLineEdit *payloadEdit; |
| 47 | QVBoxLayout *verticalLayout_3; |
| 48 | QSpacerItem *verticalSpacer; |
| 49 | QPushButton *sendButton; |
| 50 | |
| 51 | void setupUi(QGroupBox *SendFrameBox) |
| 52 | { |
| 53 | if (SendFrameBox->objectName().isEmpty()) |
| 54 | SendFrameBox->setObjectName(QString::fromUtf8(str: "SendFrameBox" )); |
| 55 | SendFrameBox->resize(w: 485, h: 206); |
| 56 | verticalLayout_4 = new QVBoxLayout(SendFrameBox); |
| 57 | verticalLayout_4->setObjectName(QString::fromUtf8(str: "verticalLayout_4" )); |
| 58 | frameTypeBox = new QGroupBox(SendFrameBox); |
| 59 | frameTypeBox->setObjectName(QString::fromUtf8(str: "frameTypeBox" )); |
| 60 | frameTypeBox->setCheckable(false); |
| 61 | horizontalLayout = new QHBoxLayout(frameTypeBox); |
| 62 | horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout" )); |
| 63 | horizontalLayout->setContentsMargins(left: -1, top: 0, right: -1, bottom: 0); |
| 64 | dataFrame = new QRadioButton(frameTypeBox); |
| 65 | dataFrame->setObjectName(QString::fromUtf8(str: "dataFrame" )); |
| 66 | dataFrame->setChecked(true); |
| 67 | |
| 68 | horizontalLayout->addWidget(dataFrame); |
| 69 | |
| 70 | remoteFrame = new QRadioButton(frameTypeBox); |
| 71 | remoteFrame->setObjectName(QString::fromUtf8(str: "remoteFrame" )); |
| 72 | |
| 73 | horizontalLayout->addWidget(remoteFrame); |
| 74 | |
| 75 | errorFrame = new QRadioButton(frameTypeBox); |
| 76 | errorFrame->setObjectName(QString::fromUtf8(str: "errorFrame" )); |
| 77 | |
| 78 | horizontalLayout->addWidget(errorFrame); |
| 79 | |
| 80 | |
| 81 | verticalLayout_4->addWidget(frameTypeBox); |
| 82 | |
| 83 | frameOptionsBox = new QGroupBox(SendFrameBox); |
| 84 | frameOptionsBox->setObjectName(QString::fromUtf8(str: "frameOptionsBox" )); |
| 85 | horizontalLayout_2 = new QHBoxLayout(frameOptionsBox); |
| 86 | horizontalLayout_2->setObjectName(QString::fromUtf8(str: "horizontalLayout_2" )); |
| 87 | horizontalLayout_2->setContentsMargins(left: -1, top: 0, right: -1, bottom: 0); |
| 88 | extendedFormatBox = new QCheckBox(frameOptionsBox); |
| 89 | extendedFormatBox->setObjectName(QString::fromUtf8(str: "extendedFormatBox" )); |
| 90 | |
| 91 | horizontalLayout_2->addWidget(extendedFormatBox); |
| 92 | |
| 93 | flexibleDataRateBox = new QCheckBox(frameOptionsBox); |
| 94 | flexibleDataRateBox->setObjectName(QString::fromUtf8(str: "flexibleDataRateBox" )); |
| 95 | |
| 96 | horizontalLayout_2->addWidget(flexibleDataRateBox); |
| 97 | |
| 98 | bitrateSwitchBox = new QCheckBox(frameOptionsBox); |
| 99 | bitrateSwitchBox->setObjectName(QString::fromUtf8(str: "bitrateSwitchBox" )); |
| 100 | bitrateSwitchBox->setEnabled(false); |
| 101 | |
| 102 | horizontalLayout_2->addWidget(bitrateSwitchBox); |
| 103 | |
| 104 | |
| 105 | verticalLayout_4->addWidget(frameOptionsBox); |
| 106 | |
| 107 | horizontalLayout_3 = new QHBoxLayout(); |
| 108 | horizontalLayout_3->setObjectName(QString::fromUtf8(str: "horizontalLayout_3" )); |
| 109 | verticalLayout = new QVBoxLayout(); |
| 110 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
| 111 | frameIdLabel = new QLabel(SendFrameBox); |
| 112 | frameIdLabel->setObjectName(QString::fromUtf8(str: "frameIdLabel" )); |
| 113 | |
| 114 | verticalLayout->addWidget(frameIdLabel); |
| 115 | |
| 116 | frameIdEdit = new QLineEdit(SendFrameBox); |
| 117 | frameIdEdit->setObjectName(QString::fromUtf8(str: "frameIdEdit" )); |
| 118 | QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed); |
| 119 | sizePolicy.setHorizontalStretch(1); |
| 120 | sizePolicy.setVerticalStretch(0); |
| 121 | sizePolicy.setHeightForWidth(frameIdEdit->sizePolicy().hasHeightForWidth()); |
| 122 | frameIdEdit->setSizePolicy(sizePolicy); |
| 123 | frameIdEdit->setClearButtonEnabled(true); |
| 124 | |
| 125 | verticalLayout->addWidget(frameIdEdit); |
| 126 | |
| 127 | |
| 128 | horizontalLayout_3->addLayout(layout: verticalLayout); |
| 129 | |
| 130 | verticalLayout_2 = new QVBoxLayout(); |
| 131 | verticalLayout_2->setObjectName(QString::fromUtf8(str: "verticalLayout_2" )); |
| 132 | payloadLabel = new QLabel(SendFrameBox); |
| 133 | payloadLabel->setObjectName(QString::fromUtf8(str: "payloadLabel" )); |
| 134 | |
| 135 | verticalLayout_2->addWidget(payloadLabel); |
| 136 | |
| 137 | payloadEdit = new QLineEdit(SendFrameBox); |
| 138 | payloadEdit->setObjectName(QString::fromUtf8(str: "payloadEdit" )); |
| 139 | QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed); |
| 140 | sizePolicy1.setHorizontalStretch(2); |
| 141 | sizePolicy1.setVerticalStretch(0); |
| 142 | sizePolicy1.setHeightForWidth(payloadEdit->sizePolicy().hasHeightForWidth()); |
| 143 | payloadEdit->setSizePolicy(sizePolicy1); |
| 144 | payloadEdit->setClearButtonEnabled(true); |
| 145 | |
| 146 | verticalLayout_2->addWidget(payloadEdit); |
| 147 | |
| 148 | |
| 149 | horizontalLayout_3->addLayout(layout: verticalLayout_2); |
| 150 | |
| 151 | verticalLayout_3 = new QVBoxLayout(); |
| 152 | verticalLayout_3->setObjectName(QString::fromUtf8(str: "verticalLayout_3" )); |
| 153 | verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 154 | |
| 155 | verticalLayout_3->addItem(verticalSpacer); |
| 156 | |
| 157 | sendButton = new QPushButton(SendFrameBox); |
| 158 | sendButton->setObjectName(QString::fromUtf8(str: "sendButton" )); |
| 159 | |
| 160 | verticalLayout_3->addWidget(sendButton); |
| 161 | |
| 162 | |
| 163 | horizontalLayout_3->addLayout(layout: verticalLayout_3); |
| 164 | |
| 165 | |
| 166 | verticalLayout_4->addLayout(layout: horizontalLayout_3); |
| 167 | |
| 168 | #if QT_CONFIG(shortcut) |
| 169 | frameIdLabel->setBuddy(frameIdEdit); |
| 170 | payloadLabel->setBuddy(payloadEdit); |
| 171 | #endif // QT_CONFIG(shortcut) |
| 172 | |
| 173 | retranslateUi(SendFrameBox); |
| 174 | |
| 175 | QMetaObject::connectSlotsByName(o: SendFrameBox); |
| 176 | } // setupUi |
| 177 | |
| 178 | void retranslateUi(QGroupBox *SendFrameBox) |
| 179 | { |
| 180 | SendFrameBox->setWindowTitle(QCoreApplication::translate(context: "SendFrameBox" , key: "Dialog" , disambiguation: nullptr)); |
| 181 | SendFrameBox->setTitle(QString()); |
| 182 | frameTypeBox->setTitle(QCoreApplication::translate(context: "SendFrameBox" , key: "Frame Type" , disambiguation: nullptr)); |
| 183 | #if QT_CONFIG(tooltip) |
| 184 | dataFrame->setToolTip(QCoreApplication::translate(context: "SendFrameBox" , key: "Sends a CAN data frame." , disambiguation: nullptr)); |
| 185 | #endif // QT_CONFIG(tooltip) |
| 186 | dataFrame->setText(QCoreApplication::translate(context: "SendFrameBox" , key: "D&ata Frame" , disambiguation: nullptr)); |
| 187 | #if QT_CONFIG(tooltip) |
| 188 | remoteFrame->setToolTip(QCoreApplication::translate(context: "SendFrameBox" , key: "Sends a CAN remote request frame." , disambiguation: nullptr)); |
| 189 | #endif // QT_CONFIG(tooltip) |
| 190 | remoteFrame->setText(QCoreApplication::translate(context: "SendFrameBox" , key: "Re&mote Request Frame" , disambiguation: nullptr)); |
| 191 | #if QT_CONFIG(tooltip) |
| 192 | errorFrame->setToolTip(QCoreApplication::translate(context: "SendFrameBox" , key: "Sends an error frame." , disambiguation: nullptr)); |
| 193 | #endif // QT_CONFIG(tooltip) |
| 194 | errorFrame->setText(QCoreApplication::translate(context: "SendFrameBox" , key: "&Error Frame" , disambiguation: nullptr)); |
| 195 | frameOptionsBox->setTitle(QCoreApplication::translate(context: "SendFrameBox" , key: "Frame Options" , disambiguation: nullptr)); |
| 196 | #if QT_CONFIG(tooltip) |
| 197 | extendedFormatBox->setToolTip(QCoreApplication::translate(context: "SendFrameBox" , key: "Allows extended frames with 29 bit identifier." , disambiguation: nullptr)); |
| 198 | #endif // QT_CONFIG(tooltip) |
| 199 | extendedFormatBox->setText(QCoreApplication::translate(context: "SendFrameBox" , key: "E&xtended Format" , disambiguation: nullptr)); |
| 200 | #if QT_CONFIG(tooltip) |
| 201 | flexibleDataRateBox->setToolTip(QCoreApplication::translate(context: "SendFrameBox" , key: "Allows up to 64 byte payload data." , disambiguation: nullptr)); |
| 202 | #endif // QT_CONFIG(tooltip) |
| 203 | flexibleDataRateBox->setText(QCoreApplication::translate(context: "SendFrameBox" , key: "&Flexible Data-Rate" , disambiguation: nullptr)); |
| 204 | #if QT_CONFIG(tooltip) |
| 205 | bitrateSwitchBox->setToolTip(QCoreApplication::translate(context: "SendFrameBox" , key: "Sends payload at higher data rate." , disambiguation: nullptr)); |
| 206 | #endif // QT_CONFIG(tooltip) |
| 207 | bitrateSwitchBox->setText(QCoreApplication::translate(context: "SendFrameBox" , key: "&Bitrate Switch" , disambiguation: nullptr)); |
| 208 | frameIdLabel->setText(QCoreApplication::translate(context: "SendFrameBox" , key: "Frame &ID (hex)" , disambiguation: nullptr)); |
| 209 | frameIdEdit->setPlaceholderText(QCoreApplication::translate(context: "SendFrameBox" , key: "123" , disambiguation: nullptr)); |
| 210 | payloadLabel->setText(QCoreApplication::translate(context: "SendFrameBox" , key: "&Payload (hex)" , disambiguation: nullptr)); |
| 211 | payloadEdit->setPlaceholderText(QCoreApplication::translate(context: "SendFrameBox" , key: "12 34 AB CE" , disambiguation: nullptr)); |
| 212 | sendButton->setText(QCoreApplication::translate(context: "SendFrameBox" , key: "&Send" , disambiguation: nullptr)); |
| 213 | } // retranslateUi |
| 214 | |
| 215 | }; |
| 216 | |
| 217 | namespace Ui { |
| 218 | class SendFrameBox: public Ui_SendFrameBox {}; |
| 219 | } // namespace Ui |
| 220 | |
| 221 | QT_END_NAMESPACE |
| 222 | |
| 223 | #endif // UI_SENDFRAMEBOX_H |
| 224 | |