The CategoryTreeModel class.
More...
#include <categorytreemodel.h>
Inherits QAbstractItemModel.
◆ Filter
Enumerator |
---|
CmpCat | Show all component categories, even empty ones.
|
CmpCatWithSymbols | Show component categories containing symbols.
|
CmpCatWithComponents | Show component categories containing components.
|
CmpCatWithDevices | Show component categories containing devices.
|
PkgCat | Show all package categories, even empty ones.
|
PkgCatWithPackages | Show package categories containing packages.
|
◆ CategoryTreeModel() [1/3]
◆ CategoryTreeModel() [2/3]
◆ CategoryTreeModel() [3/3]
◆ ~CategoryTreeModel()
◆ setLocaleOrder()
void setLocaleOrder |
( |
const QStringList & |
order | ) |
|
|
noexcept |
◆ columnCount()
int columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
overridenoexcept |
◆ rowCount()
int rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
overridenoexcept |
◆ index()
QModelIndex index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
|
overridenoexcept |
◆ parent()
QModelIndex parent |
( |
const QModelIndex & |
index | ) |
const |
|
overridenoexcept |
◆ headerData()
QVariant headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
overridenoexcept |
◆ data()
QVariant data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
overridenoexcept |
◆ operator=()
◆ update()
◆ getChilds()
◆ containsItems()
bool containsItems |
( |
const std::optional< Uuid > & |
uuid | ) |
const |
|
private |
◆ listAll()
◆ listPackageCategories()
bool listPackageCategories |
( |
| ) |
const |
|
privatenoexcept |
◆ updateModelItem()
void updateModelItem |
( |
std::shared_ptr< Item > |
parentItem, |
|
|
const QVector< std::shared_ptr< Item > > & |
newChilds |
|
) |
| |
|
privatenoexcept |
◆ itemFromIndex()
◆ indexFromItem()
QModelIndex indexFromItem |
( |
const Item * |
item | ) |
const |
|
privatenoexcept |
◆ mLibrary
◆ mLocaleOrder
◆ mFilters
◆ mRootItem
std::shared_ptr<Item> mRootItem |
|
private |
The documentation for this class was generated from the following files: