ui_globalShiftSettingsDlg.h 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'globalShiftSettingsDlg.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_GLOBALSHIFTSETTINGSDLG_H
  9. #define UI_GLOBALSHIFTSETTINGSDLG_H
  10. #include <QtCore/QVariant>
  11. #include <QtWidgets/QApplication>
  12. #include <QtWidgets/QDialog>
  13. #include <QtWidgets/QDialogButtonBox>
  14. #include <QtWidgets/QFormLayout>
  15. #include <QtWidgets/QLabel>
  16. #include <QtWidgets/QPlainTextEdit>
  17. #include <QtWidgets/QSpinBox>
  18. #include <QtWidgets/QVBoxLayout>
  19. QT_BEGIN_NAMESPACE
  20. class Ui_GlobalShiftSettingsDialog
  21. {
  22. public:
  23. QVBoxLayout *verticalLayout;
  24. QPlainTextEdit *plainTextEdit;
  25. QLabel *label_3;
  26. QFormLayout *formLayout;
  27. QLabel *label;
  28. QSpinBox *maxAbsCoordSpinBox;
  29. QLabel *label_2;
  30. QSpinBox *maxAbsDiagSpinBox;
  31. QDialogButtonBox *buttonBox;
  32. void setupUi(QDialog *GlobalShiftSettingsDialog)
  33. {
  34. if (GlobalShiftSettingsDialog->objectName().isEmpty())
  35. GlobalShiftSettingsDialog->setObjectName(QString::fromUtf8("GlobalShiftSettingsDialog"));
  36. GlobalShiftSettingsDialog->resize(370, 280);
  37. verticalLayout = new QVBoxLayout(GlobalShiftSettingsDialog);
  38. verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
  39. plainTextEdit = new QPlainTextEdit(GlobalShiftSettingsDialog);
  40. plainTextEdit->setObjectName(QString::fromUtf8("plainTextEdit"));
  41. plainTextEdit->setStyleSheet(QString::fromUtf8("color: grey; font-style: italic;"));
  42. plainTextEdit->setReadOnly(true);
  43. plainTextEdit->setTextInteractionFlags(Qt::NoTextInteraction);
  44. verticalLayout->addWidget(plainTextEdit);
  45. label_3 = new QLabel(GlobalShiftSettingsDialog);
  46. label_3->setObjectName(QString::fromUtf8("label_3"));
  47. verticalLayout->addWidget(label_3);
  48. formLayout = new QFormLayout();
  49. formLayout->setObjectName(QString::fromUtf8("formLayout"));
  50. label = new QLabel(GlobalShiftSettingsDialog);
  51. label->setObjectName(QString::fromUtf8("label"));
  52. formLayout->setWidget(0, QFormLayout::LabelRole, label);
  53. maxAbsCoordSpinBox = new QSpinBox(GlobalShiftSettingsDialog);
  54. maxAbsCoordSpinBox->setObjectName(QString::fromUtf8("maxAbsCoordSpinBox"));
  55. maxAbsCoordSpinBox->setPrefix(QString::fromUtf8("10^"));
  56. maxAbsCoordSpinBox->setMinimum(2);
  57. maxAbsCoordSpinBox->setMaximum(12);
  58. maxAbsCoordSpinBox->setValue(4);
  59. formLayout->setWidget(0, QFormLayout::FieldRole, maxAbsCoordSpinBox);
  60. label_2 = new QLabel(GlobalShiftSettingsDialog);
  61. label_2->setObjectName(QString::fromUtf8("label_2"));
  62. formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
  63. maxAbsDiagSpinBox = new QSpinBox(GlobalShiftSettingsDialog);
  64. maxAbsDiagSpinBox->setObjectName(QString::fromUtf8("maxAbsDiagSpinBox"));
  65. maxAbsDiagSpinBox->setPrefix(QString::fromUtf8("10^"));
  66. maxAbsDiagSpinBox->setMinimum(2);
  67. maxAbsDiagSpinBox->setMaximum(12);
  68. maxAbsDiagSpinBox->setValue(6);
  69. formLayout->setWidget(1, QFormLayout::FieldRole, maxAbsDiagSpinBox);
  70. verticalLayout->addLayout(formLayout);
  71. buttonBox = new QDialogButtonBox(GlobalShiftSettingsDialog);
  72. buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
  73. buttonBox->setOrientation(Qt::Horizontal);
  74. buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
  75. verticalLayout->addWidget(buttonBox);
  76. retranslateUi(GlobalShiftSettingsDialog);
  77. QObject::connect(buttonBox, SIGNAL(accepted()), GlobalShiftSettingsDialog, SLOT(accept()));
  78. QObject::connect(buttonBox, SIGNAL(rejected()), GlobalShiftSettingsDialog, SLOT(reject()));
  79. QMetaObject::connectSlotsByName(GlobalShiftSettingsDialog);
  80. } // setupUi
  81. void retranslateUi(QDialog *GlobalShiftSettingsDialog)
  82. {
  83. GlobalShiftSettingsDialog->setWindowTitle(QCoreApplication::translate("GlobalShiftSettingsDialog", "Global Shift settings", nullptr));
  84. plainTextEdit->setPlainText(QCoreApplication::translate("GlobalShiftSettingsDialog", "The Global Shift & Scale mechanism aims at reducing the loss of precision when working with big coordinates.\n"
  85. "\n"
  86. "As CloudCompare and most graphic cards work with 32 bits floating point values, their resolution and the computation precision is limited. The bigger the numbers the less resolute they are.\n"
  87. "\n"
  88. "Here below you can set the limits above which the 'Global Shift & Scale' mechanism will be triggered.\n"
  89. "\n"
  90. "Note: the diagonal is not tested at loading time.", nullptr));
  91. label_3->setText(QCoreApplication::translate("GlobalShiftSettingsDialog", "Global Shift & Scale triggering limits:", nullptr));
  92. label->setText(QCoreApplication::translate("GlobalShiftSettingsDialog", "Max absolute coordinate", nullptr));
  93. #if QT_CONFIG(tooltip)
  94. maxAbsCoordSpinBox->setToolTip(QCoreApplication::translate("GlobalShiftSettingsDialog", "CloudCompare will suggest to apply a Global Shift to the loaded entities if their coordinates are above this limit", nullptr));
  95. #endif // QT_CONFIG(tooltip)
  96. maxAbsCoordSpinBox->setSuffix(QString());
  97. label_2->setText(QCoreApplication::translate("GlobalShiftSettingsDialog", "Max entity diagonal", nullptr));
  98. #if QT_CONFIG(tooltip)
  99. maxAbsDiagSpinBox->setToolTip(QCoreApplication::translate("GlobalShiftSettingsDialog", "CloudCompare will suggest to apply a Global Scale to the loaded entities if their bounding-box diagonal is above this limit", nullptr));
  100. #endif // QT_CONFIG(tooltip)
  101. maxAbsDiagSpinBox->setSuffix(QString());
  102. } // retranslateUi
  103. };
  104. namespace Ui {
  105. class GlobalShiftSettingsDialog: public Ui_GlobalShiftSettingsDialog {};
  106. } // namespace Ui
  107. QT_END_NAMESPACE
  108. #endif // UI_GLOBALSHIFTSETTINGSDLG_H