19#ifndef QGSVECTORLAYERPROPERTIES
20#define QGSVECTORLAYERPROPERTIES
22#include <QStandardItemModel>
25#include "ui_qgsvectorlayerpropertiesbase.h"
46class QgsVectorLayer3DRendererWidget;
49class QgsMaskingWidget;
83 void insertFieldOrExpression();
89 QString htmlMetadata();
101 void pbnQueryBuilder_clicked();
102 void pbnIndex_clicked();
104 void loadDefaultStyle_clicked();
105 void saveDefaultStyle_clicked();
107 void saveMetadataAs();
108 void saveDefaultMetadata();
109 void loadDefaultMetadata();
110 void pbnUpdateExtents_clicked();
112 void mButtonAddJoin_clicked();
113 void mButtonEditJoin_clicked();
114 void mJoinTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
115 void mButtonRemoveJoin_clicked();
118 void addMetadataUrl();
119 void removeSelectedMetadataUrl();
120 void mButtonAddWmsDimension_clicked();
121 void mButtonEditWmsDimension_clicked();
122 void mWmsDimensionsTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
123 void mButtonRemoveWmsDimension_clicked();
125 void mSimplifyDrawingGroupBox_toggled(
bool checked );
135 void toggleEditing();
141 void saveMultipleStylesAs();
146 void aboutToShowStyleMenu();
151 void updateVariableEditor();
153 void onAuxiliaryLayerNew();
155 void onAuxiliaryLayerClear();
157 void onAuxiliaryLayerDelete();
159 void onAuxiliaryLayerDeleteField();
161 void onAuxiliaryLayerAddField();
163 void urlClicked(
const QUrl &url );
173 void updateSymbologyPage();
175 void setPbnQueryBuilderEnabled();
181 bool mMetadataFilled =
false;
183 QString mOriginalSubsetSQL;
185 QPushButton *mBtnStyle =
nullptr;
186 QPushButton *mBtnMetadata =
nullptr;
187 QAction *mActionLoadMetadata =
nullptr;
188 QAction *mActionSaveMetadataAs =
nullptr;
190 QAction *mActionLoadStyle =
nullptr;
191 QAction *mActionSaveStyle =
nullptr;
192 QAction *mActionSaveMultipleStyles =
nullptr;
199 QgsMaskingWidget *mMaskingWidget =
nullptr;
210 QList< QgsVectorLayerJoinInfo > mOldJoins;
213 QList<QgsMapLayerConfigWidget *> mLayerPropertiesPages;
221 void initDiagramTab();
228 QStandardItemModel *mMetadataUrlModel =
nullptr;
230 void updateAuxiliaryStoragePage();
231 void deleteAuxiliaryField(
int index );
243 QAction *mAuxiliaryLayerActionNew =
nullptr;
244 QAction *mAuxiliaryLayerActionClear =
nullptr;
245 QAction *mAuxiliaryLayerActionDelete =
nullptr;
246 QAction *mAuxiliaryLayerActionExport =
nullptr;
247 QAction *mAuxiliaryLayerActionDeleteField =
nullptr;
248 QAction *mAuxiliaryLayerActionAddField =
nullptr;
250 QgsVectorLayer3DRendererWidget *mVector3DWidget =
nullptr;
261 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.
const QgsCoordinateReferenceSystem & crs
Setting to define QGIS Server WMS Dimension.