#include <qptrlist.h>
#include <qptrvector.h>
#include <qcolordialog.h>
+#include <qdatetime.h>
// VTK Includes
#include <vtkRenderer.h>
tr("ERR_ERROR_IN_THE_FILE"),
tr("BUT_OK"));
}else{
+ INFOS( "VisuGUI::OnImportFromFile() : File importing done in " <<
+ vtkTimerLog::GetCPUTime() - initialTime << " seconds" );
+
UpdateObjBrowser(this);
- application()->putInfo(aFileInfo.filePath() + tr("INF_DONE") + " in " +
- QString::number( vtkTimerLog::GetCPUTime() - initialTime ) +
- " seconds", -1 );
+
+ QTime aTime;
+ int mSecs = ( int )( 1000 * ( vtkTimerLog::GetCPUTime() - initialTime ) );
+ aTime = aTime.addMSecs( mSecs );
+ application()->putInfo( aFileInfo.filePath() + tr( "INF_DONE" ) + " in " +
+ aTime.toString( "m:ss.zzz" ), -1 );
}
}
}