238 lines
10 KiB
C++
238 lines
10 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'ViewerSettingsPanel.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 5.15.3
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef UI_VIEWERSETTINGSPANEL_H
|
|
#define UI_VIEWERSETTINGSPANEL_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtGui/QIcon>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QFormLayout>
|
|
#include <QtWidgets/QGridLayout>
|
|
#include <QtWidgets/QGroupBox>
|
|
#include <QtWidgets/QHBoxLayout>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QProgressBar>
|
|
#include <QtWidgets/QSlider>
|
|
#include <QtWidgets/QSpinBox>
|
|
#include <QtWidgets/QToolButton>
|
|
#include <QtWidgets/QVBoxLayout>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_ViewerSettingsPanelClass
|
|
{
|
|
public:
|
|
QVBoxLayout *verticalLayout_2;
|
|
QGroupBox *groupBox_2;
|
|
QVBoxLayout *verticalLayout_3;
|
|
QGridLayout *gridLayout;
|
|
QSpinBox *treeDepth;
|
|
QSlider *treeDepthSlider;
|
|
QFormLayout *formLayout;
|
|
QLabel *leafSizeLabel;
|
|
QLabel *leafSize;
|
|
QGroupBox *groupBox;
|
|
QVBoxLayout *verticalLayout_5;
|
|
QHBoxLayout *horizontalLayout;
|
|
QToolButton *firstScanButton;
|
|
QToolButton *nextScanButton;
|
|
QToolButton *fastFwdScanButton;
|
|
QToolButton *lastScanButton;
|
|
QVBoxLayout *verticalLayout_4;
|
|
QProgressBar *scanProgressBar;
|
|
|
|
void setupUi(QWidget *ViewerSettingsPanelClass)
|
|
{
|
|
if (ViewerSettingsPanelClass->objectName().isEmpty())
|
|
ViewerSettingsPanelClass->setObjectName(QString::fromUtf8("ViewerSettingsPanelClass"));
|
|
ViewerSettingsPanelClass->resize(347, 479);
|
|
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
|
|
sizePolicy.setHorizontalStretch(0);
|
|
sizePolicy.setVerticalStretch(0);
|
|
sizePolicy.setHeightForWidth(ViewerSettingsPanelClass->sizePolicy().hasHeightForWidth());
|
|
ViewerSettingsPanelClass->setSizePolicy(sizePolicy);
|
|
verticalLayout_2 = new QVBoxLayout(ViewerSettingsPanelClass);
|
|
verticalLayout_2->setSpacing(6);
|
|
verticalLayout_2->setContentsMargins(11, 11, 11, 11);
|
|
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
|
|
groupBox_2 = new QGroupBox(ViewerSettingsPanelClass);
|
|
groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
|
|
QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::MinimumExpanding);
|
|
sizePolicy1.setHorizontalStretch(0);
|
|
sizePolicy1.setVerticalStretch(0);
|
|
sizePolicy1.setHeightForWidth(groupBox_2->sizePolicy().hasHeightForWidth());
|
|
groupBox_2->setSizePolicy(sizePolicy1);
|
|
groupBox_2->setAlignment(Qt::AlignHCenter|Qt::AlignTop);
|
|
groupBox_2->setFlat(false);
|
|
groupBox_2->setCheckable(false);
|
|
verticalLayout_3 = new QVBoxLayout(groupBox_2);
|
|
verticalLayout_3->setSpacing(6);
|
|
verticalLayout_3->setContentsMargins(11, 11, 11, 11);
|
|
verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
|
|
gridLayout = new QGridLayout();
|
|
gridLayout->setSpacing(6);
|
|
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
|
treeDepth = new QSpinBox(groupBox_2);
|
|
treeDepth->setObjectName(QString::fromUtf8("treeDepth"));
|
|
treeDepth->setMinimumSize(QSize(4, 0));
|
|
treeDepth->setMaximumSize(QSize(16777196, 16777215));
|
|
treeDepth->setReadOnly(false);
|
|
treeDepth->setButtonSymbols(QAbstractSpinBox::NoButtons);
|
|
treeDepth->setMinimum(1);
|
|
treeDepth->setMaximum(16);
|
|
treeDepth->setValue(16);
|
|
|
|
gridLayout->addWidget(treeDepth, 0, 0, 1, 1);
|
|
|
|
treeDepthSlider = new QSlider(groupBox_2);
|
|
treeDepthSlider->setObjectName(QString::fromUtf8("treeDepthSlider"));
|
|
treeDepthSlider->setMinimumSize(QSize(0, 75));
|
|
treeDepthSlider->setMaximumSize(QSize(16777215, 500));
|
|
treeDepthSlider->setMinimum(1);
|
|
treeDepthSlider->setMaximum(16);
|
|
treeDepthSlider->setPageStep(1);
|
|
treeDepthSlider->setValue(16);
|
|
treeDepthSlider->setOrientation(Qt::Vertical);
|
|
treeDepthSlider->setInvertedAppearance(true);
|
|
treeDepthSlider->setInvertedControls(true);
|
|
treeDepthSlider->setTickPosition(QSlider::TicksBothSides);
|
|
treeDepthSlider->setTickInterval(1);
|
|
|
|
gridLayout->addWidget(treeDepthSlider, 1, 0, 1, 1);
|
|
|
|
|
|
verticalLayout_3->addLayout(gridLayout);
|
|
|
|
formLayout = new QFormLayout();
|
|
formLayout->setSpacing(6);
|
|
formLayout->setObjectName(QString::fromUtf8("formLayout"));
|
|
formLayout->setSizeConstraint(QLayout::SetMinimumSize);
|
|
leafSizeLabel = new QLabel(groupBox_2);
|
|
leafSizeLabel->setObjectName(QString::fromUtf8("leafSizeLabel"));
|
|
|
|
formLayout->setWidget(0, QFormLayout::LabelRole, leafSizeLabel);
|
|
|
|
leafSize = new QLabel(groupBox_2);
|
|
leafSize->setObjectName(QString::fromUtf8("leafSize"));
|
|
leafSize->setTextFormat(Qt::PlainText);
|
|
|
|
formLayout->setWidget(0, QFormLayout::FieldRole, leafSize);
|
|
|
|
|
|
verticalLayout_3->addLayout(formLayout);
|
|
|
|
|
|
verticalLayout_2->addWidget(groupBox_2);
|
|
|
|
groupBox = new QGroupBox(ViewerSettingsPanelClass);
|
|
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
|
verticalLayout_5 = new QVBoxLayout(groupBox);
|
|
verticalLayout_5->setSpacing(6);
|
|
verticalLayout_5->setContentsMargins(11, 11, 11, 11);
|
|
verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
|
|
horizontalLayout = new QHBoxLayout();
|
|
horizontalLayout->setSpacing(6);
|
|
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
|
firstScanButton = new QToolButton(groupBox);
|
|
firstScanButton->setObjectName(QString::fromUtf8("firstScanButton"));
|
|
QIcon icon;
|
|
icon.addFile(QString::fromUtf8(":/icons/media-skip-backward.png"), QSize(), QIcon::Normal, QIcon::Off);
|
|
firstScanButton->setIcon(icon);
|
|
|
|
horizontalLayout->addWidget(firstScanButton);
|
|
|
|
nextScanButton = new QToolButton(groupBox);
|
|
nextScanButton->setObjectName(QString::fromUtf8("nextScanButton"));
|
|
QIcon icon1;
|
|
icon1.addFile(QString::fromUtf8(":/icons/media-playback-start.png"), QSize(), QIcon::Normal, QIcon::Off);
|
|
nextScanButton->setIcon(icon1);
|
|
|
|
horizontalLayout->addWidget(nextScanButton);
|
|
|
|
fastFwdScanButton = new QToolButton(groupBox);
|
|
fastFwdScanButton->setObjectName(QString::fromUtf8("fastFwdScanButton"));
|
|
QIcon icon2;
|
|
icon2.addFile(QString::fromUtf8(":/icons/media-seek-forward.png"), QSize(), QIcon::Normal, QIcon::Off);
|
|
fastFwdScanButton->setIcon(icon2);
|
|
|
|
horizontalLayout->addWidget(fastFwdScanButton);
|
|
|
|
lastScanButton = new QToolButton(groupBox);
|
|
lastScanButton->setObjectName(QString::fromUtf8("lastScanButton"));
|
|
QIcon icon3;
|
|
icon3.addFile(QString::fromUtf8(":/icons/media-skip-forward.png"), QSize(), QIcon::Normal, QIcon::Off);
|
|
lastScanButton->setIcon(icon3);
|
|
|
|
horizontalLayout->addWidget(lastScanButton);
|
|
|
|
|
|
verticalLayout_5->addLayout(horizontalLayout);
|
|
|
|
verticalLayout_4 = new QVBoxLayout();
|
|
verticalLayout_4->setSpacing(6);
|
|
verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
|
|
scanProgressBar = new QProgressBar(groupBox);
|
|
scanProgressBar->setObjectName(QString::fromUtf8("scanProgressBar"));
|
|
scanProgressBar->setValue(24);
|
|
scanProgressBar->setTextVisible(true);
|
|
scanProgressBar->setInvertedAppearance(false);
|
|
|
|
verticalLayout_4->addWidget(scanProgressBar);
|
|
|
|
|
|
verticalLayout_5->addLayout(verticalLayout_4);
|
|
|
|
|
|
verticalLayout_2->addWidget(groupBox);
|
|
|
|
|
|
retranslateUi(ViewerSettingsPanelClass);
|
|
QObject::connect(treeDepthSlider, SIGNAL(sliderMoved(int)), treeDepth, SLOT(setValue(int)));
|
|
QObject::connect(treeDepth, SIGNAL(valueChanged(int)), treeDepthSlider, SLOT(setValue(int)));
|
|
|
|
QMetaObject::connectSlotsByName(ViewerSettingsPanelClass);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QWidget *ViewerSettingsPanelClass)
|
|
{
|
|
ViewerSettingsPanelClass->setWindowTitle(QCoreApplication::translate("ViewerSettingsPanelClass", "ViewerSettingsPanel", nullptr));
|
|
groupBox_2->setTitle(QCoreApplication::translate("ViewerSettingsPanelClass", "Tree depth cutoff", nullptr));
|
|
leafSizeLabel->setText(QCoreApplication::translate("ViewerSettingsPanelClass", "Leaf size:", nullptr));
|
|
leafSize->setText(QCoreApplication::translate("ViewerSettingsPanelClass", "0 m", nullptr));
|
|
groupBox->setTitle(QCoreApplication::translate("ViewerSettingsPanelClass", "Scan graph progress", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
firstScanButton->setToolTip(QCoreApplication::translate("ViewerSettingsPanelClass", "first scan", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
firstScanButton->setText(QCoreApplication::translate("ViewerSettingsPanelClass", "first scan", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
nextScanButton->setToolTip(QCoreApplication::translate("ViewerSettingsPanelClass", "next scan", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
nextScanButton->setText(QCoreApplication::translate("ViewerSettingsPanelClass", "next scan", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
fastFwdScanButton->setToolTip(QCoreApplication::translate("ViewerSettingsPanelClass", "next 5 scans", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
fastFwdScanButton->setText(QCoreApplication::translate("ViewerSettingsPanelClass", "next 5 scans", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
lastScanButton->setToolTip(QCoreApplication::translate("ViewerSettingsPanelClass", "last scan", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
lastScanButton->setText(QCoreApplication::translate("ViewerSettingsPanelClass", "last scan", nullptr));
|
|
scanProgressBar->setFormat(QCoreApplication::translate("ViewerSettingsPanelClass", "%v/%m", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class ViewerSettingsPanelClass: public Ui_ViewerSettingsPanelClass {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_VIEWERSETTINGSPANEL_H
|