diff --git a/src/Gui/DlgSettings3DView.ui b/src/Gui/DlgSettings3DView.ui index f312f18a3b..5dabdba1b4 100644 --- a/src/Gui/DlgSettings3DView.ui +++ b/src/Gui/DlgSettings3DView.ui @@ -91,6 +91,48 @@ will be shown at the lower left corner in opened files + + + + Steps by turn + + + + + + + Number of steps by turn when using arrows (default = 8 : step angle = 360/8 = 45 deg) + + + 8 + + + 4 + + + 36 + + + NaviStepByTurn + + + View + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + @@ -849,6 +891,11 @@ bounding box size of the 3D object that is currently displayed.
Gui/PrefWidgets.h
1 + + Gui::PrefSpinBox + QSpinBox +
Gui/PrefWidgets.h
+
CheckBox_CornerCoordSystem diff --git a/src/Gui/DlgSettings3DViewImp.cpp b/src/Gui/DlgSettings3DViewImp.cpp index 5d5c206b5a..7b79f8adae 100644 --- a/src/Gui/DlgSettings3DViewImp.cpp +++ b/src/Gui/DlgSettings3DViewImp.cpp @@ -113,6 +113,7 @@ void DlgSettings3DViewImp::saveSettings() ui->radioPerspective->onSave(); ui->radioOrthographic->onSave(); ui->qspinNewDocScale->onSave(); + ui->prefStepByTurn->onSave(); QVariant camera = ui->comboNewDocView->itemData(ui->comboNewDocView->currentIndex(), Qt::UserRole); hGrp->SetASCII("NewDocumentCameraOrientation", (const char*)camera.toByteArray()); @@ -144,6 +145,7 @@ void DlgSettings3DViewImp::loadSettings() ui->radioPerspective->onRestore(); ui->radioOrthographic->onRestore(); ui->qspinNewDocScale->onRestore(); + ui->prefStepByTurn->onRestore(); ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath ("User parameter:BaseApp/Preferences/View");