ui_volumeCalcDlg.h 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'volumeCalcDlg.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_VOLUMECALCDLG_H
  9. #define UI_VOLUMECALCDLG_H
  10. #include <QtCore/QVariant>
  11. #include <QtGui/QIcon>
  12. #include <QtWidgets/QApplication>
  13. #include <QtWidgets/QComboBox>
  14. #include <QtWidgets/QDialog>
  15. #include <QtWidgets/QDialogButtonBox>
  16. #include <QtWidgets/QDoubleSpinBox>
  17. #include <QtWidgets/QFormLayout>
  18. #include <QtWidgets/QFrame>
  19. #include <QtWidgets/QGroupBox>
  20. #include <QtWidgets/QHBoxLayout>
  21. #include <QtWidgets/QLabel>
  22. #include <QtWidgets/QPlainTextEdit>
  23. #include <QtWidgets/QPushButton>
  24. #include <QtWidgets/QSpacerItem>
  25. #include <QtWidgets/QSpinBox>
  26. #include <QtWidgets/QToolButton>
  27. #include <QtWidgets/QVBoxLayout>
  28. #include <QtWidgets/QWidget>
  29. QT_BEGIN_NAMESPACE
  30. class Ui_VolumeCalcDialog
  31. {
  32. public:
  33. QHBoxLayout *horizontalLayout_3;
  34. QFrame *leftFrame;
  35. QVBoxLayout *verticalLayout_2;
  36. QGroupBox *groundGroupBox;
  37. QFormLayout *formLayout_2;
  38. QLabel *label_7;
  39. QComboBox *groundComboBox;
  40. QDoubleSpinBox *groundEmptyValueDoubleSpinBox;
  41. QLabel *label_12;
  42. QLabel *label_13;
  43. QDoubleSpinBox *groundMaxEdgeLengthDoubleSpinBox;
  44. QComboBox *fillGroundEmptyCellsComboBox;
  45. QLabel *label_10;
  46. QFrame *swapButtonFrame;
  47. QHBoxLayout *horizontalLayout;
  48. QToolButton *swapToolButton;
  49. QGroupBox *ceilGroupBox;
  50. QFormLayout *formLayout_3;
  51. QLabel *label_3;
  52. QComboBox *ceilComboBox;
  53. QLabel *label_6;
  54. QComboBox *fillCeilEmptyCellsComboBox;
  55. QDoubleSpinBox *ceilEmptyValueDoubleSpinBox;
  56. QLabel *label_5;
  57. QLabel *label_11;
  58. QDoubleSpinBox *ceilMaxEdgeLengthDoubleSpinBox;
  59. QGroupBox *gridGroupBox;
  60. QVBoxLayout *verticalLayout_3;
  61. QWidget *gridParamsWidget;
  62. QFormLayout *formLayout_4;
  63. QLabel *label_2;
  64. QHBoxLayout *horizontalLayout_4;
  65. QDoubleSpinBox *gridStepDoubleSpinBox;
  66. QToolButton *editGridToolButton;
  67. QLabel *label_4;
  68. QLabel *gridWidthLabel;
  69. QLabel *label_9;
  70. QComboBox *projDimComboBox;
  71. QLabel *label_8;
  72. QComboBox *heightProjectionComboBox;
  73. QPushButton *updatePushButton;
  74. QGroupBox *resultGroupBox;
  75. QVBoxLayout *verticalLayout;
  76. QLabel *spareseWarningLabel;
  77. QPlainTextEdit *reportPlainTextEdit;
  78. QPushButton *clipboardPushButton;
  79. QPushButton *exportGridPushButton;
  80. QWidget *widget;
  81. QHBoxLayout *horizontalLayout_2;
  82. QLabel *label;
  83. QSpinBox *precisionSpinBox;
  84. QSpacerItem *verticalSpacer;
  85. QDialogButtonBox *buttonBox;
  86. QFrame *mapFrame;
  87. void setupUi(QDialog *VolumeCalcDialog)
  88. {
  89. if (VolumeCalcDialog->objectName().isEmpty())
  90. VolumeCalcDialog->setObjectName(QString::fromUtf8("VolumeCalcDialog"));
  91. VolumeCalcDialog->resize(1000, 887);
  92. QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
  93. sizePolicy.setHorizontalStretch(0);
  94. sizePolicy.setVerticalStretch(0);
  95. sizePolicy.setHeightForWidth(VolumeCalcDialog->sizePolicy().hasHeightForWidth());
  96. VolumeCalcDialog->setSizePolicy(sizePolicy);
  97. horizontalLayout_3 = new QHBoxLayout(VolumeCalcDialog);
  98. horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
  99. leftFrame = new QFrame(VolumeCalcDialog);
  100. leftFrame->setObjectName(QString::fromUtf8("leftFrame"));
  101. QSizePolicy sizePolicy1(QSizePolicy::Maximum, QSizePolicy::Preferred);
  102. sizePolicy1.setHorizontalStretch(0);
  103. sizePolicy1.setVerticalStretch(0);
  104. sizePolicy1.setHeightForWidth(leftFrame->sizePolicy().hasHeightForWidth());
  105. leftFrame->setSizePolicy(sizePolicy1);
  106. leftFrame->setFrameShape(QFrame::StyledPanel);
  107. leftFrame->setFrameShadow(QFrame::Raised);
  108. verticalLayout_2 = new QVBoxLayout(leftFrame);
  109. verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
  110. verticalLayout_2->setContentsMargins(0, 0, 0, 0);
  111. groundGroupBox = new QGroupBox(leftFrame);
  112. groundGroupBox->setObjectName(QString::fromUtf8("groundGroupBox"));
  113. formLayout_2 = new QFormLayout(groundGroupBox);
  114. formLayout_2->setObjectName(QString::fromUtf8("formLayout_2"));
  115. formLayout_2->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
  116. label_7 = new QLabel(groundGroupBox);
  117. label_7->setObjectName(QString::fromUtf8("label_7"));
  118. formLayout_2->setWidget(0, QFormLayout::LabelRole, label_7);
  119. groundComboBox = new QComboBox(groundGroupBox);
  120. groundComboBox->setObjectName(QString::fromUtf8("groundComboBox"));
  121. formLayout_2->setWidget(0, QFormLayout::FieldRole, groundComboBox);
  122. groundEmptyValueDoubleSpinBox = new QDoubleSpinBox(groundGroupBox);
  123. groundEmptyValueDoubleSpinBox->setObjectName(QString::fromUtf8("groundEmptyValueDoubleSpinBox"));
  124. groundEmptyValueDoubleSpinBox->setEnabled(false);
  125. QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Fixed);
  126. sizePolicy2.setHorizontalStretch(0);
  127. sizePolicy2.setVerticalStretch(0);
  128. sizePolicy2.setHeightForWidth(groundEmptyValueDoubleSpinBox->sizePolicy().hasHeightForWidth());
  129. groundEmptyValueDoubleSpinBox->setSizePolicy(sizePolicy2);
  130. groundEmptyValueDoubleSpinBox->setDecimals(6);
  131. groundEmptyValueDoubleSpinBox->setMinimum(-999999999.000000000000000);
  132. groundEmptyValueDoubleSpinBox->setMaximum(999999999.000000000000000);
  133. groundEmptyValueDoubleSpinBox->setValue(0.000000000000000);
  134. formLayout_2->setWidget(3, QFormLayout::FieldRole, groundEmptyValueDoubleSpinBox);
  135. label_12 = new QLabel(groundGroupBox);
  136. label_12->setObjectName(QString::fromUtf8("label_12"));
  137. formLayout_2->setWidget(3, QFormLayout::LabelRole, label_12);
  138. label_13 = new QLabel(groundGroupBox);
  139. label_13->setObjectName(QString::fromUtf8("label_13"));
  140. formLayout_2->setWidget(5, QFormLayout::LabelRole, label_13);
  141. groundMaxEdgeLengthDoubleSpinBox = new QDoubleSpinBox(groundGroupBox);
  142. groundMaxEdgeLengthDoubleSpinBox->setObjectName(QString::fromUtf8("groundMaxEdgeLengthDoubleSpinBox"));
  143. groundMaxEdgeLengthDoubleSpinBox->setEnabled(false);
  144. groundMaxEdgeLengthDoubleSpinBox->setDecimals(6);
  145. groundMaxEdgeLengthDoubleSpinBox->setMinimum(-999999999.000000000000000);
  146. groundMaxEdgeLengthDoubleSpinBox->setMaximum(999999999.000000000000000);
  147. formLayout_2->setWidget(5, QFormLayout::FieldRole, groundMaxEdgeLengthDoubleSpinBox);
  148. fillGroundEmptyCellsComboBox = new QComboBox(groundGroupBox);
  149. fillGroundEmptyCellsComboBox->addItem(QString());
  150. fillGroundEmptyCellsComboBox->addItem(QString());
  151. fillGroundEmptyCellsComboBox->addItem(QString());
  152. fillGroundEmptyCellsComboBox->addItem(QString());
  153. fillGroundEmptyCellsComboBox->addItem(QString());
  154. fillGroundEmptyCellsComboBox->addItem(QString());
  155. fillGroundEmptyCellsComboBox->setObjectName(QString::fromUtf8("fillGroundEmptyCellsComboBox"));
  156. formLayout_2->setWidget(2, QFormLayout::FieldRole, fillGroundEmptyCellsComboBox);
  157. label_10 = new QLabel(groundGroupBox);
  158. label_10->setObjectName(QString::fromUtf8("label_10"));
  159. formLayout_2->setWidget(2, QFormLayout::LabelRole, label_10);
  160. verticalLayout_2->addWidget(groundGroupBox);
  161. swapButtonFrame = new QFrame(leftFrame);
  162. swapButtonFrame->setObjectName(QString::fromUtf8("swapButtonFrame"));
  163. swapButtonFrame->setFrameShape(QFrame::StyledPanel);
  164. swapButtonFrame->setFrameShadow(QFrame::Raised);
  165. horizontalLayout = new QHBoxLayout(swapButtonFrame);
  166. horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
  167. horizontalLayout->setContentsMargins(0, 0, 0, 0);
  168. swapToolButton = new QToolButton(swapButtonFrame);
  169. swapToolButton->setObjectName(QString::fromUtf8("swapToolButton"));
  170. QIcon icon;
  171. icon.addFile(QString::fromUtf8(":/CC/images/ccSwapUpDown.png"), QSize(), QIcon::Normal, QIcon::Off);
  172. swapToolButton->setIcon(icon);
  173. swapToolButton->setIconSize(QSize(16, 16));
  174. horizontalLayout->addWidget(swapToolButton);
  175. verticalLayout_2->addWidget(swapButtonFrame);
  176. ceilGroupBox = new QGroupBox(leftFrame);
  177. ceilGroupBox->setObjectName(QString::fromUtf8("ceilGroupBox"));
  178. formLayout_3 = new QFormLayout(ceilGroupBox);
  179. formLayout_3->setObjectName(QString::fromUtf8("formLayout_3"));
  180. label_3 = new QLabel(ceilGroupBox);
  181. label_3->setObjectName(QString::fromUtf8("label_3"));
  182. formLayout_3->setWidget(0, QFormLayout::LabelRole, label_3);
  183. ceilComboBox = new QComboBox(ceilGroupBox);
  184. ceilComboBox->setObjectName(QString::fromUtf8("ceilComboBox"));
  185. formLayout_3->setWidget(0, QFormLayout::FieldRole, ceilComboBox);
  186. label_6 = new QLabel(ceilGroupBox);
  187. label_6->setObjectName(QString::fromUtf8("label_6"));
  188. formLayout_3->setWidget(1, QFormLayout::LabelRole, label_6);
  189. fillCeilEmptyCellsComboBox = new QComboBox(ceilGroupBox);
  190. fillCeilEmptyCellsComboBox->addItem(QString());
  191. fillCeilEmptyCellsComboBox->addItem(QString());
  192. fillCeilEmptyCellsComboBox->addItem(QString());
  193. fillCeilEmptyCellsComboBox->addItem(QString());
  194. fillCeilEmptyCellsComboBox->addItem(QString());
  195. fillCeilEmptyCellsComboBox->addItem(QString());
  196. fillCeilEmptyCellsComboBox->setObjectName(QString::fromUtf8("fillCeilEmptyCellsComboBox"));
  197. formLayout_3->setWidget(1, QFormLayout::FieldRole, fillCeilEmptyCellsComboBox);
  198. ceilEmptyValueDoubleSpinBox = new QDoubleSpinBox(ceilGroupBox);
  199. ceilEmptyValueDoubleSpinBox->setObjectName(QString::fromUtf8("ceilEmptyValueDoubleSpinBox"));
  200. ceilEmptyValueDoubleSpinBox->setEnabled(false);
  201. sizePolicy2.setHeightForWidth(ceilEmptyValueDoubleSpinBox->sizePolicy().hasHeightForWidth());
  202. ceilEmptyValueDoubleSpinBox->setSizePolicy(sizePolicy2);
  203. ceilEmptyValueDoubleSpinBox->setDecimals(6);
  204. ceilEmptyValueDoubleSpinBox->setMinimum(-999999999.000000000000000);
  205. ceilEmptyValueDoubleSpinBox->setMaximum(999999999.000000000000000);
  206. ceilEmptyValueDoubleSpinBox->setValue(0.000000000000000);
  207. formLayout_3->setWidget(2, QFormLayout::FieldRole, ceilEmptyValueDoubleSpinBox);
  208. label_5 = new QLabel(ceilGroupBox);
  209. label_5->setObjectName(QString::fromUtf8("label_5"));
  210. formLayout_3->setWidget(2, QFormLayout::LabelRole, label_5);
  211. label_11 = new QLabel(ceilGroupBox);
  212. label_11->setObjectName(QString::fromUtf8("label_11"));
  213. formLayout_3->setWidget(3, QFormLayout::LabelRole, label_11);
  214. ceilMaxEdgeLengthDoubleSpinBox = new QDoubleSpinBox(ceilGroupBox);
  215. ceilMaxEdgeLengthDoubleSpinBox->setObjectName(QString::fromUtf8("ceilMaxEdgeLengthDoubleSpinBox"));
  216. ceilMaxEdgeLengthDoubleSpinBox->setEnabled(false);
  217. ceilMaxEdgeLengthDoubleSpinBox->setDecimals(6);
  218. ceilMaxEdgeLengthDoubleSpinBox->setMinimum(-999999999.000000000000000);
  219. ceilMaxEdgeLengthDoubleSpinBox->setMaximum(999999999.000000000000000);
  220. formLayout_3->setWidget(3, QFormLayout::FieldRole, ceilMaxEdgeLengthDoubleSpinBox);
  221. verticalLayout_2->addWidget(ceilGroupBox);
  222. gridGroupBox = new QGroupBox(leftFrame);
  223. gridGroupBox->setObjectName(QString::fromUtf8("gridGroupBox"));
  224. verticalLayout_3 = new QVBoxLayout(gridGroupBox);
  225. verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
  226. gridParamsWidget = new QWidget(gridGroupBox);
  227. gridParamsWidget->setObjectName(QString::fromUtf8("gridParamsWidget"));
  228. formLayout_4 = new QFormLayout(gridParamsWidget);
  229. formLayout_4->setObjectName(QString::fromUtf8("formLayout_4"));
  230. formLayout_4->setContentsMargins(2, 2, 2, 2);
  231. label_2 = new QLabel(gridParamsWidget);
  232. label_2->setObjectName(QString::fromUtf8("label_2"));
  233. formLayout_4->setWidget(0, QFormLayout::LabelRole, label_2);
  234. horizontalLayout_4 = new QHBoxLayout();
  235. horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
  236. horizontalLayout_4->setContentsMargins(-1, -1, 2, -1);
  237. gridStepDoubleSpinBox = new QDoubleSpinBox(gridParamsWidget);
  238. gridStepDoubleSpinBox->setObjectName(QString::fromUtf8("gridStepDoubleSpinBox"));
  239. gridStepDoubleSpinBox->setDecimals(6);
  240. gridStepDoubleSpinBox->setMinimum(0.001000000000000);
  241. gridStepDoubleSpinBox->setMaximum(1000.000000000000000);
  242. gridStepDoubleSpinBox->setSingleStep(0.001000000000000);
  243. gridStepDoubleSpinBox->setValue(1.000000000000000);
  244. horizontalLayout_4->addWidget(gridStepDoubleSpinBox);
  245. editGridToolButton = new QToolButton(gridParamsWidget);
  246. editGridToolButton->setObjectName(QString::fromUtf8("editGridToolButton"));
  247. horizontalLayout_4->addWidget(editGridToolButton);
  248. formLayout_4->setLayout(0, QFormLayout::FieldRole, horizontalLayout_4);
  249. label_4 = new QLabel(gridParamsWidget);
  250. label_4->setObjectName(QString::fromUtf8("label_4"));
  251. formLayout_4->setWidget(1, QFormLayout::LabelRole, label_4);
  252. gridWidthLabel = new QLabel(gridParamsWidget);
  253. gridWidthLabel->setObjectName(QString::fromUtf8("gridWidthLabel"));
  254. gridWidthLabel->setText(QString::fromUtf8("640 x 480"));
  255. formLayout_4->setWidget(1, QFormLayout::FieldRole, gridWidthLabel);
  256. label_9 = new QLabel(gridParamsWidget);
  257. label_9->setObjectName(QString::fromUtf8("label_9"));
  258. formLayout_4->setWidget(2, QFormLayout::LabelRole, label_9);
  259. projDimComboBox = new QComboBox(gridParamsWidget);
  260. projDimComboBox->addItem(QString::fromUtf8("X"));
  261. projDimComboBox->addItem(QString::fromUtf8("Y"));
  262. projDimComboBox->addItem(QString::fromUtf8("Z"));
  263. projDimComboBox->setObjectName(QString::fromUtf8("projDimComboBox"));
  264. formLayout_4->setWidget(2, QFormLayout::FieldRole, projDimComboBox);
  265. label_8 = new QLabel(gridParamsWidget);
  266. label_8->setObjectName(QString::fromUtf8("label_8"));
  267. formLayout_4->setWidget(3, QFormLayout::LabelRole, label_8);
  268. heightProjectionComboBox = new QComboBox(gridParamsWidget);
  269. heightProjectionComboBox->addItem(QString());
  270. heightProjectionComboBox->addItem(QString());
  271. heightProjectionComboBox->addItem(QString());
  272. heightProjectionComboBox->setObjectName(QString::fromUtf8("heightProjectionComboBox"));
  273. formLayout_4->setWidget(3, QFormLayout::FieldRole, heightProjectionComboBox);
  274. verticalLayout_3->addWidget(gridParamsWidget);
  275. updatePushButton = new QPushButton(gridGroupBox);
  276. updatePushButton->setObjectName(QString::fromUtf8("updatePushButton"));
  277. updatePushButton->setStyleSheet(QString::fromUtf8("color: white; background-color:red;"));
  278. verticalLayout_3->addWidget(updatePushButton);
  279. verticalLayout_2->addWidget(gridGroupBox);
  280. resultGroupBox = new QGroupBox(leftFrame);
  281. resultGroupBox->setObjectName(QString::fromUtf8("resultGroupBox"));
  282. verticalLayout = new QVBoxLayout(resultGroupBox);
  283. verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
  284. spareseWarningLabel = new QLabel(resultGroupBox);
  285. spareseWarningLabel->setObjectName(QString::fromUtf8("spareseWarningLabel"));
  286. spareseWarningLabel->setStyleSheet(QString::fromUtf8("color:red;"));
  287. spareseWarningLabel->setAlignment(Qt::AlignCenter);
  288. verticalLayout->addWidget(spareseWarningLabel);
  289. reportPlainTextEdit = new QPlainTextEdit(resultGroupBox);
  290. reportPlainTextEdit->setObjectName(QString::fromUtf8("reportPlainTextEdit"));
  291. reportPlainTextEdit->setReadOnly(true);
  292. verticalLayout->addWidget(reportPlainTextEdit);
  293. clipboardPushButton = new QPushButton(resultGroupBox);
  294. clipboardPushButton->setObjectName(QString::fromUtf8("clipboardPushButton"));
  295. clipboardPushButton->setEnabled(false);
  296. verticalLayout->addWidget(clipboardPushButton);
  297. exportGridPushButton = new QPushButton(resultGroupBox);
  298. exportGridPushButton->setObjectName(QString::fromUtf8("exportGridPushButton"));
  299. exportGridPushButton->setEnabled(false);
  300. verticalLayout->addWidget(exportGridPushButton);
  301. widget = new QWidget(resultGroupBox);
  302. widget->setObjectName(QString::fromUtf8("widget"));
  303. horizontalLayout_2 = new QHBoxLayout(widget);
  304. horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
  305. horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
  306. label = new QLabel(widget);
  307. label->setObjectName(QString::fromUtf8("label"));
  308. horizontalLayout_2->addWidget(label);
  309. precisionSpinBox = new QSpinBox(widget);
  310. precisionSpinBox->setObjectName(QString::fromUtf8("precisionSpinBox"));
  311. precisionSpinBox->setMaximum(12);
  312. precisionSpinBox->setValue(3);
  313. horizontalLayout_2->addWidget(precisionSpinBox);
  314. verticalLayout->addWidget(widget);
  315. verticalLayout_2->addWidget(resultGroupBox);
  316. verticalSpacer = new QSpacerItem(20, 56, QSizePolicy::Minimum, QSizePolicy::Expanding);
  317. verticalLayout_2->addItem(verticalSpacer);
  318. buttonBox = new QDialogButtonBox(leftFrame);
  319. buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
  320. buttonBox->setOrientation(Qt::Horizontal);
  321. buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
  322. buttonBox->setCenterButtons(true);
  323. verticalLayout_2->addWidget(buttonBox);
  324. horizontalLayout_3->addWidget(leftFrame);
  325. mapFrame = new QFrame(VolumeCalcDialog);
  326. mapFrame->setObjectName(QString::fromUtf8("mapFrame"));
  327. QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Minimum);
  328. sizePolicy3.setHorizontalStretch(0);
  329. sizePolicy3.setVerticalStretch(0);
  330. sizePolicy3.setHeightForWidth(mapFrame->sizePolicy().hasHeightForWidth());
  331. mapFrame->setSizePolicy(sizePolicy3);
  332. mapFrame->setMinimumSize(QSize(256, 256));
  333. mapFrame->setFrameShape(QFrame::StyledPanel);
  334. mapFrame->setFrameShadow(QFrame::Raised);
  335. horizontalLayout_3->addWidget(mapFrame);
  336. retranslateUi(VolumeCalcDialog);
  337. QObject::connect(buttonBox, SIGNAL(accepted()), VolumeCalcDialog, SLOT(accept()));
  338. QObject::connect(buttonBox, SIGNAL(rejected()), VolumeCalcDialog, SLOT(reject()));
  339. projDimComboBox->setCurrentIndex(2);
  340. heightProjectionComboBox->setCurrentIndex(1);
  341. QMetaObject::connectSlotsByName(VolumeCalcDialog);
  342. } // setupUi
  343. void retranslateUi(QDialog *VolumeCalcDialog)
  344. {
  345. VolumeCalcDialog->setWindowTitle(QCoreApplication::translate("VolumeCalcDialog", "Volume calculation", nullptr));
  346. groundGroupBox->setTitle(QCoreApplication::translate("VolumeCalcDialog", "Ground / Before", nullptr));
  347. label_7->setText(QCoreApplication::translate("VolumeCalcDialog", "Source", nullptr));
  348. #if QT_CONFIG(tooltip)
  349. groundEmptyValueDoubleSpinBox->setToolTip(QCoreApplication::translate("VolumeCalcDialog", "Custom value for empty cells", nullptr));
  350. #endif // QT_CONFIG(tooltip)
  351. label_12->setText(QCoreApplication::translate("VolumeCalcDialog", "Default height", nullptr));
  352. label_13->setText(QCoreApplication::translate("VolumeCalcDialog", "Max edge length", nullptr));
  353. #if QT_CONFIG(tooltip)
  354. groundMaxEdgeLengthDoubleSpinBox->setToolTip(QCoreApplication::translate("VolumeCalcDialog", "Max edge length for interpolation/triangulation\n"
  355. "(ignored if zero)", nullptr));
  356. #endif // QT_CONFIG(tooltip)
  357. fillGroundEmptyCellsComboBox->setItemText(0, QCoreApplication::translate("VolumeCalcDialog", "leave empty", nullptr));
  358. fillGroundEmptyCellsComboBox->setItemText(1, QCoreApplication::translate("VolumeCalcDialog", "minimum height", nullptr));
  359. fillGroundEmptyCellsComboBox->setItemText(2, QCoreApplication::translate("VolumeCalcDialog", "average height", nullptr));
  360. fillGroundEmptyCellsComboBox->setItemText(3, QCoreApplication::translate("VolumeCalcDialog", "maximum height", nullptr));
  361. fillGroundEmptyCellsComboBox->setItemText(4, QCoreApplication::translate("VolumeCalcDialog", "user specified value", nullptr));
  362. fillGroundEmptyCellsComboBox->setItemText(5, QCoreApplication::translate("VolumeCalcDialog", "interpolate", nullptr));
  363. #if QT_CONFIG(tooltip)
  364. fillGroundEmptyCellsComboBox->setToolTip(QCoreApplication::translate("VolumeCalcDialog", "choose the value to fill the cells in which no point is projected : minimum value over the whole point cloud or average value (over the whole cloud also)", nullptr));
  365. #endif // QT_CONFIG(tooltip)
  366. label_10->setText(QCoreApplication::translate("VolumeCalcDialog", "Empty cells", nullptr));
  367. #if QT_CONFIG(tooltip)
  368. swapToolButton->setToolTip(QCoreApplication::translate("VolumeCalcDialog", "Swap", nullptr));
  369. #endif // QT_CONFIG(tooltip)
  370. swapToolButton->setText(QCoreApplication::translate("VolumeCalcDialog", "Swap", nullptr));
  371. ceilGroupBox->setTitle(QCoreApplication::translate("VolumeCalcDialog", "Ceil / After", nullptr));
  372. label_3->setText(QCoreApplication::translate("VolumeCalcDialog", "Source", nullptr));
  373. label_6->setText(QCoreApplication::translate("VolumeCalcDialog", "Empty cells", nullptr));
  374. fillCeilEmptyCellsComboBox->setItemText(0, QCoreApplication::translate("VolumeCalcDialog", "leave empty", nullptr));
  375. fillCeilEmptyCellsComboBox->setItemText(1, QCoreApplication::translate("VolumeCalcDialog", "minimum height", nullptr));
  376. fillCeilEmptyCellsComboBox->setItemText(2, QCoreApplication::translate("VolumeCalcDialog", "average height", nullptr));
  377. fillCeilEmptyCellsComboBox->setItemText(3, QCoreApplication::translate("VolumeCalcDialog", "maximum height", nullptr));
  378. fillCeilEmptyCellsComboBox->setItemText(4, QCoreApplication::translate("VolumeCalcDialog", "user specified value", nullptr));
  379. fillCeilEmptyCellsComboBox->setItemText(5, QCoreApplication::translate("VolumeCalcDialog", "interpolate", nullptr));
  380. #if QT_CONFIG(tooltip)
  381. fillCeilEmptyCellsComboBox->setToolTip(QCoreApplication::translate("VolumeCalcDialog", "choose the value to fill the cells in which no point is projected : minimum value over the whole point cloud or average value (over the whole cloud also)", nullptr));
  382. #endif // QT_CONFIG(tooltip)
  383. #if QT_CONFIG(tooltip)
  384. ceilEmptyValueDoubleSpinBox->setToolTip(QCoreApplication::translate("VolumeCalcDialog", "Custom value for empty cells", nullptr));
  385. #endif // QT_CONFIG(tooltip)
  386. label_5->setText(QCoreApplication::translate("VolumeCalcDialog", "Default height", nullptr));
  387. label_11->setText(QCoreApplication::translate("VolumeCalcDialog", "Max edge length", nullptr));
  388. #if QT_CONFIG(tooltip)
  389. ceilMaxEdgeLengthDoubleSpinBox->setToolTip(QCoreApplication::translate("VolumeCalcDialog", "Max edge length for interpolation/triangulation\n"
  390. "(ignored if zero)", nullptr));
  391. #endif // QT_CONFIG(tooltip)
  392. gridGroupBox->setTitle(QCoreApplication::translate("VolumeCalcDialog", "Grid", nullptr));
  393. label_2->setText(QCoreApplication::translate("VolumeCalcDialog", "step", nullptr));
  394. #if QT_CONFIG(tooltip)
  395. gridStepDoubleSpinBox->setToolTip(QCoreApplication::translate("VolumeCalcDialog", "size of step of the grid generated (in the same units as the coordinates of the point cloud)", nullptr));
  396. #endif // QT_CONFIG(tooltip)
  397. editGridToolButton->setText(QCoreApplication::translate("VolumeCalcDialog", "Edit grid", nullptr));
  398. label_4->setText(QCoreApplication::translate("VolumeCalcDialog", "size", nullptr));
  399. #if QT_CONFIG(tooltip)
  400. gridWidthLabel->setToolTip(QCoreApplication::translate("VolumeCalcDialog", "Grid size corresponding to the current step / boundaries", nullptr));
  401. #endif // QT_CONFIG(tooltip)
  402. label_9->setText(QCoreApplication::translate("VolumeCalcDialog", "projection dir.", nullptr));
  403. #if QT_CONFIG(tooltip)
  404. projDimComboBox->setToolTip(QCoreApplication::translate("VolumeCalcDialog", "Projection direction (X, Y or Z)", nullptr));
  405. #endif // QT_CONFIG(tooltip)
  406. label_8->setText(QCoreApplication::translate("VolumeCalcDialog", "cell height", nullptr));
  407. heightProjectionComboBox->setItemText(0, QCoreApplication::translate("VolumeCalcDialog", "minimum height", nullptr));
  408. heightProjectionComboBox->setItemText(1, QCoreApplication::translate("VolumeCalcDialog", "average height", nullptr));
  409. heightProjectionComboBox->setItemText(2, QCoreApplication::translate("VolumeCalcDialog", "maximum height", nullptr));
  410. #if QT_CONFIG(tooltip)
  411. heightProjectionComboBox->setToolTip(QCoreApplication::translate("VolumeCalcDialog", "Per-cell height computation method:\n"
  412. " - minimum = lowest point in the cell\n"
  413. " - average = mean height of all points inside the cell\n"
  414. " - maximum = highest point in the cell", nullptr));
  415. #endif // QT_CONFIG(tooltip)
  416. #if QT_CONFIG(tooltip)
  417. updatePushButton->setToolTip(QCoreApplication::translate("VolumeCalcDialog", "Update the grid / display / measurements", nullptr));
  418. #endif // QT_CONFIG(tooltip)
  419. updatePushButton->setText(QCoreApplication::translate("VolumeCalcDialog", "Update", nullptr));
  420. resultGroupBox->setTitle(QCoreApplication::translate("VolumeCalcDialog", "Results", nullptr));
  421. spareseWarningLabel->setText(QCoreApplication::translate("VolumeCalcDialog", "At least one of the cloud is sparse!\n"
  422. "You should fill the empty cells...", nullptr));
  423. clipboardPushButton->setText(QCoreApplication::translate("VolumeCalcDialog", "Copy to clipboard", nullptr));
  424. #if QT_CONFIG(tooltip)
  425. exportGridPushButton->setToolTip(QCoreApplication::translate("VolumeCalcDialog", "Export the grid as a point cloud\n"
  426. "(warning, the points heights will be the difference of altitude!)", nullptr));
  427. #endif // QT_CONFIG(tooltip)
  428. exportGridPushButton->setText(QCoreApplication::translate("VolumeCalcDialog", "Export grid as a cloud", nullptr));
  429. label->setText(QCoreApplication::translate("VolumeCalcDialog", "Num. precision", nullptr));
  430. #if QT_CONFIG(tooltip)
  431. precisionSpinBox->setToolTip(QCoreApplication::translate("VolumeCalcDialog", "Numerical precision (output measurements, etc.)", nullptr));
  432. #endif // QT_CONFIG(tooltip)
  433. } // retranslateUi
  434. };
  435. namespace Ui {
  436. class VolumeCalcDialog: public Ui_VolumeCalcDialog {};
  437. } // namespace Ui
  438. QT_END_NAMESPACE
  439. #endif // UI_VOLUMECALCDLG_H