19 #ifndef QGSVECTORLAYERPROPERTIES
20 #define QGSVECTORLAYERPROPERTIES
22 #include <QStandardItemModel>
25 #include "ui_qgsvectorlayerpropertiesbase.h"
50 class QgsVectorLayer3DRendererWidget;
53 class QgsMaskingWidget;
86 void insertFieldOrExpression();
92 QString htmlMetadata();
104 void pbnQueryBuilder_clicked();
105 void pbnIndex_clicked();
107 void loadDefaultStyle_clicked();
108 void saveDefaultStyle_clicked();
110 void saveMetadataAs();
111 void saveDefaultMetadata();
112 void loadDefaultMetadata();
113 void pbnUpdateExtents_clicked();
115 void mButtonAddJoin_clicked();
116 void mButtonEditJoin_clicked();
117 void mJoinTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
118 void mButtonRemoveJoin_clicked();
121 void addMetadataUrl();
122 void removeSelectedMetadataUrl();
123 void mButtonAddWmsDimension_clicked();
124 void mButtonEditWmsDimension_clicked();
125 void mWmsDimensionsTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
126 void mButtonRemoveWmsDimension_clicked();
128 void mSimplifyDrawingGroupBox_toggled(
bool checked );
138 void toggleEditing();
144 void saveMultipleStylesAs();
149 void aboutToShowStyleMenu();
154 void updateVariableEditor();
156 void onAuxiliaryLayerNew();
158 void onAuxiliaryLayerClear();
160 void onAuxiliaryLayerDelete();
162 void onAuxiliaryLayerDeleteField();
164 void onAuxiliaryLayerAddField();
166 void urlClicked(
const QUrl &url );
176 void updateSymbologyPage();
178 void setPbnQueryBuilderEnabled();
184 bool mMetadataFilled =
false;
186 QString mOriginalSubsetSQL;
188 QPushButton *mBtnStyle =
nullptr;
189 QPushButton *mBtnMetadata =
nullptr;
190 QAction *mActionLoadMetadata =
nullptr;
191 QAction *mActionSaveMetadataAs =
nullptr;
193 QAction *mActionLoadStyle =
nullptr;
194 QAction *mActionSaveStyle =
nullptr;
195 QAction *mActionSaveMultipleStyles =
nullptr;
202 QgsMaskingWidget *mMaskingWidget =
nullptr;
213 QList< QgsVectorLayerJoinInfo > mOldJoins;
216 QList<QgsMapLayerConfigWidget *> mLayerPropertiesPages;
224 void initDiagramTab();
231 QStandardItemModel *mMetadataUrlModel =
nullptr;
233 void updateAuxiliaryStoragePage();
234 void deleteAuxiliaryField(
int index );
246 QAction *mAuxiliaryLayerActionNew =
nullptr;
247 QAction *mAuxiliaryLayerActionClear =
nullptr;
248 QAction *mAuxiliaryLayerActionDelete =
nullptr;
249 QAction *mAuxiliaryLayerActionExport =
nullptr;
250 QAction *mAuxiliaryLayerActionDeleteField =
nullptr;
251 QAction *mAuxiliaryLayerActionAddField =
nullptr;
253 QgsVectorLayer3DRendererWidget *mVector3DWidget =
nullptr;
264 friend class QgsAppScreenShots;
Interface class for dialogs that have an apply operation (e.g.
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.