| QGIS API Documentation
    3.20.0-Odense (decaadbb31)
    | 
Allows for filtering QgsComposerAttributeTable columns by columns which are sorted or unsorted. More...
#include <qgslayoutattributeselectiondialog.h>

| Public Member Functions | |
| QgsLayoutTableSortModel (QgsLayoutItemAttributeTable *table, QObject *parent=nullptr) | |
| Constructor for QgsLayoutTableSortColumnsProxyModel.  More... | |
| QVector< QgsLayoutTableColumn > & | columns () const override | 
| To be reimplemented to provide the display or the sort columns.  More... | |
| QList< Column > | displayedColumns () const override | 
| To be reimplemented to choose which column should be used by the model.  More... | |
|  Public Member Functions inherited from QgsLayoutAttributeTableColumnModelBase | |
| QgsLayoutAttributeTableColumnModelBase (QgsLayoutItemAttributeTable *table, QObject *parent=nullptr) | |
| Constructor for QgsLayoutAttributeTableColumnModel.  More... | |
| 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 | 
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override | 
| QModelIndex | index (int row, int column, const QModelIndex &parent) const override | 
| bool | insertRows (int row, int count, const QModelIndex &parent=QModelIndex()) override | 
| bool | moveRow (int row, ShiftDirection direction) | 
| Moves the specified row up or down in the model.  More... | |
| QModelIndex | parent (const QModelIndex &child) const override | 
| bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) override | 
| int | rowCount (const QModelIndex &parent=QModelIndex()) const override | 
| bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override | 
| Additional Inherited Members | |
|  Public Types inherited from QgsLayoutAttributeTableColumnModelBase | |
| enum | Column { Attribute , Heading , Alignment , Width , SortOrder } | 
| Available columns for the configuration table to be used by the model.  More... | |
| enum | ShiftDirection { ShiftUp , ShiftDown } | 
| Controls whether a row/column is shifted up or down.  More... | |
|  Protected Attributes inherited from QgsLayoutAttributeTableColumnModelBase | |
| QgsLayoutItemAttributeTable * | mTable = nullptr | 
Allows for filtering QgsComposerAttributeTable columns by columns which are sorted or unsorted.
Definition at line 161 of file qgslayoutattributeselectiondialog.h.
| 
 | inline | 
Constructor for QgsLayoutTableSortColumnsProxyModel.
| table | QgsLayoutItemAttributeTable the model is attached to | 
| parent | optional parent | 
Definition at line 172 of file qgslayoutattributeselectiondialog.h.
| 
 | overridevirtual | 
To be reimplemented to provide the display or the sort columns.
Implements QgsLayoutAttributeTableColumnModelBase.
Definition at line 357 of file qgslayoutattributeselectiondialog.cpp.
| 
 | inlineoverridevirtual | 
To be reimplemented to choose which column should be used by the model.
Implements QgsLayoutAttributeTableColumnModelBase.
Definition at line 178 of file qgslayoutattributeselectiondialog.h.