TechDraw: Header uniformity and whitespace fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2014 Joe Dowsett <dowsettjoe[at]yahoo[dot]co[dot]uk> *
|
||||
* Copyright (c) 2014 Luke Parry <l.parry@warwick.ac.uk> *
|
||||
* Copyright (c) 2014 Luke Parry <l.parry@warwick.ac.uk> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
@@ -75,8 +75,8 @@ TaskProjGroup::TaskProjGroup(TechDraw::DrawProjGroup* featView, bool mode) :
|
||||
|
||||
setFractionalScale(multiView->getScale());
|
||||
ui->cmbScaleType->setCurrentIndex(multiView->ScaleType.getValue());
|
||||
|
||||
//Allow or prevent scale changing initially
|
||||
|
||||
//Allow or prevent scale changing initially
|
||||
if (multiView->ScaleType.isValue("Custom")) {
|
||||
ui->sbScaleNum->setEnabled(true);
|
||||
ui->sbScaleDen->setEnabled(true);
|
||||
@@ -170,7 +170,7 @@ void TaskProjGroup::restoreGroupState()
|
||||
Base::Console().Message("TPG::restoreGroupState()\n");
|
||||
if (multiView != nullptr) {
|
||||
multiView->ProjectionType.setValue(m_saveProjType.c_str());
|
||||
multiView->ScaleType.setValue(m_saveScaleType.c_str());
|
||||
multiView->ScaleType.setValue(m_saveScaleType.c_str());
|
||||
multiView->Scale.setValue(m_saveScale);
|
||||
multiView->AutoDistribute.setValue(m_saveAutoDistribute);
|
||||
multiView->spacingX.setValue(m_saveSpacingX);
|
||||
@@ -224,7 +224,7 @@ void TaskProjGroup::rotateButtonClicked(void)
|
||||
multiView->rotateRight();
|
||||
} else if ( clicked == ui->butLeftRotate) {
|
||||
multiView->rotateLeft();
|
||||
} else if ( clicked == ui->butCWRotate ) {
|
||||
} else if ( clicked == ui->butCWRotate ) {
|
||||
multiView->spinCW();
|
||||
} else if ( clicked == ui->butCCWRotate) {
|
||||
multiView->spinCCW();
|
||||
@@ -257,7 +257,7 @@ void TaskProjGroup::scaleTypeChanged(int index)
|
||||
if (blockUpdate)
|
||||
return;
|
||||
|
||||
//defaults to prevent scale changing
|
||||
//defaults to prevent scale changing
|
||||
ui->sbScaleNum->setEnabled(false);
|
||||
ui->sbScaleDen->setEnabled(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user