9 #ifndef UI_PERSISTENCEMENU_H 10 #define UI_PERSISTENCEMENU_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QDialog> 15 #include <QtWidgets/QDialogButtonBox> 16 #include <QtWidgets/QDoubleSpinBox> 17 #include <QtWidgets/QGridLayout> 18 #include <QtWidgets/QLabel> 19 #include <QtWidgets/QSpinBox> 20 #include <QtWidgets/QVBoxLayout> 21 #include <QtWidgets/QWidget> 25 class Ui_PersistenceMenu
29 QVBoxLayout *verticalLayout;
30 QGridLayout *gridLayout;
33 QSpinBox *maxdimension_spinBox;
35 QDoubleSpinBox *threshold_doubleSpinBox;
37 QDoubleSpinBox *minpersistence_doubleSpinBox;
39 QDialogButtonBox *buttonBox;
41 void setupUi(QDialog *PersistenceMenu)
43 if (PersistenceMenu->objectName().isEmpty())
44 PersistenceMenu->setObjectName(QString::fromUtf8(
"PersistenceMenu"));
45 PersistenceMenu->resize(354, 275);
46 widget =
new QWidget(PersistenceMenu);
47 widget->setObjectName(QString::fromUtf8(
"widget"));
48 widget->setGeometry(QRect(20, 23, 318, 226));
49 verticalLayout =
new QVBoxLayout(widget);
50 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
51 verticalLayout->setContentsMargins(0, 0, 0, 0);
52 gridLayout =
new QGridLayout();
53 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
54 p_spinBox =
new QSpinBox(widget);
55 p_spinBox->setObjectName(QString::fromUtf8(
"p_spinBox"));
56 p_spinBox->setMinimum(2);
57 p_spinBox->setValue(2);
59 gridLayout->addWidget(p_spinBox, 0, 0, 1, 1);
61 label =
new QLabel(widget);
62 label->setObjectName(QString::fromUtf8(
"label"));
64 gridLayout->addWidget(label, 0, 1, 1, 1);
66 maxdimension_spinBox =
new QSpinBox(widget);
67 maxdimension_spinBox->setObjectName(QString::fromUtf8(
"maxdimension_spinBox"));
68 maxdimension_spinBox->setMaximum(9999);
69 maxdimension_spinBox->setValue(10);
71 gridLayout->addWidget(maxdimension_spinBox, 1, 0, 1, 1);
73 label_4 =
new QLabel(widget);
74 label_4->setObjectName(QString::fromUtf8(
"label_4"));
76 gridLayout->addWidget(label_4, 1, 1, 1, 1);
78 threshold_doubleSpinBox =
new QDoubleSpinBox(widget);
79 threshold_doubleSpinBox->setObjectName(QString::fromUtf8(
"threshold_doubleSpinBox"));
80 threshold_doubleSpinBox->setMaximum(9999.000000000000000);
81 threshold_doubleSpinBox->setValue(1.000000000000000);
83 gridLayout->addWidget(threshold_doubleSpinBox, 2, 0, 1, 1);
85 label_2 =
new QLabel(widget);
86 label_2->setObjectName(QString::fromUtf8(
"label_2"));
88 gridLayout->addWidget(label_2, 2, 1, 1, 1);
90 minpersistence_doubleSpinBox =
new QDoubleSpinBox(widget);
91 minpersistence_doubleSpinBox->setObjectName(QString::fromUtf8(
"minpersistence_doubleSpinBox"));
93 gridLayout->addWidget(minpersistence_doubleSpinBox, 3, 0, 1, 1);
95 label_3 =
new QLabel(widget);
96 label_3->setObjectName(QString::fromUtf8(
"label_3"));
98 gridLayout->addWidget(label_3, 3, 1, 1, 1);
101 verticalLayout->addLayout(gridLayout);
103 buttonBox =
new QDialogButtonBox(widget);
104 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
105 buttonBox->setOrientation(Qt::Horizontal);
106 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
108 verticalLayout->addWidget(buttonBox);
111 retranslateUi(PersistenceMenu);
112 QObject::connect(buttonBox, SIGNAL(accepted()), PersistenceMenu, SLOT(accept()));
113 QObject::connect(buttonBox, SIGNAL(rejected()), PersistenceMenu, SLOT(reject()));
115 QMetaObject::connectSlotsByName(PersistenceMenu);
118 void retranslateUi(QDialog *PersistenceMenu)
120 PersistenceMenu->setWindowTitle(QCoreApplication::translate(
"PersistenceMenu",
"Point cloud persistence",
nullptr));
121 label->setText(QCoreApplication::translate(
"PersistenceMenu",
"Coefficient Z/pZ",
nullptr));
122 label_4->setText(QCoreApplication::translate(
"PersistenceMenu",
"Max dimension",
nullptr));
123 label_2->setText(QCoreApplication::translate(
"PersistenceMenu",
"Max Rips offset",
nullptr));
124 label_3->setText(QCoreApplication::translate(
"PersistenceMenu",
"Minimum Persistence",
nullptr));
130 class PersistenceMenu:
public Ui_PersistenceMenu {};
135 #endif // UI_PERSISTENCEMENU_H Definition: ui_KNearestNeighborsMenu.h:122