Model for label blocking items.  
 More...
#include <qgslayoutmapwidget.h>
 | 
| bool  | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override | 
|   | 
Model for label blocking items. 
- Note
 - This class is not a part of public API 
 
- Since
 - QGIS 3.12 
 
Definition at line 208 of file qgslayoutmapwidget.h.
 
◆ QgsLayoutMapItemBlocksLabelsModel()
  
  
      
        
          | QgsLayoutMapItemBlocksLabelsModel::QgsLayoutMapItemBlocksLabelsModel  | 
          ( | 
          QgsLayoutItemMap *  | 
          map,  | 
         
        
           | 
           | 
          QgsLayoutModel *  | 
          layoutModel,  | 
         
        
           | 
           | 
          QObject *  | 
          parent = nullptr  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
explicit   | 
  
 
 
◆ columnCount()
  
  
      
        
          | int QgsLayoutMapItemBlocksLabelsModel::columnCount  | 
          ( | 
          const QModelIndex &  | 
          parent = QModelIndex() | ) | 
           const | 
         
       
   | 
  
override   | 
  
 
 
◆ data()
  
  
      
        
          | QVariant QgsLayoutMapItemBlocksLabelsModel::data  | 
          ( | 
          const QModelIndex &  | 
          index,  | 
         
        
           | 
           | 
          int  | 
          role  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
override   | 
  
 
 
◆ filterAcceptsRow()
  
  
      
        
          | bool QgsLayoutMapItemBlocksLabelsModel::filterAcceptsRow  | 
          ( | 
          int  | 
          source_row,  | 
         
        
           | 
           | 
          const QModelIndex &  | 
          source_parent  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
overrideprotected   | 
  
 
 
◆ flags()
  
  
      
        
          | Qt::ItemFlags QgsLayoutMapItemBlocksLabelsModel::flags  | 
          ( | 
          const QModelIndex &  | 
          index | ) | 
           const | 
         
       
   | 
  
override   | 
  
 
 
◆ setData()
  
  
      
        
          | bool QgsLayoutMapItemBlocksLabelsModel::setData  | 
          ( | 
          const QModelIndex &  | 
          index,  | 
         
        
           | 
           | 
          const QVariant &  | 
          value,  | 
         
        
           | 
           | 
          int  | 
          role  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
override   | 
  
 
 
The documentation for this class was generated from the following files: