ui_labelingDlg.h 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'labelingDlg.ui'
  3. **
  4. ** Created by: Qt User Interface Compiler version 5.15.10
  5. **
  6. ** WARNING! All changes made in this file will be lost when recompiling UI file!
  7. ********************************************************************************/
  8. #ifndef UI_LABELINGDLG_H
  9. #define UI_LABELINGDLG_H
  10. #include <QtCore/QVariant>
  11. #include <QtWidgets/QApplication>
  12. #include <QtWidgets/QCheckBox>
  13. #include <QtWidgets/QDialog>
  14. #include <QtWidgets/QDialogButtonBox>
  15. #include <QtWidgets/QFormLayout>
  16. #include <QtWidgets/QLabel>
  17. #include <QtWidgets/QSpacerItem>
  18. #include <QtWidgets/QSpinBox>
  19. #include <QtWidgets/QVBoxLayout>
  20. #include <ccOctreeSpinBox.h>
  21. QT_BEGIN_NAMESPACE
  22. class Ui_LabelingDialog
  23. {
  24. public:
  25. QVBoxLayout *verticalLayout;
  26. QFormLayout *formLayout;
  27. QLabel *label;
  28. ccOctreeSpinBox *octreeLevelSpinBox;
  29. QLabel *label_2;
  30. QSpinBox *minPtsSpinBox;
  31. QCheckBox *randomColorsCheckBox;
  32. QSpacerItem *verticalSpacer;
  33. QDialogButtonBox *buttonBox;
  34. void setupUi(QDialog *LabelingDialog)
  35. {
  36. if (LabelingDialog->objectName().isEmpty())
  37. LabelingDialog->setObjectName(QString::fromUtf8("LabelingDialog"));
  38. LabelingDialog->resize(330, 160);
  39. QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
  40. sizePolicy.setHorizontalStretch(0);
  41. sizePolicy.setVerticalStretch(0);
  42. sizePolicy.setHeightForWidth(LabelingDialog->sizePolicy().hasHeightForWidth());
  43. LabelingDialog->setSizePolicy(sizePolicy);
  44. verticalLayout = new QVBoxLayout(LabelingDialog);
  45. verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
  46. formLayout = new QFormLayout();
  47. formLayout->setObjectName(QString::fromUtf8("formLayout"));
  48. label = new QLabel(LabelingDialog);
  49. label->setObjectName(QString::fromUtf8("label"));
  50. formLayout->setWidget(0, QFormLayout::LabelRole, label);
  51. octreeLevelSpinBox = new ccOctreeSpinBox(LabelingDialog);
  52. octreeLevelSpinBox->setObjectName(QString::fromUtf8("octreeLevelSpinBox"));
  53. octreeLevelSpinBox->setMinimumSize(QSize(0, 25));
  54. octreeLevelSpinBox->setMinimum(1);
  55. octreeLevelSpinBox->setMaximum(10);
  56. octreeLevelSpinBox->setValue(8);
  57. formLayout->setWidget(0, QFormLayout::FieldRole, octreeLevelSpinBox);
  58. label_2 = new QLabel(LabelingDialog);
  59. label_2->setObjectName(QString::fromUtf8("label_2"));
  60. formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
  61. minPtsSpinBox = new QSpinBox(LabelingDialog);
  62. minPtsSpinBox->setObjectName(QString::fromUtf8("minPtsSpinBox"));
  63. minPtsSpinBox->setMinimumSize(QSize(0, 25));
  64. minPtsSpinBox->setMinimum(0);
  65. minPtsSpinBox->setMaximum(1000000);
  66. minPtsSpinBox->setSingleStep(10);
  67. minPtsSpinBox->setValue(10);
  68. formLayout->setWidget(1, QFormLayout::FieldRole, minPtsSpinBox);
  69. verticalLayout->addLayout(formLayout);
  70. randomColorsCheckBox = new QCheckBox(LabelingDialog);
  71. randomColorsCheckBox->setObjectName(QString::fromUtf8("randomColorsCheckBox"));
  72. verticalLayout->addWidget(randomColorsCheckBox);
  73. verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
  74. verticalLayout->addItem(verticalSpacer);
  75. buttonBox = new QDialogButtonBox(LabelingDialog);
  76. buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
  77. buttonBox->setOrientation(Qt::Horizontal);
  78. buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
  79. verticalLayout->addWidget(buttonBox);
  80. retranslateUi(LabelingDialog);
  81. QObject::connect(buttonBox, SIGNAL(accepted()), LabelingDialog, SLOT(accept()));
  82. QObject::connect(buttonBox, SIGNAL(rejected()), LabelingDialog, SLOT(reject()));
  83. QMetaObject::connectSlotsByName(LabelingDialog);
  84. } // setupUi
  85. void retranslateUi(QDialog *LabelingDialog)
  86. {
  87. LabelingDialog->setWindowTitle(QCoreApplication::translate("LabelingDialog", "Connected Components", nullptr));
  88. #if QT_CONFIG(tooltip)
  89. label->setToolTip(QCoreApplication::translate("LabelingDialog", "Grid subdivision level: the greater, the finest", nullptr));
  90. #endif // QT_CONFIG(tooltip)
  91. label->setText(QCoreApplication::translate("LabelingDialog", "Octree Level", nullptr));
  92. #if QT_CONFIG(tooltip)
  93. label_2->setToolTip(QCoreApplication::translate("LabelingDialog", "Minimum number of points per component", nullptr));
  94. #endif // QT_CONFIG(tooltip)
  95. label_2->setText(QCoreApplication::translate("LabelingDialog", "Min. points per component", nullptr));
  96. randomColorsCheckBox->setText(QCoreApplication::translate("LabelingDialog", "random colors (warning: overwrites existing ones)", nullptr));
  97. } // retranslateUi
  98. };
  99. namespace Ui {
  100. class LabelingDialog: public Ui_LabelingDialog {};
  101. } // namespace Ui
  102. QT_END_NAMESPACE
  103. #endif // UI_LABELINGDLG_H