![]() |
HAL
|
The ModuleSelectEntry class comprises a single entry of the module selection table. More...
#include <module_select_model.h>
Public Member Functions | |
ModuleSelectEntry (Module *m) | |
QVariant | data (int icol) const |
data returns data from requested column More... | |
QColor | color () const |
u32 | id () const |
The ModuleSelectEntry class comprises a single entry of the module selection table.
Definition at line 47 of file module_select_model.h.
hal::ModuleSelectEntry::ModuleSelectEntry | ( | Module * | m | ) |
Definition at line 40 of file module_select_model.cpp.
References QString::fromStdString(), hal::Module::get_id(), hal::Module::get_name(), hal::Module::get_type(), hal::NetlistRelay::getModuleColor(), and hal::gNetlistRelay.
|
inline |
Definition at line 62 of file module_select_model.h.
Referenced by hal::ModuleSelectModel::data().
QVariant hal::ModuleSelectEntry::data | ( | int | icol | ) | const |
data returns data from requested column
icol | column number (0, 1, 2, 3) |
Definition at line 48 of file module_select_model.cpp.
Referenced by hal::ModuleSelectModel::data().
|
inline |
Definition at line 63 of file module_select_model.h.