Krita Source Code Documentation
Loading...
Searching...
No Matches
KisSortedPaintOpListModel Class Reference

#include <kis_paint_ops_model.h>

+ Inheritance diagram for KisSortedPaintOpListModel:

Public Member Functions

void fill (const QList< KisPaintOpFactory * > &list)
 
 KisSortedPaintOpListModel (QObject *parent)
 
- Public Member Functions inherited from KisSortedCategorizedListModel< KisPaintOpListModel >
bool entryAt (Entry_Type &entry, QModelIndex index) const
 
QModelIndex indexOf (const Entry_Type &entry) const
 
 KisSortedCategorizedListModel (QObject *parent)
 

Protected Member Functions

bool lessThan (const QModelIndex &left, const QModelIndex &right) const override
 
- Protected Member Functions inherited from KisSortedCategorizedListModel< KisPaintOpListModel >
void initializeModel (KisPaintOpListModel *model)
 
bool lessThanPriority (const QModelIndex &left, const QModelIndex &right, const QString &priorityCategory) const
 

Private Attributes

KisPaintOpListModelm_model
 

Detailed Description

Definition at line 56 of file kis_paint_ops_model.h.

Constructor & Destructor Documentation

◆ KisSortedPaintOpListModel()

KisSortedPaintOpListModel::KisSortedPaintOpListModel ( QObject * parent)
inline

Member Function Documentation

◆ fill()

void KisSortedPaintOpListModel::fill ( const QList< KisPaintOpFactory * > & list)
inline

Definition at line 66 of file kis_paint_ops_model.h.

66 {
67 m_model->fill(list);
68 }
void fill(const QList< KisPaintOpFactory * > &list)

◆ lessThan()

bool KisSortedPaintOpListModel::lessThan ( const QModelIndex & left,
const QModelIndex & right ) const
inlineoverrideprotected

Definition at line 71 of file kis_paint_ops_model.h.

71 {
73 }
static QString categoryStable()
bool lessThanPriority(const QModelIndex &left, const QModelIndex &right, const QString &priorityCategory) const

References KisPaintOpFactory::categoryStable().

Member Data Documentation

◆ m_model

KisPaintOpListModel* KisSortedPaintOpListModel::m_model
private

Definition at line 76 of file kis_paint_ops_model.h.


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