The QgsLayerTreeViewDefaultActions class serves as a factory of actions that can be used together with a layer tree view.  
 More...
#include <qgslayertreeviewdefaultactions.h>
The QgsLayerTreeViewDefaultActions class serves as a factory of actions that can be used together with a layer tree view. 
- See also
 - QgsLayerTreeView 
 
- Since
 - QGIS 2.4 
 
Definition at line 39 of file qgslayertreeviewdefaultactions.h.
 
◆ QgsLayerTreeViewDefaultActions()
      
        
          | QgsLayerTreeViewDefaultActions::QgsLayerTreeViewDefaultActions  | 
          ( | 
          QgsLayerTreeView *  | 
          view | ) | 
           | 
        
      
 
 
◆ actionAddGroup()
      
        
          | QAction * QgsLayerTreeViewDefaultActions::actionAddGroup  | 
          ( | 
          QObject *  | 
          parent = nullptr | ) | 
           | 
        
      
 
 
◆ actionCheckAndAllChildren()
      
        
          | QAction * QgsLayerTreeViewDefaultActions::actionCheckAndAllChildren  | 
          ( | 
          QObject *  | 
          parent = nullptr | ) | 
           | 
        
      
 
 
◆ actionCheckAndAllParents()
      
        
          | QAction * QgsLayerTreeViewDefaultActions::actionCheckAndAllParents  | 
          ( | 
          QObject *  | 
          parent = nullptr | ) | 
           | 
        
      
 
 
◆ actionGroupSelected()
      
        
          | QAction * QgsLayerTreeViewDefaultActions::actionGroupSelected  | 
          ( | 
          QObject *  | 
          parent = nullptr | ) | 
           | 
        
      
 
 
◆ actionMakeTopLevel()
      
        
          | QAction * QgsLayerTreeViewDefaultActions::actionMakeTopLevel  | 
          ( | 
          QObject *  | 
          parent = nullptr | ) | 
           | 
        
      
 
 
◆ actionMoveOutOfGroup()
      
        
          | QAction * QgsLayerTreeViewDefaultActions::actionMoveOutOfGroup  | 
          ( | 
          QObject *  | 
          parent = nullptr | ) | 
           | 
        
      
 
 
◆ actionMoveToTop()
      
        
          | QAction * QgsLayerTreeViewDefaultActions::actionMoveToTop  | 
          ( | 
          QObject *  | 
          parent = nullptr | ) | 
           | 
        
      
 
 
◆ actionMutuallyExclusiveGroup()
      
        
          | QAction * QgsLayerTreeViewDefaultActions::actionMutuallyExclusiveGroup  | 
          ( | 
          QObject *  | 
          parent = nullptr | ) | 
           | 
        
      
 
 
◆ actionRemoveGroupOrLayer()
      
        
          | QAction * QgsLayerTreeViewDefaultActions::actionRemoveGroupOrLayer  | 
          ( | 
          QObject *  | 
          parent = nullptr | ) | 
           | 
        
      
 
 
◆ actionRenameGroupOrLayer()
      
        
          | QAction * QgsLayerTreeViewDefaultActions::actionRenameGroupOrLayer  | 
          ( | 
          QObject *  | 
          parent = nullptr | ) | 
           | 
        
      
 
 
◆ actionShowFeatureCount()
      
        
          | QAction * QgsLayerTreeViewDefaultActions::actionShowFeatureCount  | 
          ( | 
          QObject *  | 
          parent = nullptr | ) | 
           | 
        
      
 
 
◆ actionShowInOverview()
      
        
          | QAction * QgsLayerTreeViewDefaultActions::actionShowInOverview  | 
          ( | 
          QObject *  | 
          parent = nullptr | ) | 
           | 
        
      
 
 
◆ actionUncheckAndAllChildren()
      
        
          | QAction * QgsLayerTreeViewDefaultActions::actionUncheckAndAllChildren  | 
          ( | 
          QObject *  | 
          parent = nullptr | ) | 
           | 
        
      
 
 
