mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
Fix : in nomenclature .csv file, the variables of the value in column "label of folio" isn't assigned.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4857 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include "nomenclature.h"
|
||||
#include "elementprovider.h"
|
||||
#include "assignvariables.h"
|
||||
|
||||
#define PR(x) qDebug() << #x " = " << x;
|
||||
|
||||
/**
|
||||
@@ -137,10 +138,11 @@ QString nomenclature::getElementInfo(Element *elmt) {
|
||||
|
||||
Diagram *diagram = elmt -> diagram();
|
||||
DiagramContext elmt_info = elmt -> elementInformations();
|
||||
autonum::sequentialNumbers empty_seq;
|
||||
|
||||
info += QString::number(diagram -> folioIndex()+1) + ";";
|
||||
info += diagram -> title() + ";";
|
||||
info += diagram -> border_and_titleblock.folio() + ";";
|
||||
info += autonum::AssignVariables::formulaToLabel(diagram->border_and_titleblock.folio(), empty_seq, diagram) + ";";
|
||||
info += elmt -> name() + ";";
|
||||
info += elmt-> diagram()-> convertPosition(elmt -> scenePos()).toString() + ";";
|
||||
info += autonum::AssignVariables::formulaToLabel(elmt_info["label"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
|
||||
|
||||
Reference in New Issue
Block a user