16#ifndef QGSMAPLAYERSAVESTYLEDIALOG_H
17#define QGSMAPLAYERSAVESTYLEDIALOG_H
22#include "ui_qgsmaplayersavestyledialog.h"
113 void updateSaveButtonState();
115 void readUiFileContent(
const QString &filePath );
118 void invertSelection();
121 void setupMultipleStyles();
122 void populateStyleComboBox();
125 QString mUiFileContent;
126 bool mSaveOnlyCurrentStyle =
true;
QFlags< SldExportOption > SldExportOptions
StyleType
Style storage type.
QString outputFilePath() const
Returns the selected file output path.
Qgis::SldExportOptions sldExportOptions() const
Returns the SLD export options.
SaveToDbSettings saveToDbSettings() const
Returns the database settings for saving the style in the DB.
void setSaveOnlyCurrentStyle(bool saveCurrentStyle)
Sets whether the user only allowed to save the current style.
bool saveOnlyCurrentStyle() const
Returns whether the user only allowed to save the current style.
QgsMapLayer::StyleCategories styleCategories() const
Returns the available style categories.
QgsLayerPropertiesDialog::StyleType currentStyleType() const
Returns the selected style storage type.
QgsMapLayerSaveStyleDialog(QgsMapLayer *layer, QWidget *parent=nullptr)
Constructor.
const QListWidget * stylesWidget()
Returns the styles list widget.
Model for layer style categories.
Base class for all map layer types.
QFlags< StyleCategory > StyleCategories