9#ifndef UI_OPTIONSMENU_H
10#define UI_OPTIONSMENU_H
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>
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"
68" background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #B1B1B1, stop:1 #c4c4c4);\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"
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"
83 vlOptions->setObjectName(QString::fromUtf8(
"vlOptions"));
84 vlOptions->setSizeConstraint(QLayout::SetMinimumSize);
85 vlOptions->setContentsMargins(0, 0, 0, 0);
113 label->setObjectName(QString::fromUtf8(
"label"));
121 baudComboBox->setObjectName(QString::fromUtf8(
"baudComboBox"));
127 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
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));
142 font.setKerning(
true);
145 widgetRanges->setObjectName(QString::fromUtf8(
"widgetRanges"));
149 vlEngineRanges->setObjectName(QString::fromUtf8(
"vlEngineRanges"));
152 vlEngineRange->setObjectName(QString::fromUtf8(
"vlEngineRange"));
153 vlEngineRange->setSizeConstraint(QLayout::SetDefaultConstraint);
158 label_2->setObjectName(QString::fromUtf8(
"label_2"));
164 buttonGroup->setObjectName(QString::fromUtf8(
"buttonGroup"));
166 rb15->setObjectName(QString::fromUtf8(
"rb15"));
172 rb20->setObjectName(QString::fromUtf8(
"rb20"));
178 rb25->setObjectName(QString::fromUtf8(
"rb25"));
186 pushButton_3->setObjectName(QString::fromUtf8(
"pushButton_3"));
194 QMetaObject::connectSlotsByName(optionsMenu);
199 optionsMenu->setWindowTitle(QCoreApplication::translate(
"OptionsMenu",
"Settings",
nullptr));
202 updateEveryXFramesLabel->setText(QCoreApplication::translate(
"OptionsMenu",
"Update every X frames",
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));
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));
Definition: outputmenu.h:18