QGIS API Documentation
3.22.4-Białowieża (ce8e65e95e)
|
The QgsVectorLayerSaveStyleDialog class provides the UI to save the current style or multiple styles into different storage containers (QML, SLD and DB). More...
#include <qgsvectorlayersavestyledialog.h>
Classes | |
struct | SaveToDbSettings |
Public Slots | |
void | accept () override |
Public Member Functions | |
QgsVectorLayerSaveStyleDialog (QgsVectorLayer *layer, QWidget *parent=nullptr) | |
QgsVectorLayerProperties::StyleType | currentStyleType () const |
QString | outputFilePath () const |
bool | saveOnlyCurrentStyle () const |
SaveToDbSettings | saveToDbSettings () const |
void | setSaveOnlyCurrentStyle (bool saveCurrentStyle) |
QgsMapLayer::StyleCategories | styleCategories () const |
const QListWidget * | stylesWidget () |
The QgsVectorLayerSaveStyleDialog class provides the UI to save the current style or multiple styles into different storage containers (QML, SLD and DB).
The user can select what categories must be saved.
Definition at line 38 of file qgsvectorlayersavestyledialog.h.
|
explicit |
Definition at line 26 of file qgsvectorlayersavestyledialog.cpp.
|
overrideslot |
Definition at line 93 of file qgsvectorlayersavestyledialog.cpp.
QgsVectorLayerProperties::StyleType QgsVectorLayerSaveStyleDialog::currentStyleType | ( | ) | const |
Definition at line 143 of file qgsvectorlayersavestyledialog.cpp.
QString QgsVectorLayerSaveStyleDialog::outputFilePath | ( | ) | const |
Definition at line 133 of file qgsvectorlayersavestyledialog.cpp.
bool QgsVectorLayerSaveStyleDialog::saveOnlyCurrentStyle | ( | ) | const |
Definition at line 215 of file qgsvectorlayersavestyledialog.cpp.
QgsVectorLayerSaveStyleDialog::SaveToDbSettings QgsVectorLayerSaveStyleDialog::saveToDbSettings | ( | ) | const |
Definition at line 123 of file qgsvectorlayersavestyledialog.cpp.
void QgsVectorLayerSaveStyleDialog::setSaveOnlyCurrentStyle | ( | bool | saveCurrentStyle | ) |
Definition at line 220 of file qgsvectorlayersavestyledialog.cpp.
QgsMapLayer::StyleCategories QgsVectorLayerSaveStyleDialog::styleCategories | ( | ) | const |
Definition at line 138 of file qgsvectorlayersavestyledialog.cpp.
const QListWidget * QgsVectorLayerSaveStyleDialog::stylesWidget | ( | ) |
Definition at line 229 of file qgsvectorlayersavestyledialog.cpp.