git-svn-id: svn://db.shs.com.ru/libs@883 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -9,6 +9,10 @@ PrimitiveEditor::PrimitiveEditor(QWidget *parent) : QWidget(parent), ui(new Ui::
|
|||||||
view = 0;
|
view = 0;
|
||||||
can_replace = false;
|
can_replace = false;
|
||||||
ui->setupUi(this);
|
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->widgetWidth;
|
||||||
editors[Plane] << ui->widgetLength;
|
editors[Plane] << ui->widgetLength;
|
||||||
editors[Cube] << ui->widgetWidth;
|
editors[Cube] << ui->widgetWidth;
|
||||||
|
|||||||
@@ -269,9 +269,6 @@
|
|||||||
<property name="singleStep">
|
<property name="singleStep">
|
||||||
<number>1</number>
|
<number>1</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="stepType">
|
|
||||||
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
|
|
||||||
</property>
|
|
||||||
<property name="value">
|
<property name="value">
|
||||||
<number>16</number>
|
<number>16</number>
|
||||||
</property>
|
</property>
|
||||||
@@ -310,9 +307,6 @@
|
|||||||
<property name="singleStep">
|
<property name="singleStep">
|
||||||
<number>1</number>
|
<number>1</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="stepType">
|
|
||||||
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
|
|
||||||
</property>
|
|
||||||
<property name="value">
|
<property name="value">
|
||||||
<number>16</number>
|
<number>16</number>
|
||||||
</property>
|
</property>
|
||||||
|
|||||||
@@ -29,6 +29,9 @@ ViewEditor::ViewEditor(QWidget * parent): QWidget(parent) {
|
|||||||
view = 0;
|
view = 0;
|
||||||
active = true;
|
active = true;
|
||||||
ui->checkCameraLight->setCheckState(Qt::PartiallyChecked);
|
ui->checkCameraLight->setCheckState(Qt::PartiallyChecked);
|
||||||
|
#if QT_VERSION >= QT_VERSION_CHECK(5,12,0)
|
||||||
|
ui->spinDepthStart->setStepType(QAbstractSpinBox::AdaptiveDecimalStepType);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -252,9 +252,6 @@
|
|||||||
<property name="maximum">
|
<property name="maximum">
|
||||||
<double>999999999.000000000000000</double>
|
<double>999999999.000000000000000</double>
|
||||||
</property>
|
</property>
|
||||||
<property name="stepType">
|
|
||||||
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
|
|
||||||
</property>
|
|
||||||
<property name="value">
|
<property name="value">
|
||||||
<double>1.000000000000000</double>
|
<double>1.000000000000000</double>
|
||||||
</property>
|
</property>
|
||||||
|
|||||||
Reference in New Issue
Block a user