mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
Ajout d'une option pour exporter le schema sans dessiner les bornes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@148 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -204,14 +204,6 @@ bool CustomElement::parseElement(QDomElement &e, QPainter &qp) {
|
||||
@return true si l'analyse reussit, false sinon
|
||||
*/
|
||||
bool CustomElement::parseLine(QDomElement &e, QPainter &qp) {
|
||||
//qDebug() << "parseLine sur " << (void *)(&dessin);
|
||||
// qDebug() << names.name() << (void *)(&dessin);
|
||||
// qp.end();
|
||||
// PartLine t;
|
||||
// t.fromXml(e);
|
||||
// t.renderToCustomElement(*this);
|
||||
// qp.begin(&dessin);
|
||||
//return(true);
|
||||
// verifie la presence et la validite des attributs obligatoires
|
||||
double x1, y1, x2, y2;
|
||||
if (!QET::attributeIsAReal(e, QString("x1"), &x1)) return(false);
|
||||
|
||||
Reference in New Issue
Block a user