![]() |
HAL
|
The ModuleSelectExclude class is used to determine which modules can't be selected. More...
#include <module_select_model.h>
Public Member Functions | |
ModuleSelectExclude () | |
bool | isAccepted (u32 modId) const |
void | append (QSet< u32 > mod_ids) |
QString | selectionToString () const |
selectionToString function is used to generate selection as text for message box More... | |
QSet< u32 > | modules () const |
QSet< u32 > | gates () const |
The ModuleSelectExclude class is used to determine which modules can't be selected.
Member variables are the gates and modules currently selected and a set of non-selectable modules. The 'blacklisted' modules are identical with a selected one, or a (grand?-)child, or a direct parent.
Definition at line 73 of file module_select_model.h.
hal::ModuleSelectExclude::ModuleSelectExclude | ( | ) |
Definition at line 211 of file module_select_model.cpp.
References hal::gSelectionRelay, hal::SelectionRelay::selectedGatesList(), and hal::SelectionRelay::selectedModulesList().
Definition at line 81 of file module_select_model.h.
Referenced by hal::ModuleSelectModel::excludeModulesById().
Definition at line 88 of file module_select_model.h.
References QSet::fromList().
Referenced by hal::AddToModuleReceiver::handleModulesPicked().
|
inline |
Definition at line 79 of file module_select_model.h.
References QSet::contains().
Referenced by hal::ModuleSelectModel::appendEntries(), hal::ModuleSelectPicker::handleSelectionChanged(), and hal::ModuleDialog::handleTableSelection().
Definition at line 87 of file module_select_model.h.
References QSet::fromList().
Referenced by hal::AddToModuleReceiver::handleModulesPicked().
QString hal::ModuleSelectExclude::selectionToString | ( | ) | const |
selectionToString function is used to generate selection as text for message box
Definition at line 217 of file module_select_model.cpp.
References QString::arg(), test_plugin::g, hal::Netlist::get_gate_by_id(), hal::Module::get_id(), hal::Netlist::get_module_by_id(), hal::Module::get_name(), hal::gNetlist, QString::isEmpty(), QList::isEmpty(), and QList::size().
Referenced by hal::AddToModuleReceiver::handleModulesPicked().