SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmmvis::ui::StreetListModel Class Reference

#include <streetlistmodel.h>

Inheritance diagram for openswmmvis::ui::StreetListModel:
Collaboration diagram for openswmmvis::ui::StreetListModel:

Public Member Functions

 StreetListModel (QObject *parent=nullptr)
 
 ~StreetListModel () override
 
void setRegistry (openswmmvis::street::StreetRegistry *registry)
 
openswmmvis::street::StreetRegistryregistry () const noexcept
 
openswmmvis::street::StreetProviderproviderAt (int row) const
 
int rowCount (const QModelIndex &parent={}) const override
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
 

Constructor & Destructor Documentation

◆ StreetListModel()

openswmmvis::ui::StreetListModel::StreetListModel ( QObject *  parent = nullptr)
explicit

◆ ~StreetListModel()

openswmmvis::ui::StreetListModel::~StreetListModel ( )
overridedefault

Member Function Documentation

◆ data()

QVariant openswmmvis::ui::StreetListModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
override
Here is the call graph for this function:

◆ flags()

Qt::ItemFlags openswmmvis::ui::StreetListModel::flags ( const QModelIndex &  index) const
override

◆ headerData()

QVariant openswmmvis::ui::StreetListModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
override

◆ providerAt()

StreetProvider * openswmmvis::ui::StreetListModel::providerAt ( int  row) const
Here is the caller graph for this function:

◆ registry()

StreetRegistry * openswmmvis::ui::StreetListModel::registry ( ) const
noexcept
Here is the caller graph for this function:

◆ rowCount()

int openswmmvis::ui::StreetListModel::rowCount ( const QModelIndex &  parent = {}) const
override

◆ setData()

bool openswmmvis::ui::StreetListModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)
override
Here is the call graph for this function:

◆ setRegistry()

void openswmmvis::ui::StreetListModel::setRegistry ( openswmmvis::street::StreetRegistry registry)
Here is the call graph for this function:
Here is the caller graph for this function:

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