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 );
72 Q_DECL_DEPRECATED QAction *actionMakeTopLevel( QObject *parent =
nullptr )
SIP_FACTORY;
78 QAction *actionMoveOutOfGroup( QObject *parent =
nullptr )
SIP_FACTORY;
84 QAction *actionMoveToTop( QObject *parent =
nullptr )
SIP_FACTORY;
85 QAction *actionGroupSelected( QObject *parent =
nullptr )
SIP_FACTORY;
91 QAction *actionMutuallyExclusiveGroup( QObject *parent =
nullptr )
SIP_FACTORY;
103 void showInOverview();
107 void removeGroupOrLayer();
108 void renameGroupOrLayer();
109 void showFeatureCount();
116 void zoomToSelection();
122 Q_DECL_DEPRECATED
void makeTopLevel();
128 void moveOutOfGroup();
136 void groupSelected();
142 void mutuallyExclusiveGroup();
145 void checkAndAllChildren();
146 void uncheckAndAllChildren();
147 void checkAndAllParents();
150 void zoomToLayers(
QgsMapCanvas *canvas,
const QList<QgsMapLayer *> &layers );
159 #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...