1.1 --- a/vymmodel.cpp Fri Feb 19 13:47:03 2010 +0000
1.2 +++ b/vymmodel.cpp Thu Feb 25 11:03:52 2010 +0000
1.3 @@ -9,6 +9,7 @@
1.4 #include "bugagent.h"
1.5 #include "editxlinkdialog.h"
1.6 #include "exports.h"
1.7 +#include "exporthtmldialog.h"
1.8 #include "exportxhtmldialog.h"
1.9 #include "file.h"
1.10 #include "geometry.h" // for addBBox
1.11 @@ -4259,7 +4260,7 @@
1.12
1.13 void VymModel::exportHTML (const QString &dir, bool askForName) //FIXME-2 own dialogue missing and also option to save settings in map
1.14 {
1.15 - ExportXHTMLDialog dia(NULL);
1.16 + ExportHTMLDialog dia(NULL);
1.17 dia.setFilePath (filePath );
1.18 dia.setMapName (mapName );
1.19 dia.readSettings();
1.20 @@ -4297,11 +4298,11 @@
1.21
1.22 ExportHTML ex (this);
1.23 ex.setFile (d.path()+"/"+mapName+".html");
1.24 - cout << "VM::exportHTML writing "<<ex.getFile().toStdString()<<endl;
1.25 + //qDebug()<< "VM::exportHTML writing "<<ex.getFile();
1.26 + ex.setCSSPath(dia.getCSSPath() );
1.27 ex.doExport();
1.28 setExportMode (false);
1.29
1.30 - //exportXML (dia.getDir(),false );
1.31 //dia.doExport(mapName );
1.32 //if (dia.hasChanged()) setChanged();
1.33
1.34 @@ -4694,7 +4695,7 @@
1.35 }
1.36
1.37
1.38 -void VymModel::animate()
1.39 +void VymModel::animate() //FIXME-2 animation causes flicker after cut/undo cut ?!?
1.40 {
1.41 animationTimer->stop();
1.42 BranchObj *bo;
1.43 @@ -4723,6 +4724,7 @@
1.44
1.45 void VymModel::startAnimation(BranchObj *bo, const QPointF &start, const QPointF &dest)
1.46 {
1.47 + qDebug()<<"Start animation for "<<bo->getTreeItem()<<getHeading();
1.48 if (start==dest) return;
1.49 if (bo && bo->getTreeItem()->depth()>0)
1.50 {