19 #ifndef QGSVECTORLAYERPROPERTIES
20 #define QGSVECTORLAYERPROPERTIES
22 #include <QStandardItemModel>
25 #include "ui_qgsvectorlayerpropertiesbase.h"
49 class QgsVectorLayer3DRendererWidget;
52 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;
200 QgsLabelingWidget *labelingDialog =
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;