23#ifndef FEATURELAYERPANEL_H
24#define FEATURELAYERPANEL_H
77 void onLayerRowChanged(
int row);
81 void onZPolicyEdited();
86 void refreshFeatureTable();
88 void onFeatureCellChanged(
int row,
int column);
90 void onFeatureSelectionChanged();
92 void onFeatureSelectionChangedFromLayer();
94 void onDeleteSelectedFeatureRows();
95 void onFeatureTableContextMenu(
const QPoint &
pos);
99 void refreshVertexTable();
101 void onVertexCellChanged(
int row,
int column);
106 void refreshDetails();
107 void refreshStatus();
110 void populateZSourceLayers();
111 [[nodiscard]]
bool zEditsSuppressed()
const {
return m_suppressZEdits; }
113 QPointer<MapCanvas> m_canvas;
114 QPointer<FeatureLayer> m_active;
117 QListWidget *m_layerList =
nullptr;
118 QPushButton *m_newBtn =
nullptr;
119 QPushButton *m_importBtn =
nullptr;
120 QPushButton *m_exportBtn =
nullptr;
121 QPushButton *m_removeBtn =
nullptr;
124 QTableWidget *m_fieldTable =
nullptr;
125 QPushButton *m_addFieldBtn =
nullptr;
126 QPushButton *m_removeFieldBtn =
nullptr;
130 QTableWidget *m_featureTable =
nullptr;
131 QPushButton *m_deleteFeatBtn =
nullptr;
132 QLabel *m_featHintLabel =
nullptr;
135 bool m_suppressFeatureEdits =
false;
141 QTableWidget *m_vertexTable =
nullptr;
142 QLabel *m_vertexHintLabel =
nullptr;
144 bool m_suppressVertexEdits =
false;
150 bool m_vertexEditInFlight =
false;
154 qint64 m_vertexFeatureId = -1;
157 QComboBox *m_zSourceCombo =
nullptr;
158 QComboBox *m_zLayerCombo =
nullptr;
159 QSpinBox *m_zBandSpin =
nullptr;
160 QDoubleSpinBox *m_zConstantSpin =
nullptr;
161 QDoubleSpinBox *m_zScaleSpin =
nullptr;
162 QDoubleSpinBox *m_zDensifySpin =
nullptr;
163 QCheckBox *m_zResampleBox =
nullptr;
164 QPushButton *m_resampleBtn =
nullptr;
166 QLabel *m_statusLabel =
nullptr;
170 bool m_suppressZEdits =
false;
An editable, GeoPackage-backed vector layer.
Definition featurelayer.h:127
The central map display widget — QGIS-style hybrid rendering.
Definition mapcanvas.h:63
Definition featurelayerpanel.h:45
void importRequested(FeatureLayer *into)
void selectLayer(FeatureLayer *layer)
Select layer if it is in the list.
Definition featurelayerpanel.cpp:413
void message(const QString &text)
A non-fatal message for the status bar.
FeatureLayer * activeLayer() const
The layer the drawing / editing tools should write into.
Definition featurelayerpanel.h:56
void activeLayerChanged(FeatureLayer *layer)
The edit target changed; the tools re-target on this.
void setCanvas(MapCanvas *canvas)
Bind to canvas. Passing nullptr detaches and clears.
Definition featurelayerpanel.cpp:365
void newLayerRequested()
The user asked to create a layer. The host owns the dialog and the project-GeoPackage path,...
void exportRequested(FeatureLayer *layer)
MapCanvas * canvas() const
Definition featurelayerpanel.h:53
void refreshLayerList()
Re-read the layer list from the canvas, preserving the selection where the layer still exists.
Definition featurelayerpanel.cpp:383
Definition openswmmvislayer.h:43
QVector< int > parent
union-find
Definition pslgminsize.cpp:176
int pos
Definition queryparser.cpp:36
QString text
Definition queryparser.cpp:35