ui_planeEditDlg.h 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'planeEditDlg.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_PLANEEDITDLG_H
  9. #define UI_PLANEEDITDLG_H
  10. #include <QtCore/QVariant>
  11. #include <QtGui/QIcon>
  12. #include <QtWidgets/QApplication>
  13. #include <QtWidgets/QCheckBox>
  14. #include <QtWidgets/QDialog>
  15. #include <QtWidgets/QDialogButtonBox>
  16. #include <QtWidgets/QDoubleSpinBox>
  17. #include <QtWidgets/QGridLayout>
  18. #include <QtWidgets/QGroupBox>
  19. #include <QtWidgets/QLabel>
  20. #include <QtWidgets/QSpacerItem>
  21. #include <QtWidgets/QTabWidget>
  22. #include <QtWidgets/QToolButton>
  23. #include <QtWidgets/QVBoxLayout>
  24. #include <QtWidgets/QWidget>
  25. QT_BEGIN_NAMESPACE
  26. class Ui_PlaneEditDlg
  27. {
  28. public:
  29. QVBoxLayout *verticalLayout;
  30. QTabWidget *orientationTabWidget;
  31. QWidget *dipTab;
  32. QGridLayout *gridLayout_4;
  33. QLabel *label_3;
  34. QDoubleSpinBox *dipDoubleSpinBox;
  35. QLabel *label_4;
  36. QDoubleSpinBox *dipDirDoubleSpinBox;
  37. QCheckBox *upwardCheckBox;
  38. QWidget *normTab;
  39. QVBoxLayout *verticalLayout_2;
  40. QDoubleSpinBox *nxDoubleSpinBox;
  41. QDoubleSpinBox *nyDoubleSpinBox;
  42. QDoubleSpinBox *nzDoubleSpinBox;
  43. QGroupBox *dimGroupBox;
  44. QGridLayout *gridLayout_2;
  45. QLabel *label;
  46. QDoubleSpinBox *wDoubleSpinBox;
  47. QLabel *label_2;
  48. QDoubleSpinBox *hDoubleSpinBox;
  49. QGroupBox *centerGroupBox;
  50. QGridLayout *gridLayout_3;
  51. QDoubleSpinBox *cxAxisDoubleSpinBox;
  52. QToolButton *pickCenterToolButton;
  53. QDoubleSpinBox *cyAxisDoubleSpinBox;
  54. QDoubleSpinBox *czAxisDoubleSpinBox;
  55. QSpacerItem *verticalSpacer;
  56. QDialogButtonBox *buttonBox;
  57. void setupUi(QDialog *PlaneEditDlg)
  58. {
  59. if (PlaneEditDlg->objectName().isEmpty())
  60. PlaneEditDlg->setObjectName(QString::fromUtf8("PlaneEditDlg"));
  61. PlaneEditDlg->resize(300, 499);
  62. verticalLayout = new QVBoxLayout(PlaneEditDlg);
  63. verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
  64. orientationTabWidget = new QTabWidget(PlaneEditDlg);
  65. orientationTabWidget->setObjectName(QString::fromUtf8("orientationTabWidget"));
  66. dipTab = new QWidget();
  67. dipTab->setObjectName(QString::fromUtf8("dipTab"));
  68. gridLayout_4 = new QGridLayout(dipTab);
  69. gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
  70. label_3 = new QLabel(dipTab);
  71. label_3->setObjectName(QString::fromUtf8("label_3"));
  72. gridLayout_4->addWidget(label_3, 0, 0, 1, 1);
  73. dipDoubleSpinBox = new QDoubleSpinBox(dipTab);
  74. dipDoubleSpinBox->setObjectName(QString::fromUtf8("dipDoubleSpinBox"));
  75. dipDoubleSpinBox->setSuffix(QString::fromUtf8("\302\260"));
  76. dipDoubleSpinBox->setDecimals(4);
  77. dipDoubleSpinBox->setMinimum(0.000000000000000);
  78. dipDoubleSpinBox->setMaximum(90.000000000000000);
  79. gridLayout_4->addWidget(dipDoubleSpinBox, 0, 1, 1, 1);
  80. label_4 = new QLabel(dipTab);
  81. label_4->setObjectName(QString::fromUtf8("label_4"));
  82. gridLayout_4->addWidget(label_4, 1, 0, 1, 1);
  83. dipDirDoubleSpinBox = new QDoubleSpinBox(dipTab);
  84. dipDirDoubleSpinBox->setObjectName(QString::fromUtf8("dipDirDoubleSpinBox"));
  85. dipDirDoubleSpinBox->setSuffix(QString::fromUtf8("\302\260"));
  86. dipDirDoubleSpinBox->setDecimals(4);
  87. dipDirDoubleSpinBox->setMinimum(0.000000000000000);
  88. dipDirDoubleSpinBox->setMaximum(360.000000000000000);
  89. gridLayout_4->addWidget(dipDirDoubleSpinBox, 1, 1, 1, 1);
  90. upwardCheckBox = new QCheckBox(dipTab);
  91. upwardCheckBox->setObjectName(QString::fromUtf8("upwardCheckBox"));
  92. upwardCheckBox->setChecked(true);
  93. gridLayout_4->addWidget(upwardCheckBox, 2, 0, 1, 1);
  94. orientationTabWidget->addTab(dipTab, QString());
  95. normTab = new QWidget();
  96. normTab->setObjectName(QString::fromUtf8("normTab"));
  97. verticalLayout_2 = new QVBoxLayout(normTab);
  98. verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
  99. nxDoubleSpinBox = new QDoubleSpinBox(normTab);
  100. nxDoubleSpinBox->setObjectName(QString::fromUtf8("nxDoubleSpinBox"));
  101. nxDoubleSpinBox->setPrefix(QString::fromUtf8("Nx = "));
  102. nxDoubleSpinBox->setDecimals(8);
  103. nxDoubleSpinBox->setMinimum(-1000000.000000000000000);
  104. nxDoubleSpinBox->setMaximum(1000000.000000000000000);
  105. verticalLayout_2->addWidget(nxDoubleSpinBox);
  106. nyDoubleSpinBox = new QDoubleSpinBox(normTab);
  107. nyDoubleSpinBox->setObjectName(QString::fromUtf8("nyDoubleSpinBox"));
  108. nyDoubleSpinBox->setPrefix(QString::fromUtf8("Ny = "));
  109. nyDoubleSpinBox->setDecimals(8);
  110. nyDoubleSpinBox->setMinimum(-1000000.000000000000000);
  111. nyDoubleSpinBox->setMaximum(1000000.000000000000000);
  112. verticalLayout_2->addWidget(nyDoubleSpinBox);
  113. nzDoubleSpinBox = new QDoubleSpinBox(normTab);
  114. nzDoubleSpinBox->setObjectName(QString::fromUtf8("nzDoubleSpinBox"));
  115. nzDoubleSpinBox->setPrefix(QString::fromUtf8("Nz = "));
  116. nzDoubleSpinBox->setDecimals(8);
  117. nzDoubleSpinBox->setMinimum(-1000000.000000000000000);
  118. nzDoubleSpinBox->setMaximum(1000000.000000000000000);
  119. verticalLayout_2->addWidget(nzDoubleSpinBox);
  120. orientationTabWidget->addTab(normTab, QString());
  121. verticalLayout->addWidget(orientationTabWidget);
  122. dimGroupBox = new QGroupBox(PlaneEditDlg);
  123. dimGroupBox->setObjectName(QString::fromUtf8("dimGroupBox"));
  124. dimGroupBox->setFlat(true);
  125. gridLayout_2 = new QGridLayout(dimGroupBox);
  126. gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
  127. label = new QLabel(dimGroupBox);
  128. label->setObjectName(QString::fromUtf8("label"));
  129. gridLayout_2->addWidget(label, 0, 0, 1, 1);
  130. wDoubleSpinBox = new QDoubleSpinBox(dimGroupBox);
  131. wDoubleSpinBox->setObjectName(QString::fromUtf8("wDoubleSpinBox"));
  132. wDoubleSpinBox->setDecimals(8);
  133. wDoubleSpinBox->setMinimum(0.000001000000000);
  134. wDoubleSpinBox->setMaximum(1000000.000000000000000);
  135. wDoubleSpinBox->setValue(10.000000000000000);
  136. gridLayout_2->addWidget(wDoubleSpinBox, 0, 1, 1, 1);
  137. label_2 = new QLabel(dimGroupBox);
  138. label_2->setObjectName(QString::fromUtf8("label_2"));
  139. gridLayout_2->addWidget(label_2, 1, 0, 1, 1);
  140. hDoubleSpinBox = new QDoubleSpinBox(dimGroupBox);
  141. hDoubleSpinBox->setObjectName(QString::fromUtf8("hDoubleSpinBox"));
  142. hDoubleSpinBox->setDecimals(8);
  143. hDoubleSpinBox->setMinimum(0.000001000000000);
  144. hDoubleSpinBox->setMaximum(1000000.000000000000000);
  145. hDoubleSpinBox->setValue(10.000000000000000);
  146. gridLayout_2->addWidget(hDoubleSpinBox, 1, 1, 1, 1);
  147. verticalLayout->addWidget(dimGroupBox);
  148. centerGroupBox = new QGroupBox(PlaneEditDlg);
  149. centerGroupBox->setObjectName(QString::fromUtf8("centerGroupBox"));
  150. centerGroupBox->setFlat(true);
  151. gridLayout_3 = new QGridLayout(centerGroupBox);
  152. gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
  153. cxAxisDoubleSpinBox = new QDoubleSpinBox(centerGroupBox);
  154. cxAxisDoubleSpinBox->setObjectName(QString::fromUtf8("cxAxisDoubleSpinBox"));
  155. cxAxisDoubleSpinBox->setPrefix(QString::fromUtf8("X: "));
  156. cxAxisDoubleSpinBox->setDecimals(8);
  157. cxAxisDoubleSpinBox->setMinimum(-1000000000.000000000000000);
  158. cxAxisDoubleSpinBox->setMaximum(1000000000.000000000000000);
  159. gridLayout_3->addWidget(cxAxisDoubleSpinBox, 0, 1, 1, 1);
  160. pickCenterToolButton = new QToolButton(centerGroupBox);
  161. pickCenterToolButton->setObjectName(QString::fromUtf8("pickCenterToolButton"));
  162. QIcon icon;
  163. icon.addFile(QString::fromUtf8(":/CC/images/ccPointPicking.png"), QSize(), QIcon::Normal, QIcon::Off);
  164. pickCenterToolButton->setIcon(icon);
  165. pickCenterToolButton->setCheckable(true);
  166. gridLayout_3->addWidget(pickCenterToolButton, 1, 0, 1, 1);
  167. cyAxisDoubleSpinBox = new QDoubleSpinBox(centerGroupBox);
  168. cyAxisDoubleSpinBox->setObjectName(QString::fromUtf8("cyAxisDoubleSpinBox"));
  169. cyAxisDoubleSpinBox->setPrefix(QString::fromUtf8("Y: "));
  170. cyAxisDoubleSpinBox->setDecimals(8);
  171. cyAxisDoubleSpinBox->setMinimum(-1000000000.000000000000000);
  172. cyAxisDoubleSpinBox->setMaximum(1000000000.000000000000000);
  173. gridLayout_3->addWidget(cyAxisDoubleSpinBox, 1, 1, 1, 1);
  174. czAxisDoubleSpinBox = new QDoubleSpinBox(centerGroupBox);
  175. czAxisDoubleSpinBox->setObjectName(QString::fromUtf8("czAxisDoubleSpinBox"));
  176. czAxisDoubleSpinBox->setPrefix(QString::fromUtf8("Z: "));
  177. czAxisDoubleSpinBox->setDecimals(8);
  178. czAxisDoubleSpinBox->setMinimum(-1000000000.000000000000000);
  179. czAxisDoubleSpinBox->setMaximum(1000000000.000000000000000);
  180. gridLayout_3->addWidget(czAxisDoubleSpinBox, 2, 1, 1, 1);
  181. verticalLayout->addWidget(centerGroupBox);
  182. verticalSpacer = new QSpacerItem(20, 24, QSizePolicy::Minimum, QSizePolicy::Expanding);
  183. verticalLayout->addItem(verticalSpacer);
  184. buttonBox = new QDialogButtonBox(PlaneEditDlg);
  185. buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
  186. buttonBox->setOrientation(Qt::Horizontal);
  187. buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
  188. verticalLayout->addWidget(buttonBox);
  189. retranslateUi(PlaneEditDlg);
  190. QObject::connect(buttonBox, SIGNAL(rejected()), PlaneEditDlg, SLOT(reject()));
  191. orientationTabWidget->setCurrentIndex(0);
  192. QMetaObject::connectSlotsByName(PlaneEditDlg);
  193. } // setupUi
  194. void retranslateUi(QDialog *PlaneEditDlg)
  195. {
  196. PlaneEditDlg->setWindowTitle(QCoreApplication::translate("PlaneEditDlg", "Plane properties", nullptr));
  197. label_3->setText(QCoreApplication::translate("PlaneEditDlg", "dip", nullptr));
  198. label_4->setText(QCoreApplication::translate("PlaneEditDlg", "dip direction", nullptr));
  199. #if QT_CONFIG(tooltip)
  200. upwardCheckBox->setToolTip(QCoreApplication::translate("PlaneEditDlg", "Whether the plane normal should point upward (Z+) or downward (Z-)", nullptr));
  201. #endif // QT_CONFIG(tooltip)
  202. upwardCheckBox->setText(QCoreApplication::translate("PlaneEditDlg", "upward", nullptr));
  203. orientationTabWidget->setTabText(orientationTabWidget->indexOf(dipTab), QCoreApplication::translate("PlaneEditDlg", "Dip / dip direction", nullptr));
  204. orientationTabWidget->setTabText(orientationTabWidget->indexOf(normTab), QCoreApplication::translate("PlaneEditDlg", "Normal", nullptr));
  205. dimGroupBox->setTitle(QCoreApplication::translate("PlaneEditDlg", "Dimensions", nullptr));
  206. label->setText(QCoreApplication::translate("PlaneEditDlg", "width", nullptr));
  207. #if QT_CONFIG(tooltip)
  208. wDoubleSpinBox->setToolTip(QCoreApplication::translate("PlaneEditDlg", "Plane width", nullptr));
  209. #endif // QT_CONFIG(tooltip)
  210. label_2->setText(QCoreApplication::translate("PlaneEditDlg", "height", nullptr));
  211. #if QT_CONFIG(tooltip)
  212. hDoubleSpinBox->setToolTip(QCoreApplication::translate("PlaneEditDlg", "Plane height", nullptr));
  213. #endif // QT_CONFIG(tooltip)
  214. centerGroupBox->setTitle(QCoreApplication::translate("PlaneEditDlg", "Center", nullptr));
  215. #if QT_CONFIG(tooltip)
  216. pickCenterToolButton->setToolTip(QCoreApplication::translate("PlaneEditDlg", "Pick the plane center (click again to cancel)", nullptr));
  217. #endif // QT_CONFIG(tooltip)
  218. } // retranslateUi
  219. };
  220. namespace Ui {
  221. class PlaneEditDlg: public Ui_PlaneEditDlg {};
  222. } // namespace Ui
  223. QT_END_NAMESPACE
  224. #endif // UI_PLANEEDITDLG_H