Loading...
Searching...
No Matches
Classes |
Public Member Functions |
Static Public Member Functions |
Public Attributes |
List of all members
Protocols::FixtureDatabase Class Reference
Inheritance diagram for Protocols::FixtureDatabase:
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) |
| FixtureNode & | rootNode () override |
| const FixtureNode & | rootNode () 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 FixtureDatabase & | instance () |
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]
|
inlineoverridevirtual |
Implements TreeNodeBasedItemModel< FixtureNode >.
◆ rootNode() [2/2]
|
inlineoverridevirtual |
Implements TreeNodeBasedItemModel< FixtureNode >.
The documentation for this class was generated from the following file:
Public Member Functions inherited from