16#ifndef QGSLAYERPROPERTIESDIALOG_H
17#define QGSLAYERPROPERTIESDIALOG_H
89 void saveDefaultStyle();
112 void loadMetadataFromFile();
119 void saveMetadataToFile();
126 void saveMetadataAsDefault();
133 void loadDefaultMetadata();
140 void loadStyleFromFile();
147 void saveStyleToFile();
154 void saveStyleAsDefault();
159 void loadDefaultStyle();
172 void refocusDialog();
177 void storeCurrentStyleForUndo();
186 QPushButton *mBtnStyle =
nullptr;
189 QPushButton *mBtnMetadata =
nullptr;
212 virtual
void rollback();
214 void optionsStackedWidget_CurrentChanged(
int index ) override;
222 void openUrl( const QUrl &url );
229 QString generateDialogTitle() const;
234 QWidget *mMetadataPage =
nullptr;
Base class for "layer properties" dialogs, containing common utilities for handling functionality in ...
StyleType
Style storage type.
QList< QgsMapLayerConfigWidget * > mConfigWidgets
Layer config widgets.
virtual void syncToLayer()=0
Resets the dialog to the current layer state.
QgsMapLayerStyle mOldStyle
Previous layer style.
Map canvas is a class for displaying all GIS data types on a canvas.
Stores style information (renderer, opacity, labeling, diagrams etc.) applicable to a map layer.
Base class for all map layer types.
A base dialog for options and properties dialogs that offers vertical tabs.
This class is a composition of two QSettings instances: