16 #ifndef QGSLAYERTREEVIEWDEFAULTACTIONS_H
17 #define QGSLAYERTREEVIEWDEFAULTACTIONS_H
45 QAction *actionAddGroup( QObject *parent =
nullptr )
SIP_FACTORY;
46 QAction *actionRemoveGroupOrLayer( QObject *parent =
nullptr )
SIP_FACTORY;
47 QAction *actionShowInOverview( QObject *parent =
nullptr )
SIP_FACTORY;
48 QAction *actionRenameGroupOrLayer( QObject *parent =
nullptr )
SIP_FACTORY;
49 QAction *actionShowFeatureCount( QObject *parent =
nullptr )
SIP_FACTORY;
52 QAction *actionCheckAndAllChildren( QObject *parent =
nullptr );
55 QAction *actionUncheckAndAllChildren( QObject *parent =
nullptr );
58 QAction *actionCheckAndAllParents( QObject *parent =
nullptr );
82 Q_DECL_DEPRECATED QAction *actionMakeTopLevel( QObject *parent =
nullptr )
SIP_FACTORY;
88 QAction *actionMoveOutOfGroup( QObject *parent =
nullptr )
SIP_FACTORY;
94 QAction *actionMoveToTop( QObject *parent =
nullptr )
SIP_FACTORY;
100 QAction *actionMoveToBottom( QObject *parent =
nullptr )
SIP_FACTORY;
101 QAction *actionGroupSelected( QObject *parent =
nullptr )
SIP_FACTORY;
107 QAction *actionMutuallyExclusiveGroup( QObject *parent =
nullptr )
SIP_FACTORY;
130 void showInOverview();
134 void removeGroupOrLayer();
135 void renameGroupOrLayer();
136 void showFeatureCount();
154 void zoomToSelection();
166 void moveOutOfGroup();
181 void groupSelected();
187 void mutuallyExclusiveGroup();
190 void checkAndAllChildren();
191 void uncheckAndAllChildren();
192 void checkAndAllParents();
195 void zoomToLayers(
QgsMapCanvas *canvas,
const QList<QgsMapLayer *> &layers );
Layer tree group node serves as a container for layers and further groups.
The QgsLayerTreeViewDefaultActions class serves as a factory of actions that can be used together wit...
The QgsLayerTreeView class extends QTreeView and provides some additional functionality when working ...
Map canvas is a class for displaying all GIS data types on a canvas.
Base class for all map layer types.