Skip to content
Permalink
Browse files

add mesh layer in app>layers>add layer

  • Loading branch information
PeterPetrik committed Jan 25, 2019
1 parent e78e0be commit 42413ce1931ea9858deeb286733a09bc87ff60a3
Showing with 11 additions and 0 deletions.
  1. +1 −0 src/app/qgisapp.cpp
  2. +10 −0 src/ui/qgisapp.ui
@@ -2208,6 +2208,7 @@ void QgisApp::createActions()
connect( mActionAddLayerDefinition, &QAction::triggered, this, &QgisApp::addLayerDefinition );
connect( mActionAddOgrLayer, &QAction::triggered, this, [ = ] { dataSourceManager( QStringLiteral( "ogr" ) ); } );
connect( mActionAddRasterLayer, &QAction::triggered, this, [ = ] { dataSourceManager( QStringLiteral( "gdal" ) ); } );
connect( mActionAddMeshLayer, &QAction::triggered, this, [ = ] { dataSourceManager( QStringLiteral( "mdal" ) ); } );
connect( mActionAddPgLayer, &QAction::triggered, this, [ = ] { dataSourceManager( QStringLiteral( "postgres" ) ); } );
connect( mActionAddSpatiaLiteLayer, &QAction::triggered, this, [ = ] { dataSourceManager( QStringLiteral( "spatialite" ) ); } );
connect( mActionAddMssqlLayer, &QAction::triggered, this, [ = ] { dataSourceManager( QStringLiteral( "mssql" ) ); } );
@@ -171,6 +171,7 @@
</property>
<addaction name="mActionAddOgrLayer"/>
<addaction name="mActionAddRasterLayer"/>
<addaction name="mActionAddMeshLayer"/>
<addaction name="mActionAddDelimitedText"/>
<addaction name="mActionAddPgLayer"/>
<addaction name="mActionAddSpatiaLiteLayer"/>
@@ -3161,6 +3162,15 @@ Acts on currently active editable layer</string>
<string>Mesh Calculator…</string>
</property>
</action>
<action name="mActionAddMeshLayer">
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionAddMeshLayer.svg</normaloff>:/images/themes/default/mActionAddMeshLayer.svg</iconset>
</property>
<property name="text">
<string>Add Mesh Layer...</string>
</property>
</action>
</widget>
<resources>
<include location="../../images/images.qrc"/>

0 comments on commit 42413ce

Please sign in to comment.
You can’t perform that action at this time.