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
ProcessComponentIdDelegate Class Reference

Combo editor over the built-in catalogue, editable for free-form ids. More...

#include <processcomponentsmodel.h>

Inheritance diagram for ProcessComponentIdDelegate:
Collaboration diagram for ProcessComponentIdDelegate:

Public Member Functions

 ProcessComponentIdDelegate (QObject *parent=nullptr)
 
QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
void setEditorData (QWidget *editor, const QModelIndex &index) const override
 
void setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override
 

Detailed Description

Combo editor over the built-in catalogue, editable for free-form ids.

Constructor & Destructor Documentation

◆ ProcessComponentIdDelegate()

ProcessComponentIdDelegate::ProcessComponentIdDelegate ( QObject *  parent = nullptr)
explicit

Member Function Documentation

◆ createEditor()

QWidget * ProcessComponentIdDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override
Here is the call graph for this function:

◆ setEditorData()

void ProcessComponentIdDelegate::setEditorData ( QWidget *  editor,
const QModelIndex &  index 
) const
override

◆ setModelData()

void ProcessComponentIdDelegate::setModelData ( QWidget *  editor,
QAbstractItemModel *  model,
const QModelIndex &  index 
) const
override

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