89 for (
int irow = 0; irow < grpModel->
rowCount(); irow++)
136 for (
auto it = contextNodeMap.
begin(); it != contextNodeMap.
end(); it++)
137 plc.
insert(it.key(), it.value());
Adds an item to a module or grouping.
void setPlacementHint(PlacementHint hint)
void setLinkedObjectId(u32 lid)
void setParentId(u32 pid)
UserActionFactory for ActionDeleteObject.
static ActionDeleteObjectFactory * sFactory
ActionDeleteObjectFactory()
UserAction * newAction() const
QString tagname() const override
Assigns a new type to a module.
virtual int getChildCount() const
GroupingManagerWidget * getGroupingManagerWidget()
BaseTreeItem * getDirectory(u32 directoryId) const
Logical container for modules, gates, and nets.
u32 getExclusiveModuleId() const
bool isShowingModuleExclusively()
const QSet< u32 > & gates() const
const QSet< u32 > & modules() const
GraphLayouter * getLayouter() const
void deleteContextDirectory(ContextDirectory *ctxDir)
GraphContext * getContextById(u32 id) const
ContextTreeModel * getContextTreeModel() const
u32 getParentId(u32 childId, bool isDirectory) const
void deleteGraphContext(GraphContext *ctx)
ContextDirectory * getDirectoryById(u32 id) const
const QMap< Node, QPoint > nodeToPositionMap() const
std::vector< u32 > get_gate_ids(const std::function< bool(Gate *)> &filter=nullptr) const
std::vector< u32 > get_module_ids(const std::function< bool(Module *)> &filter=nullptr) const
std::vector< u32 > get_net_ids(const std::function< bool(Net *)> &filter=nullptr) const
An entry within a GroupingTableModel.
Grouping * grouping() const
Table that holds information about all groupings.
int rowCount(const QModelIndex &parent=QModelIndex()) const override
bool removeRows(int row, int count=1, const QModelIndex &parent=QModelIndex()) override
GroupingTableEntry groupingAt(int irow) const
QColor moduleColor(u32 id) const
Module * get_parent_module() const
const std::vector< Gate * > & get_gates() const
std::string get_name() const
std::vector< Module * > get_submodules(const std::function< bool(Module *)> &filter=nullptr, bool recursive=false) const
std::string get_type() const
Module * get_top_module() const
Gate * get_gate_by_id(const u32 gate_id) const
bool delete_net(Net *net)
bool delete_module(Module *module)
bool delete_gate(Gate *gate)
Module * get_module_by_id(u32 module_id) const
Net * get_net_by_id(u32 net_id) const
ModuleColorManager * getModuleColorManager() const
void addAction(UserAction *act)
void setUseCreatedObject()
The UserActionFactory is the abstract base class for registration.
The UserAction class is the abstract base class for user interactions.
virtual void setObject(const UserActionObject &obj)
The UserActionObject class represents a single object used in UserAction.
UserActionObjectType::ObjectType type() const
ContentManager * gContentManager
GraphContextManager * gGraphContextManager
NetlistRelay * gNetlistRelay
QHash::iterator insert(const Key &key, const T &value)
QSet::iterator insert(const T &value)
bool isEmpty() const const
QString fromStdString(const std::string &str)