19#ifndef QGSVECTORLAYERPROPERTIES
20#define QGSVECTORLAYERPROPERTIES
22#include <QStandardItemModel>
24#include "ui_qgsvectorlayerpropertiesbase.h"
45class QgsVectorLayer3DRendererWidget;
48class QgsMaskingWidget;
65 bool eventFilter( QObject *obj, QEvent *ev )
override;
76 void insertOrEditExpression();
79 QString htmlMetadata();
85 void pbnQueryBuilder_clicked();
86 void pbnIndex_clicked();
88 void pbnUpdateExtents_clicked();
90 void mButtonAddJoin_clicked();
91 void mButtonEditJoin_clicked();
92 void mJoinTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
93 void mButtonRemoveJoin_clicked();
96 void addMetadataUrl();
97 void removeSelectedMetadataUrl();
98 void mButtonAddWmsDimension_clicked();
99 void mButtonEditWmsDimension_clicked();
100 void mWmsDimensionsTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
101 void mButtonRemoveWmsDimension_clicked();
103 void mSimplifyDrawingGroupBox_toggled(
bool checked );
113 void toggleEditing();
116 void saveMultipleStylesAs();
118 void aboutToShowStyleMenu();
123 void updateVariableEditor();
125 void onAuxiliaryLayerNew();
127 void onAuxiliaryLayerClear();
129 void onAuxiliaryLayerDelete();
131 void onAuxiliaryLayerDeleteField();
133 void onAuxiliaryLayerAddField();
136 void updateMapTipPreview();
148 void updateSymbologyPage();
150 void setPbnQueryBuilderEnabled();
155 bool mMetadataFilled =
false;
157 QString mOriginalSubsetSQL;
159 QAction *mActionLoadMetadata =
nullptr;
160 QAction *mActionSaveMetadataAs =
nullptr;
162 QAction *mActionLoadStyle =
nullptr;
163 QAction *mActionSaveStyle =
nullptr;
164 QAction *mActionSaveMultipleStyles =
nullptr;
171 QgsMaskingWidget *mMaskingWidget =
nullptr;
182 QList< QgsVectorLayerJoinInfo > mOldJoins;
184 void initDiagramTab();
191 QStandardItemModel *mMetadataUrlModel =
nullptr;
193 void updateAuxiliaryStoragePage();
194 void deleteAuxiliaryField(
int index );
206 QAction *mAuxiliaryLayerActionNew =
nullptr;
207 QAction *mAuxiliaryLayerActionClear =
nullptr;
208 QAction *mAuxiliaryLayerActionDelete =
nullptr;
209 QAction *mAuxiliaryLayerActionExport =
nullptr;
210 QAction *mAuxiliaryLayerActionDeleteField =
nullptr;
211 QAction *mAuxiliaryLayerActionAddField =
nullptr;
213 QgsVectorLayer3DRendererWidget *mVector3DWidget =
nullptr;
221 std::unique_ptr<QgsProjectDirtyBlocker> mProjectDirtyBlocker;
223 void initMapTipPreview();
230 friend class QgsAppScreenShots;
231 friend class TestQgsLayerPropertiesDialogs;
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...
Base class for "layer properties" dialogs, containing common utilities for handling functionality in ...
virtual void rollback()
Rolls back changes made to the layer.
void optionsStackedWidget_CurrentChanged(int index) override
virtual void apply()=0
Applies the dialog settings to the layer.
virtual void syncToLayer()=0
Resets the dialog to the current layer state.
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.
Base class for all map layer types.
A bar for displaying non-blocking messages to the user.
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.