tab切换,改变LayerTreeModel的setCurrentIndex
This commit is contained in:
@ -35,6 +35,9 @@ public slots:
|
||||
// Get associated widget by layer absolute data path
|
||||
QWidget* widgetForLayer(const QString& absolutePath) const;
|
||||
|
||||
// Reverse lookup: find the MapLayer associated with a given widget (or nullptr)
|
||||
MapLayer* layerForWidget(QWidget* widget) const;
|
||||
|
||||
signals:
|
||||
void layerAdded(MapLayer* layer);
|
||||
// Emitted just before the layer is destroyed/removed from store
|
||||
|
||||
Reference in New Issue
Block a user