◆ actionZoomToGroup()
      
        
          | QAction * QgsLayerTreeViewDefaultActions::actionZoomToGroup  | 
          ( | 
          QgsMapCanvas *  | 
          canvas,  | 
        
        
           | 
           | 
          QObject *  | 
          parent = nullptr  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ actionZoomToLayer()
      
        
          | QAction * QgsLayerTreeViewDefaultActions::actionZoomToLayer  | 
          ( | 
          QgsMapCanvas *  | 
          canvas,  | 
        
        
           | 
           | 
          QObject *  | 
          parent = nullptr  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ actionZoomToSelection()
      
        
          | QAction * QgsLayerTreeViewDefaultActions::actionZoomToSelection  | 
          ( | 
          QgsMapCanvas *  | 
          canvas,  | 
        
        
           | 
           | 
          QObject *  | 
          parent = nullptr  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ addGroup
  
  
      
        
          | void QgsLayerTreeViewDefaultActions::addGroup  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
◆ groupSelected
  
  
      
        
          | void QgsLayerTreeViewDefaultActions::groupSelected  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ makeTopLevel
  
  
      
        
          | void QgsLayerTreeViewDefaultActions::makeTopLevel  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ moveOutOfGroup
  
  
      
        
          | void QgsLayerTreeViewDefaultActions::moveOutOfGroup  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ moveToTop
  
  
      
        
          | void QgsLayerTreeViewDefaultActions::moveToTop  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
Moves selected layer(s) and/or group(s) to the top of the layer panel or the top of the group if the layer/group is placed within a group. 
- Since
 - QGIS 3.2 
 
Definition at line 425 of file qgslayertreeviewdefaultactions.cpp.
 
 
◆ mutuallyExclusiveGroup
  
  
      
        
          | void QgsLayerTreeViewDefaultActions::mutuallyExclusiveGroup  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ removeGroupOrLayer
  
  
      
        
          | void QgsLayerTreeViewDefaultActions::removeGroupOrLayer  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ renameGroupOrLayer
  
  
      
        
          | void QgsLayerTreeViewDefaultActions::renameGroupOrLayer  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ showFeatureCount
  
  
      
        
          | void QgsLayerTreeViewDefaultActions::showFeatureCount  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ showInOverview
  
  
      
        
          | void QgsLayerTreeViewDefaultActions::showInOverview  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
◆ uniqueGroupName()
  
  
      
        
          | QString QgsLayerTreeViewDefaultActions::uniqueGroupName  | 
          ( | 
          QgsLayerTreeGroup *  | 
          parentGroup | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ zoomToGroup() [1/2]
      
        
          | void QgsLayerTreeViewDefaultActions::zoomToGroup  | 
          ( | 
          QgsMapCanvas *  | 
          canvas | ) | 
           | 
        
      
 
 
◆ zoomToGroup [2/2]
  
  
      
        
          | void QgsLayerTreeViewDefaultActions::zoomToGroup  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ zoomToLayer() [1/2]
      
        
          | void QgsLayerTreeViewDefaultActions::zoomToLayer  | 
          ( | 
          QgsMapCanvas *  | 
          canvas | ) | 
           | 
        
      
 
 
◆ zoomToLayer [2/2]
  
  
      
        
          | void QgsLayerTreeViewDefaultActions::zoomToLayer  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ zoomToLayers()
◆ zoomToSelection() [1/2]
      
        
          | void QgsLayerTreeViewDefaultActions::zoomToSelection  | 
          ( | 
          QgsMapCanvas *  | 
          canvas | ) | 
           | 
        
      
 
 
◆ zoomToSelection [2/2]
  
  
      
        
          | void QgsLayerTreeViewDefaultActions::zoomToSelection  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ mView
The documentation for this class was generated from the following files: