9 #ifndef UI_PQKEYFRAMETYPEWIDGET_H 10 #define UI_PQKEYFRAMETYPEWIDGET_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QComboBox> 15 #include <QtWidgets/QDoubleSpinBox> 16 #include <QtWidgets/QGridLayout> 17 #include <QtWidgets/QGroupBox> 18 #include <QtWidgets/QLabel> 19 #include <QtWidgets/QLineEdit> 20 #include <QtWidgets/QSpacerItem> 21 #include <QtWidgets/QWidget> 51 if (pqKeyFrameTypeWidget->objectName().isEmpty())
52 pqKeyFrameTypeWidget->setObjectName(QString::fromUtf8(
"pqKeyFrameTypeWidget"));
53 pqKeyFrameTypeWidget->resize(251, 316);
54 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
55 sizePolicy.setHorizontalStretch(0);
56 sizePolicy.setVerticalStretch(0);
57 sizePolicy.setHeightForWidth(pqKeyFrameTypeWidget->sizePolicy().hasHeightForWidth());
58 pqKeyFrameTypeWidget->setSizePolicy(sizePolicy);
59 gridLayout =
new QGridLayout(pqKeyFrameTypeWidget);
61 gridLayout->setSpacing(6);
63 gridLayout->setContentsMargins(0, 0, 0, 0);
64 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
65 Type =
new QComboBox(pqKeyFrameTypeWidget);
66 Type->setObjectName(QString::fromUtf8(
"Type"));
68 gridLayout->addWidget(Type, 0, 1, 1, 1);
70 label =
new QLabel(pqKeyFrameTypeWidget);
71 label->setObjectName(QString::fromUtf8(
"label"));
73 gridLayout->addWidget(label, 0, 0, 1, 1);
75 exponentialGroup =
new QGroupBox(pqKeyFrameTypeWidget);
76 exponentialGroup->setObjectName(QString::fromUtf8(
"exponentialGroup"));
77 gridLayout1 =
new QGridLayout(exponentialGroup);
79 gridLayout1->setSpacing(6);
82 gridLayout1->setContentsMargins(9, 9, 9, 9);
84 gridLayout1->setObjectName(QString::fromUtf8(
"gridLayout1"));
85 StartPower =
new QLineEdit(exponentialGroup);
86 StartPower->setObjectName(QString::fromUtf8(
"StartPower"));
88 gridLayout1->addWidget(StartPower, 1, 1, 1, 1);
90 label_2 =
new QLabel(exponentialGroup);
91 label_2->setObjectName(QString::fromUtf8(
"label_2"));
93 gridLayout1->addWidget(label_2, 0, 0, 1, 1);
95 label_3 =
new QLabel(exponentialGroup);
96 label_3->setObjectName(QString::fromUtf8(
"label_3"));
98 gridLayout1->addWidget(label_3, 1, 0, 1, 1);
100 Base =
new QLineEdit(exponentialGroup);
101 Base->setObjectName(QString::fromUtf8(
"Base"));
103 gridLayout1->addWidget(Base, 0, 1, 1, 1);
105 label_4 =
new QLabel(exponentialGroup);
106 label_4->setObjectName(QString::fromUtf8(
"label_4"));
108 gridLayout1->addWidget(label_4, 2, 0, 1, 1);
110 EndPower =
new QLineEdit(exponentialGroup);
111 EndPower->setObjectName(QString::fromUtf8(
"EndPower"));
113 gridLayout1->addWidget(EndPower, 2, 1, 1, 1);
116 gridLayout->addWidget(exponentialGroup, 1, 0, 1, 2);
118 spacerItem =
new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Minimum);
120 gridLayout->addItem(spacerItem, 3, 0, 1, 2);
122 sinusoidGroup =
new QGroupBox(pqKeyFrameTypeWidget);
123 sinusoidGroup->setObjectName(QString::fromUtf8(
"sinusoidGroup"));
124 gridLayout2 =
new QGridLayout(sinusoidGroup);
126 gridLayout2->setSpacing(6);
129 gridLayout2->setContentsMargins(9, 9, 9, 9);
131 gridLayout2->setObjectName(QString::fromUtf8(
"gridLayout2"));
132 label_7 =
new QLabel(sinusoidGroup);
133 label_7->setObjectName(QString::fromUtf8(
"label_7"));
135 gridLayout2->addWidget(label_7, 2, 0, 1, 1);
137 label_6 =
new QLabel(sinusoidGroup);
138 label_6->setObjectName(QString::fromUtf8(
"label_6"));
140 gridLayout2->addWidget(label_6, 1, 0, 1, 1);
142 label_5 =
new QLabel(sinusoidGroup);
143 label_5->setObjectName(QString::fromUtf8(
"label_5"));
145 gridLayout2->addWidget(label_5, 0, 0, 1, 1);
147 Phase =
new QDoubleSpinBox(sinusoidGroup);
148 Phase->setObjectName(QString::fromUtf8(
"Phase"));
149 Phase->setMaximum(180.000000000000000);
150 Phase->setMinimum(-180.000000000000000);
152 gridLayout2->addWidget(Phase, 0, 1, 1, 1);
154 Offset =
new QLineEdit(sinusoidGroup);
155 Offset->setObjectName(QString::fromUtf8(
"Offset"));
157 gridLayout2->addWidget(Offset, 2, 1, 1, 1);
159 Frequency =
new QLineEdit(sinusoidGroup);
160 Frequency->setObjectName(QString::fromUtf8(
"Frequency"));
162 gridLayout2->addWidget(Frequency, 1, 1, 1, 1);
165 gridLayout->addWidget(sinusoidGroup, 2, 0, 1, 2);
167 QWidget::setTabOrder(Base, StartPower);
168 QWidget::setTabOrder(StartPower, EndPower);
169 QWidget::setTabOrder(EndPower, Phase);
170 QWidget::setTabOrder(Phase, Frequency);
171 QWidget::setTabOrder(Frequency, Offset);
175 QMetaObject::connectSlotsByName(pqKeyFrameTypeWidget);
180 pqKeyFrameTypeWidget->setWindowTitle(QCoreApplication::translate(
"pqKeyFrameTypeWidget",
"Form",
nullptr));
181 label->setText(QCoreApplication::translate(
"pqKeyFrameTypeWidget",
"Interpolation:",
nullptr));
182 exponentialGroup->setTitle(QCoreApplication::translate(
"pqKeyFrameTypeWidget",
"Exponential",
nullptr));
183 StartPower->setText(QCoreApplication::translate(
"pqKeyFrameTypeWidget",
"0",
nullptr));
184 label_2->setText(QCoreApplication::translate(
"pqKeyFrameTypeWidget",
"Base",
nullptr));
185 label_3->setText(QCoreApplication::translate(
"pqKeyFrameTypeWidget",
"Start Power",
nullptr));
186 Base->setText(QCoreApplication::translate(
"pqKeyFrameTypeWidget",
"2",
nullptr));
187 label_4->setText(QCoreApplication::translate(
"pqKeyFrameTypeWidget",
"End Power",
nullptr));
188 EndPower->setText(QCoreApplication::translate(
"pqKeyFrameTypeWidget",
"1",
nullptr));
189 sinusoidGroup->setTitle(QCoreApplication::translate(
"pqKeyFrameTypeWidget",
"Sinusoid",
nullptr));
190 label_7->setText(QCoreApplication::translate(
"pqKeyFrameTypeWidget",
"Offset",
nullptr));
191 label_6->setText(QCoreApplication::translate(
"pqKeyFrameTypeWidget",
"Frequency",
nullptr));
192 label_5->setText(QCoreApplication::translate(
"pqKeyFrameTypeWidget",
"Phase",
nullptr));
193 Offset->setText(QCoreApplication::translate(
"pqKeyFrameTypeWidget",
"0",
nullptr));
194 Frequency->setText(QCoreApplication::translate(
"pqKeyFrameTypeWidget",
"1",
nullptr));
205 #endif // UI_PQKEYFRAMETYPEWIDGET_H