[TD]Preferences: reorganize and add missing
This commit is contained in:
@@ -34,8 +34,8 @@ DlgPrefsTechDraw2Imp::DlgPrefsTechDraw2Imp( QWidget* parent )
|
||||
: PreferencePage( parent )
|
||||
{
|
||||
this->setupUi(this);
|
||||
plsb_FontSize->setUnit(Base::Unit::Length);
|
||||
plsb_ArrowSize->setUnit(Base::Unit::Length);
|
||||
// pdsbTemplateMark->setUnit(Base::Unit::Length);
|
||||
|
||||
}
|
||||
|
||||
DlgPrefsTechDraw2Imp::~DlgPrefsTechDraw2Imp()
|
||||
@@ -45,48 +45,38 @@ DlgPrefsTechDraw2Imp::~DlgPrefsTechDraw2Imp()
|
||||
|
||||
void DlgPrefsTechDraw2Imp::saveSettings()
|
||||
{
|
||||
cbShowUnits->onSave();
|
||||
plsb_FontSize->onSave();
|
||||
pdsb_TolFactor->onSave();
|
||||
colDimColor->onSave();
|
||||
leDiameter->onSave();
|
||||
pcbMatting->onSave();
|
||||
pcbCenterStyle->onSave();
|
||||
colCenterLine->onSave();
|
||||
pcbSectionStyle->onSave();
|
||||
colSectionLine->onSave();
|
||||
pcbArrow->onSave();
|
||||
cbGlobalDecimals->onSave();
|
||||
sbAltDecimals->onSave();
|
||||
leformatSpec->onSave();
|
||||
plsb_ArrowSize->onSave();
|
||||
leLineGroup->onSave();
|
||||
pdsb_VertexScale->onSave();
|
||||
pcb_VertexColor->onSave();
|
||||
pcbStandardAndStyle->onSave();
|
||||
pdsbToleranceScale->onSave();
|
||||
pdsbTemplateMark->onSave();
|
||||
|
||||
pdsbVertexScale->onSave();
|
||||
pdsbCenterScale->onSave();
|
||||
|
||||
pdsbPageScale->onSave();
|
||||
cbViewScaleType->onSave();
|
||||
pdsbViewScale->onSave();
|
||||
pdsbEdgeFuzz->onSave();
|
||||
pdsbMarkFuzz->onSave();
|
||||
pdsbOverlapRadius->onSave();
|
||||
pdsbTemplateMark->onSave();
|
||||
}
|
||||
|
||||
void DlgPrefsTechDraw2Imp::loadSettings()
|
||||
{
|
||||
cbShowUnits->onRestore();
|
||||
plsb_FontSize->onRestore();
|
||||
pdsb_TolFactor->onRestore();
|
||||
colDimColor->onRestore();
|
||||
leDiameter->onRestore();
|
||||
pcbMatting->onRestore();
|
||||
pcbCenterStyle->onRestore();
|
||||
colCenterLine->onRestore();
|
||||
pcbSectionStyle->onRestore();
|
||||
colSectionLine->onRestore();
|
||||
pcbArrow->onRestore();
|
||||
cbGlobalDecimals->onRestore();
|
||||
sbAltDecimals->onRestore();
|
||||
leformatSpec->onRestore();
|
||||
plsb_ArrowSize->onRestore();
|
||||
leLineGroup->onRestore();
|
||||
pdsb_VertexScale->onRestore();
|
||||
pcb_VertexColor->onRestore();
|
||||
pcbStandardAndStyle->onRestore();
|
||||
|
||||
pdsbToleranceScale->onRestore();
|
||||
|
||||
pdsbTemplateMark->onRestore();
|
||||
|
||||
pdsbVertexScale->onRestore();
|
||||
pdsbCenterScale->onRestore();
|
||||
|
||||
pdsbPageScale->onRestore();
|
||||
cbViewScaleType->onRestore();
|
||||
pdsbViewScale->onRestore();
|
||||
pdsbEdgeFuzz->onRestore();
|
||||
pdsbMarkFuzz->onRestore();
|
||||
pdsbOverlapRadius->onRestore();
|
||||
pdsbTemplateMark->onRestore();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user