ui_pqAnimationTimeWidget.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'pqAnimationTimeWidget.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.15.1
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_PQANIMATIONTIMEWIDGET_H
10 #define UI_PQANIMATIONTIMEWIDGET_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QComboBox>
15 #include <QtWidgets/QHBoxLayout>
16 #include <QtWidgets/QLabel>
17 #include <QtWidgets/QRadioButton>
18 #include <QtWidgets/QSpacerItem>
19 #include <QtWidgets/QWidget>
20 #include "pqDoubleLineEdit.h"
21 #include "pqSpinBox.h"
22 
23 QT_BEGIN_NAMESPACE
24 
26 {
27 public:
28  QHBoxLayout *horizontalLayout;
29  QLabel *timeLabel;
30  QRadioButton *radioButtonValue;
32  QComboBox *timeValueComboBox;
33  QRadioButton *radioButtonStep;
36  QSpacerItem *horizontalSpacer;
37 
38  void setupUi(QWidget *AnimationTimeWidget)
39  {
40  if (AnimationTimeWidget->objectName().isEmpty())
41  AnimationTimeWidget->setObjectName(QString::fromUtf8("AnimationTimeWidget"));
42  AnimationTimeWidget->resize(400, 27);
43  QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
44  sizePolicy.setHorizontalStretch(0);
45  sizePolicy.setVerticalStretch(0);
46  sizePolicy.setHeightForWidth(AnimationTimeWidget->sizePolicy().hasHeightForWidth());
47  AnimationTimeWidget->setSizePolicy(sizePolicy);
48  horizontalLayout = new QHBoxLayout(AnimationTimeWidget);
49  horizontalLayout->setSpacing(2);
50  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
51  horizontalLayout->setContentsMargins(0, 0, 0, 0);
52  timeLabel = new QLabel(AnimationTimeWidget);
53  timeLabel->setObjectName(QString::fromUtf8("timeLabel"));
54 
55  horizontalLayout->addWidget(timeLabel);
56 
57  radioButtonValue = new QRadioButton(AnimationTimeWidget);
58  radioButtonValue->setObjectName(QString::fromUtf8("radioButtonValue"));
59  radioButtonValue->setChecked(true);
60 
61  horizontalLayout->addWidget(radioButtonValue);
62 
63  timeValue = new pqDoubleLineEdit(AnimationTimeWidget);
64  timeValue->setObjectName(QString::fromUtf8("timeValue"));
65  timeValue->setProperty("resetCursorPositionOnEditingFinished", QVariant(true));
66  timeValue->setProperty("useGlobalPrecisionAndNotation", QVariant(false));
67 
68  horizontalLayout->addWidget(timeValue);
69 
70  timeValueComboBox = new QComboBox(AnimationTimeWidget);
71  timeValueComboBox->setObjectName(QString::fromUtf8("timeValueComboBox"));
72  timeValueComboBox->setSizeAdjustPolicy(QComboBox::AdjustToContents);
73 
74  horizontalLayout->addWidget(timeValueComboBox);
75 
76  radioButtonStep = new QRadioButton(AnimationTimeWidget);
77  radioButtonStep->setObjectName(QString::fromUtf8("radioButtonStep"));
78  radioButtonStep->setLayoutDirection(Qt::RightToLeft);
79 
80  horizontalLayout->addWidget(radioButtonStep);
81 
82  timestepValue = new pqSpinBox(AnimationTimeWidget);
83  timestepValue->setObjectName(QString::fromUtf8("timestepValue"));
84  timestepValue->setEnabled(false);
85  timestepValue->setMaximum(10000);
86 
87  horizontalLayout->addWidget(timestepValue);
88 
89  timestepCountLabel = new QLabel(AnimationTimeWidget);
90  timestepCountLabel->setObjectName(QString::fromUtf8("timestepCountLabel"));
91 
92  horizontalLayout->addWidget(timestepCountLabel);
93 
94  horizontalSpacer = new QSpacerItem(0, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum);
95 
96  horizontalLayout->addItem(horizontalSpacer);
97 
98  horizontalLayout->setStretch(1, 1);
99  horizontalLayout->setStretch(7, 1);
100 
101  retranslateUi(AnimationTimeWidget);
102  QObject::connect(radioButtonStep, SIGNAL(toggled(bool)), timestepValue, SLOT(setEnabled(bool)));
103  QObject::connect(radioButtonValue, SIGNAL(toggled(bool)), timeValue, SLOT(setEnabled(bool)));
104 
105  QMetaObject::connectSlotsByName(AnimationTimeWidget);
106  } // setupUi
107 
108  void retranslateUi(QWidget *AnimationTimeWidget)
109  {
110  AnimationTimeWidget->setWindowTitle(QCoreApplication::translate("AnimationTimeWidget", "Form", nullptr));
111  timeLabel->setText(QCoreApplication::translate("AnimationTimeWidget", "Time:", nullptr));
112  radioButtonValue->setText(QString());
113  timeValue->setText(QCoreApplication::translate("AnimationTimeWidget", "0", nullptr));
114  radioButtonStep->setText(QString());
115  timestepCountLabel->setText(QCoreApplication::translate("AnimationTimeWidget", "of (TDB)", nullptr));
116  } // retranslateUi
117 
118 };
119 
120 namespace Ui {
122 } // namespace Ui
123 
124 QT_END_NAMESPACE
125 
126 #endif // UI_PQANIMATIONTIMEWIDGET_H
QSpinBox which fires editingFinished() signal when the value is changed by steps (increments).
Definition: pqSpinBox.h:45
void setupUi(QWidget *AnimationTimeWidget)
pqLineEdit subclass that supports a low precision view when inactive
void retranslateUi(QWidget *AnimationTimeWidget)