List of Drawings: DXF export added and multple sheets for large project added.

Pending work:
- folio string to be formatted correctly.
- thorough testing to be done because lot of changes to addDiagram / removeDiagram had to be done 
  to add the feature of multiple folio list sheets



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2836 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
abhishekm71
2014-02-08 18:17:10 +00:00
parent a57973a101
commit 173f1988ac
8 changed files with 264 additions and 53 deletions

View File

@@ -33,6 +33,7 @@
#include "qetresult.h"
#include "genericpanel.h"
#include "nomenclature.h"
#include "diagramfoliolist.h"
#include "ui/dialogautonum.h"
@@ -1682,8 +1683,11 @@ void QETDiagramEditor::addDiagramToProject() {
}
void QETDiagramEditor::addDiagramFolioListToProject() {
if (ProjectView *current_project = currentProject()) {
current_project -> addNewDiagramFolioList();
ProjectView *current_project = currentProject();
if (current_project && DiagramFolioList::folioList_quantity == 0) {
int diagram_qty = current_project -> diagrams().size();
for (int i = 0; i <= diagram_qty/58; i++)
current_project -> addNewDiagramFolioList();
}
}