| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- /********************************************************************************
- ** Form generated from reading UI file 'globalShiftSettingsDlg.ui'
- **
- ** Created by: Qt User Interface Compiler version 5.15.10
- **
- ** WARNING! All changes made in this file will be lost when recompiling UI file!
- ********************************************************************************/
- #ifndef UI_GLOBALSHIFTSETTINGSDLG_H
- #define UI_GLOBALSHIFTSETTINGSDLG_H
- #include <QtCore/QVariant>
- #include <QtWidgets/QApplication>
- #include <QtWidgets/QDialog>
- #include <QtWidgets/QDialogButtonBox>
- #include <QtWidgets/QFormLayout>
- #include <QtWidgets/QLabel>
- #include <QtWidgets/QPlainTextEdit>
- #include <QtWidgets/QSpinBox>
- #include <QtWidgets/QVBoxLayout>
- QT_BEGIN_NAMESPACE
- class Ui_GlobalShiftSettingsDialog
- {
- public:
- QVBoxLayout *verticalLayout;
- QPlainTextEdit *plainTextEdit;
- QLabel *label_3;
- QFormLayout *formLayout;
- QLabel *label;
- QSpinBox *maxAbsCoordSpinBox;
- QLabel *label_2;
- QSpinBox *maxAbsDiagSpinBox;
- QDialogButtonBox *buttonBox;
- void setupUi(QDialog *GlobalShiftSettingsDialog)
- {
- if (GlobalShiftSettingsDialog->objectName().isEmpty())
- GlobalShiftSettingsDialog->setObjectName(QString::fromUtf8("GlobalShiftSettingsDialog"));
- GlobalShiftSettingsDialog->resize(370, 280);
- verticalLayout = new QVBoxLayout(GlobalShiftSettingsDialog);
- verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
- plainTextEdit = new QPlainTextEdit(GlobalShiftSettingsDialog);
- plainTextEdit->setObjectName(QString::fromUtf8("plainTextEdit"));
- plainTextEdit->setStyleSheet(QString::fromUtf8("color: grey; font-style: italic;"));
- plainTextEdit->setReadOnly(true);
- plainTextEdit->setTextInteractionFlags(Qt::NoTextInteraction);
- verticalLayout->addWidget(plainTextEdit);
- label_3 = new QLabel(GlobalShiftSettingsDialog);
- label_3->setObjectName(QString::fromUtf8("label_3"));
- verticalLayout->addWidget(label_3);
- formLayout = new QFormLayout();
- formLayout->setObjectName(QString::fromUtf8("formLayout"));
- label = new QLabel(GlobalShiftSettingsDialog);
- label->setObjectName(QString::fromUtf8("label"));
- formLayout->setWidget(0, QFormLayout::LabelRole, label);
- maxAbsCoordSpinBox = new QSpinBox(GlobalShiftSettingsDialog);
- maxAbsCoordSpinBox->setObjectName(QString::fromUtf8("maxAbsCoordSpinBox"));
- maxAbsCoordSpinBox->setPrefix(QString::fromUtf8("10^"));
- maxAbsCoordSpinBox->setMinimum(2);
- maxAbsCoordSpinBox->setMaximum(12);
- maxAbsCoordSpinBox->setValue(4);
- formLayout->setWidget(0, QFormLayout::FieldRole, maxAbsCoordSpinBox);
- label_2 = new QLabel(GlobalShiftSettingsDialog);
- label_2->setObjectName(QString::fromUtf8("label_2"));
- formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
- maxAbsDiagSpinBox = new QSpinBox(GlobalShiftSettingsDialog);
- maxAbsDiagSpinBox->setObjectName(QString::fromUtf8("maxAbsDiagSpinBox"));
- maxAbsDiagSpinBox->setPrefix(QString::fromUtf8("10^"));
- maxAbsDiagSpinBox->setMinimum(2);
- maxAbsDiagSpinBox->setMaximum(12);
- maxAbsDiagSpinBox->setValue(6);
- formLayout->setWidget(1, QFormLayout::FieldRole, maxAbsDiagSpinBox);
- verticalLayout->addLayout(formLayout);
- buttonBox = new QDialogButtonBox(GlobalShiftSettingsDialog);
- buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
- buttonBox->setOrientation(Qt::Horizontal);
- buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
- verticalLayout->addWidget(buttonBox);
- retranslateUi(GlobalShiftSettingsDialog);
- QObject::connect(buttonBox, SIGNAL(accepted()), GlobalShiftSettingsDialog, SLOT(accept()));
- QObject::connect(buttonBox, SIGNAL(rejected()), GlobalShiftSettingsDialog, SLOT(reject()));
- QMetaObject::connectSlotsByName(GlobalShiftSettingsDialog);
- } // setupUi
- void retranslateUi(QDialog *GlobalShiftSettingsDialog)
- {
- GlobalShiftSettingsDialog->setWindowTitle(QCoreApplication::translate("GlobalShiftSettingsDialog", "Global Shift settings", nullptr));
- plainTextEdit->setPlainText(QCoreApplication::translate("GlobalShiftSettingsDialog", "The Global Shift & Scale mechanism aims at reducing the loss of precision when working with big coordinates.\n"
- "\n"
- "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"
- "\n"
- "Here below you can set the limits above which the 'Global Shift & Scale' mechanism will be triggered.\n"
- "\n"
- "Note: the diagonal is not tested at loading time.", nullptr));
- label_3->setText(QCoreApplication::translate("GlobalShiftSettingsDialog", "Global Shift & Scale triggering limits:", nullptr));
- label->setText(QCoreApplication::translate("GlobalShiftSettingsDialog", "Max absolute coordinate", nullptr));
- #if QT_CONFIG(tooltip)
- 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));
- #endif // QT_CONFIG(tooltip)
- maxAbsCoordSpinBox->setSuffix(QString());
- label_2->setText(QCoreApplication::translate("GlobalShiftSettingsDialog", "Max entity diagonal", nullptr));
- #if QT_CONFIG(tooltip)
- 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));
- #endif // QT_CONFIG(tooltip)
- maxAbsDiagSpinBox->setSuffix(QString());
- } // retranslateUi
- };
- namespace Ui {
- class GlobalShiftSettingsDialog: public Ui_GlobalShiftSettingsDialog {};
- } // namespace Ui
- QT_END_NAMESPACE
- #endif // UI_GLOBALSHIFTSETTINGSDLG_H
|