QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
QgsLayoutMapItemBlocksLabelsModel Class Reference

Model for label blocking items. More...

#include <qgslayoutmapwidget.h>

Inheritance diagram for QgsLayoutMapItemBlocksLabelsModel:
Inheritance graph
[legend]

Public Member Functions

 QgsLayoutMapItemBlocksLabelsModel (QgsLayoutItemMap *map, QgsLayoutModel *layoutModel, QObject *parent=nullptr)
 constructor
 
int columnCount (const QModelIndex &parent=QModelIndex()) const override
 
QVariant data (const QModelIndex &index, int role) const override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
bool setData (const QModelIndex &index, const QVariant &value, int role) override
 

Protected Member Functions

bool filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override
 

Detailed Description

Model for label blocking items.

Note
This class is not a part of public API
Since
QGIS 3.12

Definition at line 203 of file qgslayoutmapwidget.h.

Constructor & Destructor Documentation

◆ QgsLayoutMapItemBlocksLabelsModel()

QgsLayoutMapItemBlocksLabelsModel::QgsLayoutMapItemBlocksLabelsModel ( QgsLayoutItemMap map,
QgsLayoutModel layoutModel,
QObject *  parent = nullptr 
)
explicit

constructor

Definition at line 1950 of file qgslayoutmapwidget.cpp.

Member Function Documentation

◆ columnCount()

int QgsLayoutMapItemBlocksLabelsModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
override

Definition at line 1958 of file qgslayoutmapwidget.cpp.

◆ data()

QVariant QgsLayoutMapItemBlocksLabelsModel::data ( const QModelIndex &  index,
int  role 
) const
override

Definition at line 1963 of file qgslayoutmapwidget.cpp.

◆ filterAcceptsRow()

bool QgsLayoutMapItemBlocksLabelsModel::filterAcceptsRow ( int  source_row,
const QModelIndex &  source_parent 
) const
overrideprotected

Definition at line 2044 of file qgslayoutmapwidget.cpp.

◆ flags()

Qt::ItemFlags QgsLayoutMapItemBlocksLabelsModel::flags ( const QModelIndex &  index) const
override

Definition at line 2026 of file qgslayoutmapwidget.cpp.

◆ setData()

bool QgsLayoutMapItemBlocksLabelsModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role 
)
override

Definition at line 1995 of file qgslayoutmapwidget.cpp.


The documentation for this class was generated from the following files: