Skip to content

Commit

Permalink
dxf export:
Browse files Browse the repository at this point in the history
* export layers in reversed rendering order
* use checkboxes for layer selection
* support for layers selection by visibility preset
* improve selection of layer attribute
* show busy cursor while exporting
* fix duplicate end of entities section
  • Loading branch information
jef-n committed Dec 8, 2014
1 parent 4980dba commit e27d809
Show file tree
Hide file tree
Showing 9 changed files with 270 additions and 256 deletions.
2 changes: 2 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -4078,6 +4078,7 @@ void QgisApp::dxfExport()
if ( !fileName.endsWith( ".dxf", Qt::CaseInsensitive ) )
fileName += ".dxf";
QFile dxfFile( fileName );
QApplication::setOverrideCursor( Qt::BusyCursor );
if ( dxfExport.writeToFile( &dxfFile ) == 0 )
{
messageBar()->pushMessage( tr( "DXF export completed" ), QgsMessageBar::INFO, 4 );
Expand All @@ -4086,6 +4087,7 @@ void QgisApp::dxfExport()
{
messageBar()->pushMessage( tr( "DXF export failed" ), QgsMessageBar::CRITICAL, 4 );
}
QApplication::restoreOverrideCursor();
}
}

Expand Down

0 comments on commit e27d809

Please sign in to comment.