ui_interpolationDlg.h 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'interpolationDlg.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_INTERPOLATIONDLG_H
  9. #define UI_INTERPOLATIONDLG_H
  10. #include <QtCore/QVariant>
  11. #include <QtWidgets/QApplication>
  12. #include <QtWidgets/QDialog>
  13. #include <QtWidgets/QDialogButtonBox>
  14. #include <QtWidgets/QDoubleSpinBox>
  15. #include <QtWidgets/QFrame>
  16. #include <QtWidgets/QGridLayout>
  17. #include <QtWidgets/QGroupBox>
  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_InterpolationDlg
  26. {
  27. public:
  28. QVBoxLayout *verticalLayout;
  29. QGroupBox *groupBox;
  30. QGridLayout *gridLayout;
  31. QDoubleSpinBox *radiusDoubleSpinBox;
  32. QRadioButton *radiusRadioButton;
  33. QRadioButton *nnRadioButton;
  34. QRadioButton *knnRadioButton;
  35. QSpinBox *knnSpinBox;
  36. QGroupBox *algoGroupBox;
  37. QGridLayout *gridLayout_2;
  38. QRadioButton *medianRadioButton;
  39. QRadioButton *averageRadioButton;
  40. QRadioButton *normalDistribRadioButton;
  41. QFrame *kernelFrame;
  42. QHBoxLayout *horizontalLayout;
  43. QSpacerItem *horizontalSpacer;
  44. QLabel *label;
  45. QDoubleSpinBox *kernelDoubleSpinBox;
  46. QSpacerItem *verticalSpacer;
  47. QDialogButtonBox *buttonBox;
  48. void setupUi(QDialog *InterpolationDlg)
  49. {
  50. if (InterpolationDlg->objectName().isEmpty())
  51. InterpolationDlg->setObjectName(QString::fromUtf8("InterpolationDlg"));
  52. InterpolationDlg->resize(400, 260);
  53. verticalLayout = new QVBoxLayout(InterpolationDlg);
  54. verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
  55. groupBox = new QGroupBox(InterpolationDlg);
  56. groupBox->setObjectName(QString::fromUtf8("groupBox"));
  57. gridLayout = new QGridLayout(groupBox);
  58. gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
  59. radiusDoubleSpinBox = new QDoubleSpinBox(groupBox);
  60. radiusDoubleSpinBox->setObjectName(QString::fromUtf8("radiusDoubleSpinBox"));
  61. radiusDoubleSpinBox->setDecimals(6);
  62. radiusDoubleSpinBox->setMaximum(1000000000.000000000000000);
  63. gridLayout->addWidget(radiusDoubleSpinBox, 1, 2, 1, 1);
  64. radiusRadioButton = new QRadioButton(groupBox);
  65. radiusRadioButton->setObjectName(QString::fromUtf8("radiusRadioButton"));
  66. radiusRadioButton->setChecked(true);
  67. gridLayout->addWidget(radiusRadioButton, 0, 2, 1, 1);
  68. nnRadioButton = new QRadioButton(groupBox);
  69. nnRadioButton->setObjectName(QString::fromUtf8("nnRadioButton"));
  70. gridLayout->addWidget(nnRadioButton, 0, 0, 1, 1);
  71. knnRadioButton = new QRadioButton(groupBox);
  72. knnRadioButton->setObjectName(QString::fromUtf8("knnRadioButton"));
  73. gridLayout->addWidget(knnRadioButton, 0, 1, 1, 1);
  74. knnSpinBox = new QSpinBox(groupBox);
  75. knnSpinBox->setObjectName(QString::fromUtf8("knnSpinBox"));
  76. knnSpinBox->setEnabled(false);
  77. knnSpinBox->setMinimum(3);
  78. knnSpinBox->setMaximum(1000000000);
  79. knnSpinBox->setValue(8);
  80. gridLayout->addWidget(knnSpinBox, 1, 1, 1, 1);
  81. verticalLayout->addWidget(groupBox);
  82. algoGroupBox = new QGroupBox(InterpolationDlg);
  83. algoGroupBox->setObjectName(QString::fromUtf8("algoGroupBox"));
  84. gridLayout_2 = new QGridLayout(algoGroupBox);
  85. gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
  86. medianRadioButton = new QRadioButton(algoGroupBox);
  87. medianRadioButton->setObjectName(QString::fromUtf8("medianRadioButton"));
  88. medianRadioButton->setChecked(true);
  89. gridLayout_2->addWidget(medianRadioButton, 1, 0, 1, 1);
  90. averageRadioButton = new QRadioButton(algoGroupBox);
  91. averageRadioButton->setObjectName(QString::fromUtf8("averageRadioButton"));
  92. gridLayout_2->addWidget(averageRadioButton, 0, 0, 1, 1);
  93. normalDistribRadioButton = new QRadioButton(algoGroupBox);
  94. normalDistribRadioButton->setObjectName(QString::fromUtf8("normalDistribRadioButton"));
  95. gridLayout_2->addWidget(normalDistribRadioButton, 2, 0, 1, 1);
  96. kernelFrame = new QFrame(algoGroupBox);
  97. kernelFrame->setObjectName(QString::fromUtf8("kernelFrame"));
  98. kernelFrame->setEnabled(false);
  99. QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum);
  100. sizePolicy.setHorizontalStretch(0);
  101. sizePolicy.setVerticalStretch(0);
  102. sizePolicy.setHeightForWidth(kernelFrame->sizePolicy().hasHeightForWidth());
  103. kernelFrame->setSizePolicy(sizePolicy);
  104. horizontalLayout = new QHBoxLayout(kernelFrame);
  105. horizontalLayout->setContentsMargins(0, 0, 0, 0);
  106. horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
  107. horizontalSpacer = new QSpacerItem(81, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  108. horizontalLayout->addItem(horizontalSpacer);
  109. label = new QLabel(kernelFrame);
  110. label->setObjectName(QString::fromUtf8("label"));
  111. horizontalLayout->addWidget(label);
  112. kernelDoubleSpinBox = new QDoubleSpinBox(kernelFrame);
  113. kernelDoubleSpinBox->setObjectName(QString::fromUtf8("kernelDoubleSpinBox"));
  114. kernelDoubleSpinBox->setDecimals(6);
  115. kernelDoubleSpinBox->setMaximum(1000000000.000000000000000);
  116. kernelDoubleSpinBox->setValue(1.000000000000000);
  117. horizontalLayout->addWidget(kernelDoubleSpinBox);
  118. gridLayout_2->addWidget(kernelFrame, 2, 1, 1, 1);
  119. verticalLayout->addWidget(algoGroupBox);
  120. verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
  121. verticalLayout->addItem(verticalSpacer);
  122. buttonBox = new QDialogButtonBox(InterpolationDlg);
  123. buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
  124. buttonBox->setOrientation(Qt::Horizontal);
  125. buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
  126. verticalLayout->addWidget(buttonBox);
  127. retranslateUi(InterpolationDlg);
  128. QObject::connect(buttonBox, SIGNAL(accepted()), InterpolationDlg, SLOT(accept()));
  129. QObject::connect(buttonBox, SIGNAL(rejected()), InterpolationDlg, SLOT(reject()));
  130. QObject::connect(knnRadioButton, SIGNAL(toggled(bool)), knnSpinBox, SLOT(setEnabled(bool)));
  131. QObject::connect(radiusRadioButton, SIGNAL(toggled(bool)), radiusDoubleSpinBox, SLOT(setEnabled(bool)));
  132. QObject::connect(normalDistribRadioButton, SIGNAL(toggled(bool)), kernelFrame, SLOT(setEnabled(bool)));
  133. QObject::connect(nnRadioButton, SIGNAL(toggled(bool)), algoGroupBox, SLOT(setDisabled(bool)));
  134. QMetaObject::connectSlotsByName(InterpolationDlg);
  135. } // setupUi
  136. void retranslateUi(QDialog *InterpolationDlg)
  137. {
  138. InterpolationDlg->setWindowTitle(QCoreApplication::translate("InterpolationDlg", "Interpolation", nullptr));
  139. groupBox->setTitle(QCoreApplication::translate("InterpolationDlg", "Neighbors extraction", nullptr));
  140. #if QT_CONFIG(tooltip)
  141. radiusDoubleSpinBox->setToolTip(QCoreApplication::translate("InterpolationDlg", "Radius of the sphere inside which neighbors will be extracted", nullptr));
  142. #endif // QT_CONFIG(tooltip)
  143. #if QT_CONFIG(tooltip)
  144. radiusRadioButton->setToolTip(QCoreApplication::translate("InterpolationDlg", "Extracts the neighbors inside a sphere", nullptr));
  145. #endif // QT_CONFIG(tooltip)
  146. radiusRadioButton->setText(QCoreApplication::translate("InterpolationDlg", "Radius (Sphere)", nullptr));
  147. #if QT_CONFIG(tooltip)
  148. nnRadioButton->setToolTip(QCoreApplication::translate("InterpolationDlg", "Use only the nearest neighbor (fast)", nullptr));
  149. #endif // QT_CONFIG(tooltip)
  150. nnRadioButton->setText(QCoreApplication::translate("InterpolationDlg", "Nearest neighbor", nullptr));
  151. #if QT_CONFIG(tooltip)
  152. knnRadioButton->setToolTip(QCoreApplication::translate("InterpolationDlg", "Use the 'k' nearest neighbors\n"
  153. "(faster than 'radius' based search, but more approximate)", nullptr));
  154. #endif // QT_CONFIG(tooltip)
  155. knnRadioButton->setText(QCoreApplication::translate("InterpolationDlg", "Nearest neighbors", nullptr));
  156. #if QT_CONFIG(tooltip)
  157. knnSpinBox->setToolTip(QCoreApplication::translate("InterpolationDlg", "Number of neighbors to extract", nullptr));
  158. #endif // QT_CONFIG(tooltip)
  159. algoGroupBox->setTitle(QCoreApplication::translate("InterpolationDlg", "Interpolation algorithm", nullptr));
  160. #if QT_CONFIG(tooltip)
  161. medianRadioButton->setToolTip(QCoreApplication::translate("InterpolationDlg", "Keep the median of the neighbors SF values", nullptr));
  162. #endif // QT_CONFIG(tooltip)
  163. medianRadioButton->setText(QCoreApplication::translate("InterpolationDlg", "Median", nullptr));
  164. #if QT_CONFIG(tooltip)
  165. averageRadioButton->setToolTip(QCoreApplication::translate("InterpolationDlg", "Keep the average of the neighbors SF values", nullptr));
  166. #endif // QT_CONFIG(tooltip)
  167. averageRadioButton->setText(QCoreApplication::translate("InterpolationDlg", "Average", nullptr));
  168. #if QT_CONFIG(tooltip)
  169. normalDistribRadioButton->setToolTip(QCoreApplication::translate("InterpolationDlg", "Compute a weighted average of the neighbors SF values\n"
  170. "(the weights will follow a Normal distribution)", nullptr));
  171. #endif // QT_CONFIG(tooltip)
  172. normalDistribRadioButton->setText(QCoreApplication::translate("InterpolationDlg", "Normal distribution", nullptr));
  173. label->setText(QCoreApplication::translate("InterpolationDlg", "sigma", nullptr));
  174. #if QT_CONFIG(tooltip)
  175. kernelDoubleSpinBox->setToolTip(QCoreApplication::translate("InterpolationDlg", "Kernel of the Normal distribution", nullptr));
  176. #endif // QT_CONFIG(tooltip)
  177. } // retranslateUi
  178. };
  179. namespace Ui {
  180. class InterpolationDlg: public Ui_InterpolationDlg {};
  181. } // namespace Ui
  182. QT_END_NAMESPACE
  183. #endif // UI_INTERPOLATIONDLG_H