put all STEP export/import options into one tab page

This commit is contained in:
wmayer
2018-02-07 22:46:30 +01:00
parent 6fb1972875
commit 4eb3f9aeb6
6 changed files with 93 additions and 61 deletions

View File

@@ -230,14 +230,17 @@ void DlgImportExportStep::saveSettings()
}
else {
// possible values: AP214CD (1996), AP214DIS (1998), AP214IS (2002)
Interface_Static::SetCVal("write.step.schema","AP214CD");
hStepGrp->SetASCII("Scheme", "AP214CD");
Interface_Static::SetCVal("write.step.schema","AP214IS");
hStepGrp->SetASCII("Scheme", "AP214IS");
}
// header info
hStepGrp->SetASCII("Company", ui->lineEditCompany->text().toLatin1());
hStepGrp->SetASCII("Author", ui->lineEditAuthor->text().toLatin1());
//hStepGrp->SetASCII("Product", ui->lineEditProduct->text().toLatin1());
// (h)STEP of Import module
ui->checkBoxMergeCompound->onSave();
}
void DlgImportExportStep::loadSettings()
@@ -269,6 +272,9 @@ void DlgImportExportStep::loadSettings()
ui->lineEditAuthor->setText(QString::fromStdString(hStepGrp->GetASCII("Author")));
ui->lineEditProduct->setText(QString::fromLatin1(
Interface_Static::CVal("write.step.product.name")));
// (h)STEP of Import module
ui->checkBoxMergeCompound->onRestore();
}
/**