git-svn-id: svn://db.shs.com.ru/libs@883 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2020-03-20 20:23:02 +00:00
parent ec242b2264
commit c74a6b413a
4 changed files with 7 additions and 9 deletions

View File

@@ -9,6 +9,10 @@ PrimitiveEditor::PrimitiveEditor(QWidget *parent) : QWidget(parent), ui(new Ui::
view = 0;
can_replace = false;
ui->setupUi(this);
#if QT_VERSION >= QT_VERSION_CHECK(5,12,0)
ui->spinSegments->setStepType(QAbstractSpinBox::AdaptiveDecimalStepType);
ui->spinSegments2->setStepType(QAbstractSpinBox::AdaptiveDecimalStepType);
#endif
editors[Plane] << ui->widgetWidth;
editors[Plane] << ui->widgetLength;
editors[Cube] << ui->widgetWidth;