19 #ifndef QGSVECTORLAYERPROPERTIES
20 #define QGSVECTORLAYERPROPERTIES
22 #include <QStandardItemModel>
25 #include "ui_qgsvectorlayerpropertiesbase.h"
49 class QgsVectorLayer3DRendererWidget;
52 class QgsMaskingWidget;
85 void insertFieldOrExpression();
91 QString htmlMetadata();
103 void pbnQueryBuilder_clicked();
104 void pbnIndex_clicked();
106 void loadDefaultStyle_clicked();
107 void saveDefaultStyle_clicked();
109 void saveMetadataAs();
110 void saveDefaultMetadata();
111 void loadDefaultMetadata();
112 void pbnUpdateExtents_clicked();
114 void mButtonAddJoin_clicked();
115 void mButtonEditJoin_clicked();
116 void mJoinTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
117 void mButtonRemoveJoin_clicked();
120 void addMetadataUrl();
121 void removeSelectedMetadataUrl();
122 void mButtonAddWmsDimension_clicked();
123 void mButtonEditWmsDimension_clicked();
124 void mWmsDimensionsTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
125 void mButtonRemoveWmsDimension_clicked();
127 void mSimplifyDrawingGroupBox_toggled(
bool checked );
137 void toggleEditing();
143 void saveMultipleStylesAs();
148 void aboutToShowStyleMenu();
153 void updateVariableEditor();
155 void onAuxiliaryLayerNew();
157 void onAuxiliaryLayerClear();
159 void onAuxiliaryLayerDelete();
161 void onAuxiliaryLayerDeleteField();
163 void onAuxiliaryLayerAddField();
165 void urlClicked(
const QUrl &url );
175 void updateSymbologyPage();
177 void setPbnQueryBuilderEnabled();
183 bool mMetadataFilled =
false;
185 QString mOriginalSubsetSQL;
187 QPushButton *mBtnStyle =
nullptr;
188 QPushButton *mBtnMetadata =
nullptr;
189 QAction *mActionLoadMetadata =
nullptr;
190 QAction *mActionSaveMetadataAs =
nullptr;
192 QAction *mActionLoadStyle =
nullptr;
193 QAction *mActionSaveStyle =
nullptr;
194 QAction *mActionSaveMultipleStyles =
nullptr;
201 QgsMaskingWidget *mMaskingWidget =
nullptr;
212 QList< QgsVectorLayerJoinInfo > mOldJoins;
215 QList<QgsMapLayerConfigWidget *> mLayerPropertiesPages;
223 void initDiagramTab();
230 QStandardItemModel *mMetadataUrlModel =
nullptr;
232 void updateAuxiliaryStoragePage();
233 void deleteAuxiliaryField(
int index );
245 QAction *mAuxiliaryLayerActionNew =
nullptr;
246 QAction *mAuxiliaryLayerActionClear =
nullptr;
247 QAction *mAuxiliaryLayerActionDelete =
nullptr;
248 QAction *mAuxiliaryLayerActionExport =
nullptr;
249 QAction *mAuxiliaryLayerActionDeleteField =
nullptr;
250 QAction *mAuxiliaryLayerActionAddField =
nullptr;
252 QgsVectorLayer3DRendererWidget *mVector3DWidget =
nullptr;
263 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.