16 #ifndef QGSLAYERTREEMAPCANVASBRIDGE_H
17 #define QGSLAYERTREEMAPCANVASBRIDGE_H
20 #include <QStringList>
73 sipCpp->setOverviewCanvas( a0 );
91 Q_INVOKABLE
void setCanvasLayers();
100 void canvasLayersChanged(
const QList< QgsMapLayer * > &layers );
103 void nodeVisibilityChanged();
104 void nodeCustomPropertyChanged(
QgsLayerTreeNode *node,
const QString &key );
105 void layersAdded(
const QList<QgsMapLayer *> &layers );
109 void setCanvasLayers(
QgsLayerTreeNode *node, QList<QgsMapLayer *> &canvasLayers, QList<QgsMapLayer *> &overviewLayers,
110 QList<QgsMapLayer *> &allLayers );
112 void deferredSetCanvasLayers();
118 bool mPendingCanvasUpdate;
120 bool mAutoSetupOnFirstLayer;
123 bool mHasLayersLoaded;
124 bool mHasValidLayersLoaded =
false;
125 bool mUpdatingProjectLayerOrder =
false;
130 #endif // QGSLAYERTREEMAPCANVASBRIDGE_H