16#ifndef QGSMAPLAYERSAVESTYLEDIALOG_H
17#define QGSMAPLAYERSAVESTYLEDIALOG_H
21#include "ui_qgsmaplayersavestyledialog.h"
114 void updateSaveButtonState();
116 void readUiFileContent(
const QString &filePath );
119 void invertSelection();
122 void setupMultipleStyles();
123 void populateStyleComboBox();
126 QString mUiFileContent;
127 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