LibrePCB Developers Documentation
CategoryTreeModel::Item Struct Reference
+ Collaboration diagram for CategoryTreeModel::Item:

Public Attributes

std::weak_ptr< Itemparent
 nullptr for root categories More...
 
tl::optional< Uuiduuid
 tl::nullopt for items without category More...
 
QString text
 
QString tooltip
 
QVector< std::shared_ptr< Item > > childs
 

Member Data Documentation

◆ parent

std::weak_ptr<Item> parent

nullptr for root categories

◆ uuid

tl::optional<Uuid> uuid

tl::nullopt for items without category

◆ text

QString text

◆ tooltip

QString tooltip

◆ childs

QVector<std::shared_ptr<Item> > childs

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