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 );
64 QAction *actionMakeTopLevel( QObject *parent =
nullptr )
SIP_FACTORY;
65 QAction *actionGroupSelected( QObject *parent =
nullptr )
SIP_FACTORY;
71 QAction *actionMutuallyExclusiveGroup( QObject *parent =
nullptr )
SIP_FACTORY;
77 void showInOverview();
81 void removeGroupOrLayer();
82 void renameGroupOrLayer();
83 void showFeatureCount();
93 void mutuallyExclusiveGroup();
96 void checkAndAllChildren();
97 void uncheckAndAllChildren();
98 void checkAndAllParents();
101 void zoomToLayers(
QgsMapCanvas *canvas,
const QList<QgsMapLayer *> &layers );
110 #endif // QGSLAYERTREEVIEWDEFAULTACTIONS_H Layer tree group node serves as a container for layers and further groups.
Base class for all map layer types.
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.
The QgsLayerTreeViewDefaultActions class serves as a factory of actions that can be used together wit...