ui_ptsSamplingDlg.h 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'ptsSamplingDlg.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_PTSSAMPLINGDLG_H
  9. #define UI_PTSSAMPLINGDLG_H
  10. #include <QtCore/QVariant>
  11. #include <QtWidgets/QApplication>
  12. #include <QtWidgets/QCheckBox>
  13. #include <QtWidgets/QDialog>
  14. #include <QtWidgets/QDialogButtonBox>
  15. #include <QtWidgets/QDoubleSpinBox>
  16. #include <QtWidgets/QFrame>
  17. #include <QtWidgets/QGridLayout>
  18. #include <QtWidgets/QHBoxLayout>
  19. #include <QtWidgets/QLabel>
  20. #include <QtWidgets/QRadioButton>
  21. #include <QtWidgets/QSpacerItem>
  22. #include <QtWidgets/QSpinBox>
  23. #include <QtWidgets/QVBoxLayout>
  24. QT_BEGIN_NAMESPACE
  25. class Ui_PointsSamplingDialog
  26. {
  27. public:
  28. QVBoxLayout *verticalLayout;
  29. QFrame *parametersFrame;
  30. QGridLayout *gridLayout;
  31. QRadioButton *pnRadioButton;
  32. QRadioButton *dRadioButton;
  33. QSpinBox *pnSpinBox;
  34. QDoubleSpinBox *dDoubleSpinBox;
  35. QFrame *optionsFrame;
  36. QVBoxLayout *verticalLayout_2;
  37. QCheckBox *normalsCheckBox;
  38. QHBoxLayout *horizontalLayout;
  39. QLabel *label;
  40. QCheckBox *colorsCheckBox;
  41. QCheckBox *textureCheckBox;
  42. QSpacerItem *horizontalSpacer;
  43. QSpacerItem *verticalSpacer;
  44. QDialogButtonBox *buttonBox;
  45. void setupUi(QDialog *PointsSamplingDialog)
  46. {
  47. if (PointsSamplingDialog->objectName().isEmpty())
  48. PointsSamplingDialog->setObjectName(QString::fromUtf8("PointsSamplingDialog"));
  49. PointsSamplingDialog->resize(400, 160);
  50. verticalLayout = new QVBoxLayout(PointsSamplingDialog);
  51. verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
  52. parametersFrame = new QFrame(PointsSamplingDialog);
  53. parametersFrame->setObjectName(QString::fromUtf8("parametersFrame"));
  54. QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum);
  55. sizePolicy.setHorizontalStretch(0);
  56. sizePolicy.setVerticalStretch(0);
  57. sizePolicy.setHeightForWidth(parametersFrame->sizePolicy().hasHeightForWidth());
  58. parametersFrame->setSizePolicy(sizePolicy);
  59. gridLayout = new QGridLayout(parametersFrame);
  60. gridLayout->setContentsMargins(0, 0, 0, 0);
  61. gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
  62. pnRadioButton = new QRadioButton(parametersFrame);
  63. pnRadioButton->setObjectName(QString::fromUtf8("pnRadioButton"));
  64. pnRadioButton->setChecked(true);
  65. gridLayout->addWidget(pnRadioButton, 0, 0, 1, 1);
  66. dRadioButton = new QRadioButton(parametersFrame);
  67. dRadioButton->setObjectName(QString::fromUtf8("dRadioButton"));
  68. gridLayout->addWidget(dRadioButton, 0, 1, 1, 1);
  69. pnSpinBox = new QSpinBox(parametersFrame);
  70. pnSpinBox->setObjectName(QString::fromUtf8("pnSpinBox"));
  71. pnSpinBox->setMinimum(1);
  72. pnSpinBox->setMaximum(100000000);
  73. pnSpinBox->setSingleStep(10000);
  74. pnSpinBox->setValue(1000000);
  75. gridLayout->addWidget(pnSpinBox, 1, 0, 1, 1);
  76. dDoubleSpinBox = new QDoubleSpinBox(parametersFrame);
  77. dDoubleSpinBox->setObjectName(QString::fromUtf8("dDoubleSpinBox"));
  78. dDoubleSpinBox->setEnabled(false);
  79. dDoubleSpinBox->setDecimals(6);
  80. dDoubleSpinBox->setMinimum(0.000001000000000);
  81. dDoubleSpinBox->setMaximum(100000000.000000000000000);
  82. dDoubleSpinBox->setValue(10.000000000000000);
  83. gridLayout->addWidget(dDoubleSpinBox, 1, 1, 1, 1);
  84. verticalLayout->addWidget(parametersFrame);
  85. optionsFrame = new QFrame(PointsSamplingDialog);
  86. optionsFrame->setObjectName(QString::fromUtf8("optionsFrame"));
  87. optionsFrame->setFrameShape(QFrame::StyledPanel);
  88. optionsFrame->setFrameShadow(QFrame::Raised);
  89. verticalLayout_2 = new QVBoxLayout(optionsFrame);
  90. verticalLayout_2->setContentsMargins(0, 0, 0, 0);
  91. verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
  92. normalsCheckBox = new QCheckBox(optionsFrame);
  93. normalsCheckBox->setObjectName(QString::fromUtf8("normalsCheckBox"));
  94. normalsCheckBox->setChecked(true);
  95. verticalLayout_2->addWidget(normalsCheckBox);
  96. horizontalLayout = new QHBoxLayout();
  97. horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
  98. label = new QLabel(optionsFrame);
  99. label->setObjectName(QString::fromUtf8("label"));
  100. horizontalLayout->addWidget(label);
  101. colorsCheckBox = new QCheckBox(optionsFrame);
  102. colorsCheckBox->setObjectName(QString::fromUtf8("colorsCheckBox"));
  103. colorsCheckBox->setChecked(true);
  104. horizontalLayout->addWidget(colorsCheckBox);
  105. textureCheckBox = new QCheckBox(optionsFrame);
  106. textureCheckBox->setObjectName(QString::fromUtf8("textureCheckBox"));
  107. textureCheckBox->setChecked(true);
  108. horizontalLayout->addWidget(textureCheckBox);
  109. horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  110. horizontalLayout->addItem(horizontalSpacer);
  111. verticalLayout_2->addLayout(horizontalLayout);
  112. verticalLayout->addWidget(optionsFrame);
  113. verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
  114. verticalLayout->addItem(verticalSpacer);
  115. buttonBox = new QDialogButtonBox(PointsSamplingDialog);
  116. buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
  117. buttonBox->setOrientation(Qt::Horizontal);
  118. buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
  119. verticalLayout->addWidget(buttonBox);
  120. retranslateUi(PointsSamplingDialog);
  121. QObject::connect(buttonBox, SIGNAL(accepted()), PointsSamplingDialog, SLOT(accept()));
  122. QObject::connect(buttonBox, SIGNAL(rejected()), PointsSamplingDialog, SLOT(reject()));
  123. QObject::connect(dRadioButton, SIGNAL(toggled(bool)), dDoubleSpinBox, SLOT(setEnabled(bool)));
  124. QObject::connect(pnRadioButton, SIGNAL(toggled(bool)), pnSpinBox, SLOT(setEnabled(bool)));
  125. QMetaObject::connectSlotsByName(PointsSamplingDialog);
  126. } // setupUi
  127. void retranslateUi(QDialog *PointsSamplingDialog)
  128. {
  129. PointsSamplingDialog->setWindowTitle(QCoreApplication::translate("PointsSamplingDialog", "Points Sampling on mesh", nullptr));
  130. #if QT_CONFIG(tooltip)
  131. pnRadioButton->setToolTip(QCoreApplication::translate("PointsSamplingDialog", "Total number of sampled points (approx.)", nullptr));
  132. #endif // QT_CONFIG(tooltip)
  133. pnRadioButton->setText(QCoreApplication::translate("PointsSamplingDialog", "Points Number", nullptr));
  134. #if QT_CONFIG(tooltip)
  135. dRadioButton->setToolTip(QCoreApplication::translate("PointsSamplingDialog", "Density: pts/square unit", nullptr));
  136. #endif // QT_CONFIG(tooltip)
  137. dRadioButton->setText(QCoreApplication::translate("PointsSamplingDialog", "Density", nullptr));
  138. #if QT_CONFIG(tooltip)
  139. pnSpinBox->setToolTip(QCoreApplication::translate("PointsSamplingDialog", "Total number of sampled points (approx.)", nullptr));
  140. #endif // QT_CONFIG(tooltip)
  141. #if QT_CONFIG(tooltip)
  142. dDoubleSpinBox->setToolTip(QCoreApplication::translate("PointsSamplingDialog", "Density: pts/square unit", nullptr));
  143. #endif // QT_CONFIG(tooltip)
  144. normalsCheckBox->setText(QCoreApplication::translate("PointsSamplingDialog", "generate normals", nullptr));
  145. label->setText(QCoreApplication::translate("PointsSamplingDialog", "get colors", nullptr));
  146. colorsCheckBox->setText(QCoreApplication::translate("PointsSamplingDialog", "from RGB", nullptr));
  147. textureCheckBox->setText(QCoreApplication::translate("PointsSamplingDialog", "or from material/texture if available", nullptr));
  148. } // retranslateUi
  149. };
  150. namespace Ui {
  151. class PointsSamplingDialog: public Ui_PointsSamplingDialog {};
  152. } // namespace Ui
  153. QT_END_NAMESPACE
  154. #endif // UI_PTSSAMPLINGDLG_H