Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::ProcessorListModel Class Reference
Inheritance diagram for inviwo::ProcessorListModel:

Classes

struct  Item
struct  Node

Public Types

enum class  Grouping : std::uint8_t {
  Alphabetical , Categorical , CodeState , Module ,
  LastUsed , MostUsed , Inports , Outports
}
enum class  Role : std::uint16_t { Type = Qt::UserRole + 100 , ClassIdentifier , Item , Sort }

Public Member Functions

void addItem (Item item)
virtual int columnCount (const QModelIndex &parent) const override
virtual QVariant data (const QModelIndex &index, int role) const override
virtual Qt::ItemFlags flags (const QModelIndex &index) const override
virtual QVariant headerData (int section, Qt::Orientation orientation, int role) const override
virtual QModelIndex index (int row, int column, const QModelIndex &parent) const override
ProcessorListModel & operator= (const ProcessorListModel &)=delete
ProcessorListModel & operator= (ProcessorListModel &&)=delete
virtual QModelIndex parent (const QModelIndex &index) const override
 ProcessorListModel (const ProcessorListModel &)=delete
 ProcessorListModel (ProcessorListModel &&)=delete
 ProcessorListModel (QObject *parent=nullptr)
 Q_ENUM (Grouping)
void removeItem (std::string_view classIdentifier)
virtual int rowCount (const QModelIndex &parent) const override
void setGrouping (Grouping grouping)
void setItems (std::vector< Item > items)
bool updateItem (std::string_view classIdentifier, const std::function< bool(Item &)> &updater)

The documentation for this class was generated from the following file:
  • include/inviwo/qt/editor/processorlistmodel.h