16 u32 netId = pin->get_net()->get_id();
19 switch (pin->get_direction())
46 textLines[textLines[1].
isEmpty() ? 1 : 2] =
"Module";
QVector< ModulePin > mOutputPins
QVector< ModulePin > mInputPins
void setModuleLabel(const Module *m, bool init=false)
GraphicsModule(Module *m)
Abstract base class for nodes (e.g. gates, modules)
QMultiHash< u32, int > mInputByNet
QMultiHash< u32, int > mOutputByNet
void setNodeText(const QString *lines, bool init)
std::vector< ModulePin * > get_pins(const std::function< bool(ModulePin *)> &filter=nullptr) const
std::string get_name() const
std::string get_type() const
ItemType
The ItemType enum provides the enum type to classify graphic items into Modules, Gates or Nets....
typename QHash< Key, T >::iterator insert(const Key &key, const T &value)
QString fromStdString(const std::string &str)
bool isEmpty() const const