Loading...
Searching...
No Matches
Inheritance diagram for Protocols::FixtureDatabase:
TreeNodeBasedItemModel< FixtureNode > TreeModel

Classes

struct  Scan
 

Public Member Functions

void loadManufacturer (rapidjson::Document &doc, const QString &fixtures_dir)
 
void loadFixture (std::string_view fixture_data, FixtureNode &manufacturer, const QModelIndex &manufacturerIndex)
 
void nextFixture (std::shared_ptr< Scan > scan, QModelIndex manufacturerIndex)
 
FixtureNoderootNode () override
 
const FixtureNoderootNode () const override
 
int columnCount (const QModelIndex &parent) const override
 
QVariant data (const QModelIndex &index, int role) const override
 
QVariant headerData (int section, Qt::Orientation orientation, int role) const override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
QModelIndex modelIndexFromNode (const FixtureNode &n) const
 
void onPopulated (auto func)
 
- Public Member Functions inherited from TreeNodeBasedItemModel< FixtureNode >
FixtureNode & nodeFromModelIndex (const QModelIndex &index) const
 
QModelIndex parent (const QModelIndex &index) const final override
 
QModelIndex index (int row, int column, const QModelIndex &parent) const final override
 
int rowCount (const QModelIndex &parent) const final override
 
bool hasChildren (const QModelIndex &parent) const final override
 
- Public Member Functions inherited from TreeModel
template<typename F >
void iterate (const QModelIndex &idx, const F &f)
 idx: should be the root index of the view
 
QModelIndex convertPathToIndex (const TreePath &path) const
 

Static Public Member Functions

static FixtureDatabaseinstance ()
 

Public Attributes

std::vector< QString > m_paths
 
FixtureNode m_root
 
int m_inFlight {}
 

Additional Inherited Members

- Public Types inherited from TreeNodeBasedItemModel< FixtureNode >
using node_type = FixtureNode
 

Member Function Documentation

◆ rootNode() [1/2]

const FixtureNode & Protocols::FixtureDatabase::rootNode ( ) const
inlineoverridevirtual

◆ rootNode() [2/2]

FixtureNode & Protocols::FixtureDatabase::rootNode ( )
inlineoverridevirtual

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