Skip to content

Commit 5e6c382

Browse files
3nidsnyalldawson
authored andcommitted
single dialog to save all types (QML, SLD, DataBase)
1 parent cb97740 commit 5e6c382

13 files changed

+348
-536
lines changed

python/core/auto_generated/qgsmaplayer.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ record in the users style table in their personal qgis.db)
874874
.. seealso:: :py:func:`loadNamedStyle`
875875
%End
876876

877-
virtual QString saveNamedStyle( const QString &uri, bool &resultFlag /Out/ );
877+
virtual QString saveNamedStyle( const QString &uri, bool &resultFlag /Out/, StyleCategories categories = AllStyleCategories );
878878
%Docstring
879879
Save the properties of this layer as a named style
880880
(either as a .qml file on disk or as a

src/app/CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ SET(QGIS_APP_SRCS
6666
qgspuzzlewidget.cpp
6767
qgsversionmigration.cpp
6868
qgsrulebasedlabelingwidget.cpp
69-
qgssavestyletodbdialog.cpp
7069
qgssnappinglayertreemodel.cpp
7170
qgssnappingwidget.cpp
7271
qgsstatusbarcoordinateswidget.cpp
@@ -138,7 +137,7 @@ SET(QGIS_APP_SRCS
138137
qgssvgannotationdialog.cpp
139138
qgsundowidget.cpp
140139
qgsvectorlayerlegendwidget.cpp
141-
qgsvectorlayerloadsavestyledialog.cpp
140+
qgsvectorlayersavestyledialog.cpp
142141
qgsvectorlayerproperties.cpp
143142
qgsmapthemes.cpp
144143
qgshandlebadlayers.cpp
@@ -290,7 +289,6 @@ SET (QGIS_APP_MOC_HDRS
290289
qgsmapsavedialog.h
291290
qgspuzzlewidget.h
292291
qgsrulebasedlabelingwidget.h
293-
qgssavestyletodbdialog.h
294292
qgssnappinglayertreemodel.h
295293
qgssnappingwidget.h
296294
qgsstatusbarcoordinateswidget.h
@@ -378,7 +376,7 @@ SET (QGIS_APP_MOC_HDRS
378376
qgstextannotationdialog.h
379377
qgsundowidget.h
380378
qgsvectorlayerlegendwidget.h
381-
qgsvectorlayerloadsavestyledialog.h
379+
qgsvectorlayersavestyledialog.h
382380
qgsvectorlayerproperties.h
383381
qgsmapthemes.h
384382
qgshandlebadlayers.h

src/app/qgssavestyletodbdialog.cpp

Lines changed: 0 additions & 113 deletions
This file was deleted.

src/app/qgssavestyletodbdialog.h

Lines changed: 0 additions & 48 deletions
This file was deleted.

src/app/qgsvectorlayerloadsavestyledialog.cpp

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)