| Line |
Branch |
Exec |
Source |
| 1 |
|
|
/******************************************************************************** |
| 2 |
|
|
** Form generated from reading UI file 'pathplayerwidget.ui' |
| 3 |
|
|
** |
| 4 |
|
|
** Created by: Qt User Interface Compiler version 5.15.3 |
| 5 |
|
|
** |
| 6 |
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 7 |
|
|
********************************************************************************/ |
| 8 |
|
|
|
| 9 |
|
|
#ifndef UI_PATHPLAYERWIDGET_H |
| 10 |
|
|
#define UI_PATHPLAYERWIDGET_H |
| 11 |
|
|
|
| 12 |
|
|
#include <QtCore/QVariant> |
| 13 |
|
|
#include <QtGui/QIcon> |
| 14 |
|
|
#include <QtWidgets/QApplication> |
| 15 |
|
|
#include <QtWidgets/QDoubleSpinBox> |
| 16 |
|
|
#include <QtWidgets/QHBoxLayout> |
| 17 |
|
|
#include <QtWidgets/QPushButton> |
| 18 |
|
|
#include <QtWidgets/QSlider> |
| 19 |
|
|
#include <QtWidgets/QSpinBox> |
| 20 |
|
|
#include <QtWidgets/QWidget> |
| 21 |
|
|
|
| 22 |
|
|
QT_BEGIN_NAMESPACE |
| 23 |
|
|
|
| 24 |
|
|
class Ui_PathPlayerWidget |
| 25 |
|
|
{ |
| 26 |
|
|
public: |
| 27 |
|
|
QHBoxLayout *horizontalLayout; |
| 28 |
|
|
QPushButton *refreshButton_path; |
| 29 |
|
|
QSpinBox *pathIndexSpin; |
| 30 |
|
|
QPushButton *playPauseButton; |
| 31 |
|
|
QPushButton *stopButton; |
| 32 |
|
|
QDoubleSpinBox *timeSpinBox; |
| 33 |
|
|
QSlider *pathSlider; |
| 34 |
|
|
|
| 35 |
|
✗ |
void setupUi(QWidget *PathPlayerWidget) |
| 36 |
|
|
{ |
| 37 |
|
✗ |
if (PathPlayerWidget->objectName().isEmpty()) |
| 38 |
|
✗ |
PathPlayerWidget->setObjectName(QString::fromUtf8("PathPlayerWidget")); |
| 39 |
|
✗ |
PathPlayerWidget->resize(562, 50); |
| 40 |
|
✗ |
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed); |
| 41 |
|
✗ |
sizePolicy.setHorizontalStretch(0); |
| 42 |
|
✗ |
sizePolicy.setVerticalStretch(0); |
| 43 |
|
✗ |
sizePolicy.setHeightForWidth(PathPlayerWidget->sizePolicy().hasHeightForWidth()); |
| 44 |
|
✗ |
PathPlayerWidget->setSizePolicy(sizePolicy); |
| 45 |
|
✗ |
horizontalLayout = new QHBoxLayout(PathPlayerWidget); |
| 46 |
|
✗ |
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); |
| 47 |
|
✗ |
refreshButton_path = new QPushButton(PathPlayerWidget); |
| 48 |
|
✗ |
refreshButton_path->setObjectName(QString::fromUtf8("refreshButton_path")); |
| 49 |
|
✗ |
QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed); |
| 50 |
|
✗ |
sizePolicy1.setHorizontalStretch(0); |
| 51 |
|
✗ |
sizePolicy1.setVerticalStretch(0); |
| 52 |
|
✗ |
sizePolicy1.setHeightForWidth(refreshButton_path->sizePolicy().hasHeightForWidth()); |
| 53 |
|
✗ |
refreshButton_path->setSizePolicy(sizePolicy1); |
| 54 |
|
✗ |
QIcon icon; |
| 55 |
|
✗ |
QString iconThemeName = QString::fromUtf8("view-refresh"); |
| 56 |
|
✗ |
if (QIcon::hasThemeIcon(iconThemeName)) { |
| 57 |
|
✗ |
icon = QIcon::fromTheme(iconThemeName); |
| 58 |
|
|
} else { |
| 59 |
|
✗ |
icon.addFile(QString::fromUtf8(":/icons/refresh.png"), QSize(), QIcon::Normal, QIcon::Off); |
| 60 |
|
|
} |
| 61 |
|
✗ |
refreshButton_path->setIcon(icon); |
| 62 |
|
✗ |
refreshButton_path->setIconSize(QSize(18, 18)); |
| 63 |
|
|
|
| 64 |
|
✗ |
horizontalLayout->addWidget(refreshButton_path); |
| 65 |
|
|
|
| 66 |
|
✗ |
pathIndexSpin = new QSpinBox(PathPlayerWidget); |
| 67 |
|
✗ |
pathIndexSpin->setObjectName(QString::fromUtf8("pathIndexSpin")); |
| 68 |
|
✗ |
pathIndexSpin->setEnabled(false); |
| 69 |
|
✗ |
sizePolicy.setHeightForWidth(pathIndexSpin->sizePolicy().hasHeightForWidth()); |
| 70 |
|
✗ |
pathIndexSpin->setSizePolicy(sizePolicy); |
| 71 |
|
✗ |
pathIndexSpin->setMaximum(0); |
| 72 |
|
|
|
| 73 |
|
✗ |
horizontalLayout->addWidget(pathIndexSpin); |
| 74 |
|
|
|
| 75 |
|
✗ |
playPauseButton = new QPushButton(PathPlayerWidget); |
| 76 |
|
✗ |
playPauseButton->setObjectName(QString::fromUtf8("playPauseButton")); |
| 77 |
|
✗ |
sizePolicy1.setHeightForWidth(playPauseButton->sizePolicy().hasHeightForWidth()); |
| 78 |
|
✗ |
playPauseButton->setSizePolicy(sizePolicy1); |
| 79 |
|
✗ |
playPauseButton->setMinimumSize(QSize(32, 32)); |
| 80 |
|
✗ |
playPauseButton->setBaseSize(QSize(32, 32)); |
| 81 |
|
✗ |
QIcon icon1; |
| 82 |
|
✗ |
icon1.addFile(QString::fromUtf8(":/icons/play.png"), QSize(), QIcon::Normal, QIcon::Off); |
| 83 |
|
✗ |
icon1.addFile(QString::fromUtf8(":/icons/pause.png"), QSize(), QIcon::Normal, QIcon::On); |
| 84 |
|
✗ |
playPauseButton->setIcon(icon1); |
| 85 |
|
✗ |
playPauseButton->setCheckable(true); |
| 86 |
|
✗ |
playPauseButton->setChecked(false); |
| 87 |
|
✗ |
playPauseButton->setFlat(false); |
| 88 |
|
|
|
| 89 |
|
✗ |
horizontalLayout->addWidget(playPauseButton); |
| 90 |
|
|
|
| 91 |
|
✗ |
stopButton = new QPushButton(PathPlayerWidget); |
| 92 |
|
✗ |
stopButton->setObjectName(QString::fromUtf8("stopButton")); |
| 93 |
|
✗ |
sizePolicy1.setHeightForWidth(stopButton->sizePolicy().hasHeightForWidth()); |
| 94 |
|
✗ |
stopButton->setSizePolicy(sizePolicy1); |
| 95 |
|
✗ |
stopButton->setBaseSize(QSize(32, 32)); |
| 96 |
|
✗ |
QIcon icon2; |
| 97 |
|
✗ |
icon2.addFile(QString::fromUtf8(":/icons/stop.png"), QSize(), QIcon::Normal, QIcon::Off); |
| 98 |
|
✗ |
stopButton->setIcon(icon2); |
| 99 |
|
|
|
| 100 |
|
✗ |
horizontalLayout->addWidget(stopButton); |
| 101 |
|
|
|
| 102 |
|
✗ |
timeSpinBox = new QDoubleSpinBox(PathPlayerWidget); |
| 103 |
|
✗ |
timeSpinBox->setObjectName(QString::fromUtf8("timeSpinBox")); |
| 104 |
|
✗ |
sizePolicy.setHeightForWidth(timeSpinBox->sizePolicy().hasHeightForWidth()); |
| 105 |
|
✗ |
timeSpinBox->setSizePolicy(sizePolicy); |
| 106 |
|
✗ |
timeSpinBox->setValue(10.000000000000000); |
| 107 |
|
✗ |
timeSpinBox->setMaximum(9999.000000000000000); |
| 108 |
|
|
|
| 109 |
|
✗ |
horizontalLayout->addWidget(timeSpinBox); |
| 110 |
|
|
|
| 111 |
|
✗ |
pathSlider = new QSlider(PathPlayerWidget); |
| 112 |
|
✗ |
pathSlider->setObjectName(QString::fromUtf8("pathSlider")); |
| 113 |
|
✗ |
pathSlider->setEnabled(false); |
| 114 |
|
✗ |
pathSlider->setMaximum(99999); |
| 115 |
|
✗ |
pathSlider->setOrientation(Qt::Horizontal); |
| 116 |
|
|
|
| 117 |
|
✗ |
horizontalLayout->addWidget(pathSlider); |
| 118 |
|
|
|
| 119 |
|
|
|
| 120 |
|
✗ |
retranslateUi(PathPlayerWidget); |
| 121 |
|
|
|
| 122 |
|
✗ |
playPauseButton->setDefault(false); |
| 123 |
|
|
|
| 124 |
|
|
|
| 125 |
|
✗ |
QMetaObject::connectSlotsByName(PathPlayerWidget); |
| 126 |
|
✗ |
} // setupUi |
| 127 |
|
|
|
| 128 |
|
✗ |
void retranslateUi(QWidget *PathPlayerWidget) |
| 129 |
|
|
{ |
| 130 |
|
✗ |
PathPlayerWidget->setWindowTitle(QCoreApplication::translate("PathPlayerWidget", "Path player", nullptr)); |
| 131 |
|
✗ |
refreshButton_path->setText(QString()); |
| 132 |
|
|
#if QT_CONFIG(tooltip) |
| 133 |
|
✗ |
pathIndexSpin->setToolTip(QCoreApplication::translate("PathPlayerWidget", "Path index", nullptr)); |
| 134 |
|
|
#endif // QT_CONFIG(tooltip) |
| 135 |
|
✗ |
pathIndexSpin->setPrefix(QString()); |
| 136 |
|
|
#if QT_CONFIG(tooltip) |
| 137 |
|
✗ |
playPauseButton->setToolTip(QCoreApplication::translate("PathPlayerWidget", "Play/pause", nullptr)); |
| 138 |
|
|
#endif // QT_CONFIG(tooltip) |
| 139 |
|
✗ |
playPauseButton->setText(QString()); |
| 140 |
|
|
#if QT_CONFIG(tooltip) |
| 141 |
|
✗ |
stopButton->setToolTip(QCoreApplication::translate("PathPlayerWidget", "Stop", nullptr)); |
| 142 |
|
|
#endif // QT_CONFIG(tooltip) |
| 143 |
|
✗ |
stopButton->setText(QString()); |
| 144 |
|
|
#if QT_CONFIG(tooltip) |
| 145 |
|
✗ |
timeSpinBox->setToolTip(QCoreApplication::translate("PathPlayerWidget", "Total time", nullptr)); |
| 146 |
|
|
#endif // QT_CONFIG(tooltip) |
| 147 |
|
✗ |
} // retranslateUi |
| 148 |
|
|
|
| 149 |
|
|
}; |
| 150 |
|
|
|
| 151 |
|
|
namespace Ui { |
| 152 |
|
|
class PathPlayerWidget: public Ui_PathPlayerWidget {}; |
| 153 |
|
|
} // namespace Ui |
| 154 |
|
|
|
| 155 |
|
|
QT_END_NAMESPACE |
| 156 |
|
|
|
| 157 |
|
|
#endif // UI_PATHPLAYERWIDGET_H |
| 158 |
|
|
|