Bits and Droids connector
Connect your microcontroller to handle MFS2020 commands.
Loading...
Searching...
No Matches
ui_optionsmenu.h
Go to the documentation of this file.
1/********************************************************************************
2** Form generated from reading UI file 'optionsmenu.ui'
3**
4** Created by: Qt User Interface Compiler version 6.2.0
5**
6** WARNING! All changes made in this file will be lost when recompiling UI file!
7********************************************************************************/
8
9#ifndef UI_OPTIONSMENU_H
10#define UI_OPTIONSMENU_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QButtonGroup>
15#include <QtWidgets/QCheckBox>
16#include <QtWidgets/QComboBox>
17#include <QtWidgets/QFrame>
18#include <QtWidgets/QLabel>
19#include <QtWidgets/QLineEdit>
20#include <QtWidgets/QPushButton>
21#include <QtWidgets/QRadioButton>
22#include <QtWidgets/QSpacerItem>
23#include <QtWidgets/QVBoxLayout>
24#include <QtWidgets/QWidget>
25
26QT_BEGIN_NAMESPACE
27
29{
30public:
32 QVBoxLayout *vlOptions;
37 QLabel *label;
38 QComboBox *baudComboBox;
39 QSpacerItem *horizontalSpacer;
40 QCheckBox *checkBox;
41 QFrame *widgetRanges;
42 QVBoxLayout *vlEngineRanges;
43 QVBoxLayout *vlEngineRange;
44 QLabel *label_2;
45 QRadioButton *rb15;
46 QRadioButton *rb20;
47 QRadioButton *rb25;
48 QPushButton *saveSettingsBtn;
49 QPushButton *pushButton_3;
51 QButtonGroup *buttonGroup;
52
53 void setupUi(QWidget *optionsMenu)
54 {
55 if (optionsMenu->objectName().isEmpty())
56 optionsMenu->setObjectName(QString::fromUtf8("OptionsMenu"));
57 optionsMenu->resize(1094, 857);
58 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
59 sizePolicy.setHorizontalStretch(0);
60 sizePolicy.setVerticalStretch(0);
61 sizePolicy.setHeightForWidth(optionsMenu->sizePolicy().hasHeightForWidth());
62 optionsMenu->setSizePolicy(sizePolicy);
63 optionsMenu->setStyleSheet(QString::fromUtf8("QSlider::groove:horizontal {\n"
64" border: 1px solid #999999;\n"
65" height: 8px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */\n"
66" width: 250px;\n"
67" text-align:left;\n"
68" background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #B1B1B1, stop:1 #c4c4c4);\n"
69" margin: 2px 0;\n"
70"}\n"
71"\n"
72"QSlider::handle:horizontal {\n"
73" background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #00409F, stop:1 #64C0FB);\n"
74" border: 1px solid #5c5c5c;\n"
75" width: 18px;\n"
76" margin: -2px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */\n"
77" border-radius: 3px;\n"
78"}"));
79 formLayoutWidget = new QWidget(optionsMenu);
80 formLayoutWidget->setObjectName(QString::fromUtf8("formLayoutWidget"));
81 formLayoutWidget->setGeometry(QRect(20, 70, 302, 311));
82 vlOptions = new QVBoxLayout(formLayoutWidget);
83 vlOptions->setObjectName(QString::fromUtf8("vlOptions"));
84 vlOptions->setSizeConstraint(QLayout::SetMinimumSize);
85 vlOptions->setContentsMargins(0, 0, 0, 0);
87 waitXMsBeforeSendingLabel->setObjectName(QString::fromUtf8("waitXMsBeforeSendingLabel"));
88
90
92 waitXMsBeforeSendingLineEdit->setObjectName(QString::fromUtf8("waitXMsBeforeSendingLineEdit"));
93 waitXMsBeforeSendingLineEdit->setEnabled(false);
94 waitXMsBeforeSendingLineEdit->setMinimumSize(QSize(50, 0));
95 waitXMsBeforeSendingLineEdit->setMaximumSize(QSize(50, 16777215));
96
98
100 updateEveryXFramesLabel->setObjectName(QString::fromUtf8("updateEveryXFramesLabel"));
101
103
105 updateEveryXFramesLineEdit->setObjectName(QString::fromUtf8("updateEveryXFramesLineEdit"));
106 updateEveryXFramesLineEdit->setEnabled(false);
107 updateEveryXFramesLineEdit->setMinimumSize(QSize(50, 0));
108 updateEveryXFramesLineEdit->setMaximumSize(QSize(50, 16777215));
109
111
112 label = new QLabel(formLayoutWidget);
113 label->setObjectName(QString::fromUtf8("label"));
114
115 vlOptions->addWidget(label);
116
117 baudComboBox = new QComboBox(formLayoutWidget);
118 baudComboBox->addItem(QString());
119 baudComboBox->addItem(QString());
120 baudComboBox->addItem(QString());
121 baudComboBox->setObjectName(QString::fromUtf8("baudComboBox"));
122 baudComboBox->setEnabled(false);
123 baudComboBox->setMaximumSize(QSize(100, 16777215));
124
125 vlOptions->addWidget(baudComboBox);
126
127 horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
128
129 vlOptions->addItem(horizontalSpacer);
130
131 checkBox = new QCheckBox(optionsMenu);
132 checkBox->setObjectName(QString::fromUtf8("checkBox"));
133 checkBox->setGeometry(QRect(10, 30, 350, 17));
134 QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Expanding);
135 sizePolicy1.setHorizontalStretch(0);
136 sizePolicy1.setVerticalStretch(0);
137 sizePolicy1.setHeightForWidth(checkBox->sizePolicy().hasHeightForWidth());
138 checkBox->setSizePolicy(sizePolicy1);
139 checkBox->setMinimumSize(QSize(350, 0));
140 checkBox->setMaximumSize(QSize(350, 16777215));
141 QFont font;
142 font.setKerning(true);
143 checkBox->setFont(font);
144 widgetRanges = new QFrame(optionsMenu);
145 widgetRanges->setObjectName(QString::fromUtf8("widgetRanges"));
146 widgetRanges->setGeometry(QRect(340, 60, 300, 400));
147 widgetRanges->setMinimumSize(QSize(300, 400));
148 vlEngineRanges = new QVBoxLayout(widgetRanges);
149 vlEngineRanges->setObjectName(QString::fromUtf8("vlEngineRanges"));
150 vlEngineRanges->setSizeConstraint(QLayout::SetMinimumSize);
151 vlEngineRange = new QVBoxLayout();
152 vlEngineRange->setObjectName(QString::fromUtf8("vlEngineRange"));
153 vlEngineRange->setSizeConstraint(QLayout::SetDefaultConstraint);
154
155 vlEngineRanges->addLayout(vlEngineRange);
156
157 label_2 = new QLabel(widgetRanges);
158 label_2->setObjectName(QString::fromUtf8("label_2"));
159
160 vlEngineRanges->addWidget(label_2);
161
162 rb15 = new QRadioButton(widgetRanges);
163 buttonGroup = new QButtonGroup(optionsMenu);
164 buttonGroup->setObjectName(QString::fromUtf8("buttonGroup"));
165 buttonGroup->addButton(rb15);
166 rb15->setObjectName(QString::fromUtf8("rb15"));
167
168 vlEngineRanges->addWidget(rb15);
169
170 rb20 = new QRadioButton(widgetRanges);
171 buttonGroup->addButton(rb20);
172 rb20->setObjectName(QString::fromUtf8("rb20"));
173
174 vlEngineRanges->addWidget(rb20);
175
176 rb25 = new QRadioButton(widgetRanges);
177 buttonGroup->addButton(rb25);
178 rb25->setObjectName(QString::fromUtf8("rb25"));
179
180 vlEngineRanges->addWidget(rb25);
181
182 saveSettingsBtn = new QPushButton(optionsMenu);
183 saveSettingsBtn->setObjectName(QString::fromUtf8("saveSettingsBtn"));
184 saveSettingsBtn->setGeometry(QRect(20, 390, 151, 23));
185 pushButton_3 = new QPushButton(optionsMenu);
186 pushButton_3->setObjectName(QString::fromUtf8("pushButton_3"));
187 pushButton_3->setGeometry(QRect(20, 420, 151, 23));
188 sensitivityWidget = new QWidget(optionsMenu);
189 sensitivityWidget->setObjectName(QString::fromUtf8("sensitivityWidget"));
190 sensitivityWidget->setGeometry(QRect(660, 70, 481, 571));
191
192 retranslateUi(optionsMenu);
193
194 QMetaObject::connectSlotsByName(optionsMenu);
195 } // setupUi
196
197 void retranslateUi(QWidget *optionsMenu)
198 {
199 optionsMenu->setWindowTitle(QCoreApplication::translate("OptionsMenu", "Settings", nullptr));
200 waitXMsBeforeSendingLabel->setText(QCoreApplication::translate("OptionsMenu", "Wait X ms before sending", nullptr));
201 waitXMsBeforeSendingLineEdit->setText(QCoreApplication::translate("OptionsMenu", "5", nullptr));
202 updateEveryXFramesLabel->setText(QCoreApplication::translate("OptionsMenu", "Update every X frames", nullptr));
203 updateEveryXFramesLineEdit->setText(QCoreApplication::translate("OptionsMenu", "3", nullptr));
204 label->setText(QCoreApplication::translate("OptionsMenu", "Baudrate:", nullptr));
205 baudComboBox->setItemText(0, QCoreApplication::translate("OptionsMenu", "115200", nullptr));
206 baudComboBox->setItemText(1, QCoreApplication::translate("OptionsMenu", "9600", nullptr));
207 baudComboBox->setItemText(2, QCoreApplication::translate("OptionsMenu", "256000", nullptr));
208
209 checkBox->setText(QCoreApplication::translate("OptionsMenu", "Advanced options (can impact performance)", nullptr));
210 label_2->setText(QCoreApplication::translate("OptionsMenu", "Select the max reverse throttle range", nullptr));
211 rb15->setText(QCoreApplication::translate("OptionsMenu", "15% (TBM, Beechcraft)", nullptr));
212 rb20->setText(QCoreApplication::translate("OptionsMenu", "20% (787, A320, Caravan)", nullptr));
213 rb25->setText(QCoreApplication::translate("OptionsMenu", "25% (747)", nullptr));
214 saveSettingsBtn->setText(QCoreApplication::translate("OptionsMenu", "Save", nullptr));
215 pushButton_3->setText(QCoreApplication::translate("OptionsMenu", "Revert to default", nullptr));
216 } // retranslateUi
217
218};
219
220namespace Ui {
221 class optionsMenu: public Ui_optionsMenu {};
222} // namespace Ui
223
224QT_END_NAMESPACE
225
226#endif // UI_OPTIONSMENU_H
Definition: ui_optionsmenu.h:221
Definition: ui_optionsmenu.h:29
QLabel * updateEveryXFramesLabel
Definition: ui_optionsmenu.h:35
QButtonGroup * buttonGroup
Definition: ui_optionsmenu.h:51
QRadioButton * rb25
Definition: ui_optionsmenu.h:47
QComboBox * baudComboBox
Definition: ui_optionsmenu.h:38
void retranslateUi(QWidget *optionsMenu)
Definition: ui_optionsmenu.h:197
QLineEdit * waitXMsBeforeSendingLineEdit
Definition: ui_optionsmenu.h:34
QLabel * waitXMsBeforeSendingLabel
Definition: ui_optionsmenu.h:33
QCheckBox * checkBox
Definition: ui_optionsmenu.h:40
QLabel * label_2
Definition: ui_optionsmenu.h:44
QFrame * widgetRanges
Definition: ui_optionsmenu.h:41
QSpacerItem * horizontalSpacer
Definition: ui_optionsmenu.h:39
QWidget * formLayoutWidget
Definition: ui_optionsmenu.h:31
QLabel * label
Definition: ui_optionsmenu.h:37
QRadioButton * rb15
Definition: ui_optionsmenu.h:45
QLineEdit * updateEveryXFramesLineEdit
Definition: ui_optionsmenu.h:36
void setupUi(QWidget *optionsMenu)
Definition: ui_optionsmenu.h:53
QVBoxLayout * vlEngineRange
Definition: ui_optionsmenu.h:43
QPushButton * pushButton_3
Definition: ui_optionsmenu.h:49
QWidget * sensitivityWidget
Definition: ui_optionsmenu.h:50
QRadioButton * rb20
Definition: ui_optionsmenu.h:46
QVBoxLayout * vlEngineRanges
Definition: ui_optionsmenu.h:42
QVBoxLayout * vlOptions
Definition: ui_optionsmenu.h:32
QPushButton * saveSettingsBtn
Definition: ui_optionsmenu.h:48
Definition: outputmenu.h:18