Skip to content

Commit e27d809

Browse files
committedDec 8, 2014
dxf export:
* 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
1 parent 4980dba commit e27d809

File tree

9 files changed

+270
-256
lines changed

9 files changed

+270
-256
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4078,6 +4078,7 @@ void QgisApp::dxfExport()
40784078
if ( !fileName.endsWith( ".dxf", Qt::CaseInsensitive ) )
40794079
fileName += ".dxf";
40804080
QFile dxfFile( fileName );
4081+
QApplication::setOverrideCursor( Qt::BusyCursor );
40814082
if ( dxfExport.writeToFile( &dxfFile ) == 0 )
40824083
{
40834084
messageBar()->pushMessage( tr( "DXF export completed" ), QgsMessageBar::INFO, 4 );
@@ -4086,6 +4087,7 @@ void QgisApp::dxfExport()
40864087
{
40874088
messageBar()->pushMessage( tr( "DXF export failed" ), QgsMessageBar::CRITICAL, 4 );
40884089
}
4090+
QApplication::restoreOverrideCursor();
40894091
}
40904092
}
40914093

0 commit comments

Comments
 (0)
Please sign in to comment.