Refactor specification handling in DocumentSettingsDialog and PDFController. Introduced primary application field for document types, updated export messages for consistency, and improved page number handling in specifications. Cleaned up unnecessary code in preview widgets.
This commit is contained in:
@@ -203,7 +203,17 @@ void SpecificationPCBController::generateTableFromComponents()
|
||||
m_tableModel->addRow(pcbInfo);
|
||||
|
||||
m_tableModel->addRow(emptyRow);
|
||||
|
||||
SpecificationPCBRowData headerRow2;
|
||||
headerRow2.isHeader = true;
|
||||
headerRow2.format = SpecificationPCBCellData("", 0, 1, true, false, false, 100, true);
|
||||
headerRow2.zone = SpecificationPCBCellData("", 0, 1, true, false, false, 100, true);
|
||||
headerRow2.position = SpecificationPCBCellData("", 0, 1, true, false, false, 100, true);
|
||||
headerRow2.designation = SpecificationPCBCellData("", 0, 1, true, false, false, 100, true);
|
||||
headerRow2.name = SpecificationPCBCellData("Детали", 0, 1, true, false, false, 100, true);
|
||||
headerRow2.quantity = SpecificationPCBCellData("", 0, 1, true, false, false, 100, true);
|
||||
headerRow2.note = SpecificationPCBCellData("", 0, 1, true, false, false, 100, true);
|
||||
m_tableModel->addRow(headerRow2);
|
||||
m_tableModel->addRow(emptyRow);
|
||||
SpecificationPCBRowData headerRow2_1;
|
||||
headerRow2_1.isHeader = true;
|
||||
headerRow2_1.format = SpecificationPCBCellData("", 0, 1, true, false, false, 100, true);
|
||||
@@ -215,16 +225,7 @@ void SpecificationPCBController::generateTableFromComponents()
|
||||
headerRow2_1.note = SpecificationPCBCellData("", 0, 1, true, false, false, 100, true);
|
||||
m_tableModel->addRow(headerRow2_1);
|
||||
m_tableModel->addRow(emptyRow);
|
||||
SpecificationPCBRowData headerRow2;
|
||||
headerRow2.isHeader = true;
|
||||
headerRow2.format = SpecificationPCBCellData("", 0, 1, true, false, false, 100, true);
|
||||
headerRow2.zone = SpecificationPCBCellData("", 0, 1, true, false, false, 100, true);
|
||||
headerRow2.position = SpecificationPCBCellData("", 0, 1, true, false, false, 100, true);
|
||||
headerRow2.designation = SpecificationPCBCellData("", 0, 1, true, false, false, 100, true);
|
||||
headerRow2.name = SpecificationPCBCellData("Детали", 0, 1, true, false, false, 100, true);
|
||||
headerRow2.quantity = SpecificationPCBCellData("", 0, 1, true, false, false, 100, true);
|
||||
headerRow2.note = SpecificationPCBCellData("", 0, 1, true, false, false, 100, true);
|
||||
m_tableModel->addRow(headerRow2);
|
||||
|
||||
|
||||
SpecificationPCBRowData headerRow3;
|
||||
headerRow3.isHeader = true;
|
||||
|
||||
Reference in New Issue
Block a user