19#ifndef QGSVECTORLAYERPROPERTIES
20#define QGSVECTORLAYERPROPERTIES
22#include <QStandardItemModel>
25#include "ui_qgsvectorlayerpropertiesbase.h"
46class QgsVectorLayer3DRendererWidget;
49class QgsMaskingWidget;
79 bool eventFilter( QObject *obj, QEvent *ev )
override;
86 void loadDefaultStyle();
93 void saveDefaultStyle();
114 void insertFieldOrExpression();
120 QString htmlMetadata();
132 void pbnQueryBuilder_clicked();
133 void pbnIndex_clicked();
136 void saveMetadataAs();
137 void saveDefaultMetadata();
138 void loadDefaultMetadata();
139 void pbnUpdateExtents_clicked();
141 void mButtonAddJoin_clicked();
142 void mButtonEditJoin_clicked();
143 void mJoinTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
144 void mButtonRemoveJoin_clicked();
147 void addMetadataUrl();
148 void removeSelectedMetadataUrl();
149 void mButtonAddWmsDimension_clicked();
150 void mButtonEditWmsDimension_clicked();
151 void mWmsDimensionsTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
152 void mButtonRemoveWmsDimension_clicked();
154 void mSimplifyDrawingGroupBox_toggled(
bool checked );
164 void toggleEditing();
167 void saveMultipleStylesAs();
169 void aboutToShowStyleMenu();
174 void updateVariableEditor();
176 void onAuxiliaryLayerNew();
178 void onAuxiliaryLayerClear();
180 void onAuxiliaryLayerDelete();
182 void onAuxiliaryLayerDeleteField();
184 void onAuxiliaryLayerAddField();
186 void urlClicked(
const QUrl &url );
189 void updateMapTipPreview();
201 void updateSymbologyPage();
203 void setPbnQueryBuilderEnabled();
209 bool mMetadataFilled =
false;
211 QString mOriginalSubsetSQL;
213 QPushButton *mBtnStyle =
nullptr;
214 QPushButton *mBtnMetadata =
nullptr;
215 QAction *mActionLoadMetadata =
nullptr;
216 QAction *mActionSaveMetadataAs =
nullptr;
218 QAction *mActionLoadStyle =
nullptr;
219 QAction *mActionSaveStyle =
nullptr;
220 QAction *mActionSaveMultipleStyles =
nullptr;
227 QgsMaskingWidget *mMaskingWidget =
nullptr;
238 QList< QgsVectorLayerJoinInfo > mOldJoins;
241 QList<QgsMapLayerConfigWidget *> mLayerPropertiesPages;
249 void initDiagramTab();
256 QStandardItemModel *mMetadataUrlModel =
nullptr;
258 void updateAuxiliaryStoragePage();
259 void deleteAuxiliaryField(
int index );
271 QAction *mAuxiliaryLayerActionNew =
nullptr;
272 QAction *mAuxiliaryLayerActionClear =
nullptr;
273 QAction *mAuxiliaryLayerActionDelete =
nullptr;
274 QAction *mAuxiliaryLayerActionExport =
nullptr;
275 QAction *mAuxiliaryLayerActionDeleteField =
nullptr;
276 QAction *mAuxiliaryLayerActionAddField =
nullptr;
278 QgsVectorLayer3DRendererWidget *mVector3DWidget =
nullptr;
286 void initMapTipPreview();
293 friend class QgsAppScreenShots;
Class allowing to manage the auxiliary storage for a vector layer.
This class represents a coordinate reference system (CRS).
The QgsSpinBox is a spin box with a clear button that will set the value to the defined clear value.
Abstract interface for generating an expression context.
virtual QgsExpressionContext createExpressionContext() const =0
This method needs to be reimplemented in all classes which implement this interface and return an exp...
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
QgsLayerTreeFilterProxyModel is a sort filter proxy model to easily reproduce the legend/layer tree i...
Map canvas is a class for displaying all GIS data types on a canvas.
The QgsMapLayerComboBox class is a combo box which displays the list of layers.
Stores style information (renderer, opacity, labeling, diagrams etc.) applicable to a map layer.
Base class for all map layer types.
A bar for displaying non-blocking messages to the user.
A base dialog for options and properties dialogs that offers vertical tabs.
virtual void optionsStackedWidget_CurrentChanged(int index)
Select relevant tab on current page change.
Defines left outer join from our vector layer to some other vector layer.
void toggleEditing(QgsMapLayer *)
void exportAuxiliaryLayer(QgsAuxiliaryLayer *layer)
Represents a vector layer which manages a vector based data sets.
The QgsWebView class is a collection of stubs to mimic the API of QWebView on systems where the real ...
const QgsCoordinateReferenceSystem & crs
Setting to define QGIS Server WMS Dimension.