| 1 |
/******************************************************************************** |
| 2 |
** Form generated from reading UI file 'buttongroup.ui' |
| 3 |
** |
| 4 |
** Created by: Qt User Interface Compiler version 5.12.0 |
| 5 |
** |
| 6 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 7 |
********************************************************************************/ |
| 8 |
|
| 9 |
#ifndef BUTTONGROUP_H |
| 10 |
#define BUTTONGROUP_H |
| 11 |
|
| 12 |
#include <QtCore/QVariant> |
| 13 |
#include <QtWidgets/QApplication> |
| 14 |
#include <QtWidgets/QButtonGroup> |
| 15 |
#include <QtWidgets/QDoubleSpinBox> |
| 16 |
#include <QtWidgets/QFormLayout> |
| 17 |
#include <QtWidgets/QGraphicsView> |
| 18 |
#include <QtWidgets/QGridLayout> |
| 19 |
#include <QtWidgets/QGroupBox> |
| 20 |
#include <QtWidgets/QLabel> |
| 21 |
#include <QtWidgets/QListWidget> |
| 22 |
#include <QtWidgets/QRadioButton> |
| 23 |
#include <QtWidgets/QSpacerItem> |
| 24 |
#include <QtWidgets/QVBoxLayout> |
| 25 |
#include <QtWidgets/QWidget> |
| 26 |
|
| 27 |
QT_BEGIN_NAMESPACE |
| 28 |
|
| 29 |
class Ui_Form |
| 30 |
{ |
| 31 |
public: |
| 32 |
QGridLayout *gridLayout; |
| 33 |
QListWidget *easingCurvePicker; |
| 34 |
QVBoxLayout *verticalLayout; |
| 35 |
QGroupBox *groupBox_2; |
| 36 |
QGridLayout *gridLayout_2; |
| 37 |
QRadioButton *lineRadio; |
| 38 |
QRadioButton *circleRadio; |
| 39 |
QGroupBox *groupBox; |
| 40 |
QFormLayout *formLayout; |
| 41 |
QLabel *label; |
| 42 |
QDoubleSpinBox *periodSpinBox; |
| 43 |
QDoubleSpinBox *amplitudeSpinBox; |
| 44 |
QLabel *label_3; |
| 45 |
QDoubleSpinBox *overshootSpinBox; |
| 46 |
QLabel *label_2; |
| 47 |
QSpacerItem *verticalSpacer; |
| 48 |
QGraphicsView *graphicsView; |
| 49 |
QButtonGroup *buttonGroup; |
| 50 |
|
| 51 |
void setupUi(QWidget *Form) |
| 52 |
{ |
| 53 |
if (Form->objectName().isEmpty()) |
| 54 |
Form->setObjectName(QString::fromUtf8("Form")); |
| 55 |
Form->resize(545, 471); |
| 56 |
gridLayout = new QGridLayout(Form); |
| 57 |
gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
| 58 |
easingCurvePicker = new QListWidget(Form); |
| 59 |
easingCurvePicker->setObjectName(QString::fromUtf8("easingCurvePicker")); |
| 60 |
QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred); |
| 61 |
sizePolicy.setHorizontalStretch(0); |
| 62 |
sizePolicy.setVerticalStretch(0); |
| 63 |
sizePolicy.setHeightForWidth(easingCurvePicker->sizePolicy().hasHeightForWidth()); |
| 64 |
easingCurvePicker->setSizePolicy(sizePolicy); |
| 65 |
easingCurvePicker->setMaximumSize(QSize(16777215, 120)); |
| 66 |
easingCurvePicker->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); |
| 67 |
easingCurvePicker->setMovement(QListView::Static); |
| 68 |
easingCurvePicker->setProperty("isWrapping", QVariant(false)); |
| 69 |
easingCurvePicker->setViewMode(QListView::IconMode); |
| 70 |
easingCurvePicker->setSelectionRectVisible(false); |
| 71 |
|
| 72 |
gridLayout->addWidget(easingCurvePicker, 0, 0, 1, 2); |
| 73 |
|
| 74 |
verticalLayout = new QVBoxLayout(); |
| 75 |
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); |
| 76 |
groupBox_2 = new QGroupBox(Form); |
| 77 |
groupBox_2->setObjectName(QString::fromUtf8("groupBox_2")); |
| 78 |
groupBox_2->setMaximumSize(QSize(16777215, 16777215)); |
| 79 |
gridLayout_2 = new QGridLayout(groupBox_2); |
| 80 |
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2")); |
| 81 |
lineRadio = new QRadioButton(groupBox_2); |
| 82 |
buttonGroup = new QButtonGroup(Form); |
| 83 |
buttonGroup->setObjectName(QString::fromUtf8("buttonGroup")); |
| 84 |
buttonGroup->addButton(lineRadio); |
| 85 |
lineRadio->setObjectName(QString::fromUtf8("lineRadio")); |
| 86 |
lineRadio->setMaximumSize(QSize(16777215, 40)); |
| 87 |
lineRadio->setLayoutDirection(Qt::LeftToRight); |
| 88 |
lineRadio->setChecked(true); |
| 89 |
|
| 90 |
gridLayout_2->addWidget(lineRadio, 0, 0, 1, 1); |
| 91 |
|
| 92 |
circleRadio = new QRadioButton(groupBox_2); |
| 93 |
buttonGroup->addButton(circleRadio); |
| 94 |
circleRadio->setObjectName(QString::fromUtf8("circleRadio")); |
| 95 |
circleRadio->setMaximumSize(QSize(16777215, 40)); |
| 96 |
|
| 97 |
gridLayout_2->addWidget(circleRadio, 1, 0, 1, 1); |
| 98 |
|
| 99 |
|
| 100 |
verticalLayout->addWidget(groupBox_2); |
| 101 |
|
| 102 |
groupBox = new QGroupBox(Form); |
| 103 |
groupBox->setObjectName(QString::fromUtf8("groupBox")); |
| 104 |
QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Preferred); |
| 105 |
sizePolicy1.setHorizontalStretch(0); |
| 106 |
sizePolicy1.setVerticalStretch(0); |
| 107 |
sizePolicy1.setHeightForWidth(groupBox->sizePolicy().hasHeightForWidth()); |
| 108 |
groupBox->setSizePolicy(sizePolicy1); |
| 109 |
formLayout = new QFormLayout(groupBox); |
| 110 |
formLayout->setObjectName(QString::fromUtf8("formLayout")); |
| 111 |
formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow); |
| 112 |
label = new QLabel(groupBox); |
| 113 |
label->setObjectName(QString::fromUtf8("label")); |
| 114 |
QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Preferred); |
| 115 |
sizePolicy2.setHorizontalStretch(0); |
| 116 |
sizePolicy2.setVerticalStretch(0); |
| 117 |
sizePolicy2.setHeightForWidth(label->sizePolicy().hasHeightForWidth()); |
| 118 |
label->setSizePolicy(sizePolicy2); |
| 119 |
label->setMinimumSize(QSize(0, 30)); |
| 120 |
|
| 121 |
formLayout->setWidget(0, QFormLayout::LabelRole, label); |
| 122 |
|
| 123 |
periodSpinBox = new QDoubleSpinBox(groupBox); |
| 124 |
periodSpinBox->setObjectName(QString::fromUtf8("periodSpinBox")); |
| 125 |
periodSpinBox->setEnabled(false); |
| 126 |
QSizePolicy sizePolicy3(QSizePolicy::Minimum, QSizePolicy::Fixed); |
| 127 |
sizePolicy3.setHorizontalStretch(0); |
| 128 |
sizePolicy3.setVerticalStretch(0); |
| 129 |
sizePolicy3.setHeightForWidth(periodSpinBox->sizePolicy().hasHeightForWidth()); |
| 130 |
periodSpinBox->setSizePolicy(sizePolicy3); |
| 131 |
periodSpinBox->setMinimumSize(QSize(0, 30)); |
| 132 |
periodSpinBox->setMinimum(-1.000000000000000); |
| 133 |
periodSpinBox->setSingleStep(0.100000000000000); |
| 134 |
periodSpinBox->setValue(-1.000000000000000); |
| 135 |
|
| 136 |
formLayout->setWidget(0, QFormLayout::FieldRole, periodSpinBox); |
| 137 |
|
| 138 |
amplitudeSpinBox = new QDoubleSpinBox(groupBox); |
| 139 |
amplitudeSpinBox->setObjectName(QString::fromUtf8("amplitudeSpinBox")); |
| 140 |
amplitudeSpinBox->setEnabled(false); |
| 141 |
amplitudeSpinBox->setMinimumSize(QSize(0, 30)); |
| 142 |
amplitudeSpinBox->setMinimum(-1.000000000000000); |
| 143 |
amplitudeSpinBox->setSingleStep(0.100000000000000); |
| 144 |
amplitudeSpinBox->setValue(-1.000000000000000); |
| 145 |
|
| 146 |
formLayout->setWidget(2, QFormLayout::FieldRole, amplitudeSpinBox); |
| 147 |
|
| 148 |
label_3 = new QLabel(groupBox); |
| 149 |
label_3->setObjectName(QString::fromUtf8("label_3")); |
| 150 |
label_3->setMinimumSize(QSize(0, 30)); |
| 151 |
|
| 152 |
formLayout->setWidget(4, QFormLayout::LabelRole, label_3); |
| 153 |
|
| 154 |
overshootSpinBox = new QDoubleSpinBox(groupBox); |
| 155 |
overshootSpinBox->setObjectName(QString::fromUtf8("overshootSpinBox")); |
| 156 |
overshootSpinBox->setEnabled(false); |
| 157 |
overshootSpinBox->setMinimumSize(QSize(0, 30)); |
| 158 |
overshootSpinBox->setMinimum(-1.000000000000000); |
| 159 |
overshootSpinBox->setSingleStep(0.100000000000000); |
| 160 |
overshootSpinBox->setValue(-1.000000000000000); |
| 161 |
|
| 162 |
formLayout->setWidget(4, QFormLayout::FieldRole, overshootSpinBox); |
| 163 |
|
| 164 |
label_2 = new QLabel(groupBox); |
| 165 |
label_2->setObjectName(QString::fromUtf8("label_2")); |
| 166 |
label_2->setMinimumSize(QSize(0, 30)); |
| 167 |
|
| 168 |
formLayout->setWidget(2, QFormLayout::LabelRole, label_2); |
| 169 |
|
| 170 |
|
| 171 |
verticalLayout->addWidget(groupBox); |
| 172 |
|
| 173 |
verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 174 |
|
| 175 |
verticalLayout->addItem(verticalSpacer); |
| 176 |
|
| 177 |
|
| 178 |
gridLayout->addLayout(verticalLayout, 1, 0, 1, 1); |
| 179 |
|
| 180 |
graphicsView = new QGraphicsView(Form); |
| 181 |
graphicsView->setObjectName(QString::fromUtf8("graphicsView")); |
| 182 |
QSizePolicy sizePolicy4(QSizePolicy::Expanding, QSizePolicy::Expanding); |
| 183 |
sizePolicy4.setHorizontalStretch(0); |
| 184 |
sizePolicy4.setVerticalStretch(0); |
| 185 |
sizePolicy4.setHeightForWidth(graphicsView->sizePolicy().hasHeightForWidth()); |
| 186 |
graphicsView->setSizePolicy(sizePolicy4); |
| 187 |
|
| 188 |
gridLayout->addWidget(graphicsView, 1, 1, 1, 1); |
| 189 |
|
| 190 |
|
| 191 |
retranslateUi(Form); |
| 192 |
|
| 193 |
QMetaObject::connectSlotsByName(Form); |
| 194 |
} // setupUi |
| 195 |
|
| 196 |
void retranslateUi(QWidget *Form) |
| 197 |
{ |
| 198 |
Form->setWindowTitle(QCoreApplication::translate("Form", "Easing curves", nullptr)); |
| 199 |
groupBox_2->setTitle(QCoreApplication::translate("Form", "Path type", nullptr)); |
| 200 |
lineRadio->setText(QCoreApplication::translate("Form", "Line", nullptr)); |
| 201 |
circleRadio->setText(QCoreApplication::translate("Form", "Circle", nullptr)); |
| 202 |
groupBox->setTitle(QCoreApplication::translate("Form", "Properties", nullptr)); |
| 203 |
label->setText(QCoreApplication::translate("Form", "Period", nullptr)); |
| 204 |
label_3->setText(QCoreApplication::translate("Form", "Overshoot", nullptr)); |
| 205 |
label_2->setText(QCoreApplication::translate("Form", "Amplitude", nullptr)); |
| 206 |
} // retranslateUi |
| 207 |
|
| 208 |
}; |
| 209 |
|
| 210 |
namespace Ui { |
| 211 |
class Form: public Ui_Form {}; |
| 212 |
} // namespace Ui |
| 213 |
|
| 214 |
QT_END_NAMESPACE |
| 215 |
|
| 216 |
#endif // BUTTONGROUP_H |