HAL  v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
hal::SelectGateItem Class Reference

#include </home/runner/work/hal/hal/plugins/logic_evaluator/include/logic_evaluator/logic_evaluator_select_gates.h>

Inheritance diagram for hal::SelectGateItem:
Inheritance graph
Collaboration diagram for hal::SelectGateItem:
Collaboration graph

Public Member Functions

 SelectGateItem (u32 id, ModuleItem::TreeItemType type, ModuleModel *model, bool isSel=true)
 
Qt::CheckState state () const
 
bool isSelectable () const
 
void setSelectable (bool isSel)
 
void setState (Qt::CheckState stat)
 
- Public Member Functions inherited from hal::ModuleItem
void setData (QList< QVariant > data) override
 
void setDataAtColumn (int column, QVariant &data) override
 
void appendData (QVariant data) override
 
int getColumnCount () const override
 
 ModuleItem (const u32 id, const TreeItemType type, ModuleModel *model)
 
virtual ~ModuleItem ()
 
void appendExistingChildIfAny (const QMap< u32, ModuleItem * > &moduleMap)
 
QVariant getData (int column) const override
 
QString name () const
 
u32 id () const
 
bool highlighted () const
 
bool isToplevelItem () const
 
TreeItemType getType () const
 
void setName (const QString &name)
 
void setModuleType (const QString &moduleType)
 
void setHighlighted (const bool highlighted)
 
- Public Member Functions inherited from hal::BaseTreeItem
 BaseTreeItem ()
 
 BaseTreeItem (QList< QVariant > columnData)
 
virtual ~BaseTreeItem ()
 
virtual BaseTreeItemgetParent () const
 
virtual void setParent (BaseTreeItem *parent)
 
virtual BaseTreeItemgetChild (int row) const
 
virtual QList< BaseTreeItem * > getChildren () const
 
virtual void appendChild (BaseTreeItem *child)
 
virtual void insertChild (int index, BaseTreeItem *child)
 
virtual BaseTreeItemremoveChildAtPos (int row)
 
virtual bool removeChild (BaseTreeItem *child)
 
virtual int getChildCount () const
 
virtual int getRowForChild (const BaseTreeItem *child) const
 
virtual int getOwnRow ()
 

Additional Inherited Members

- Public Types inherited from hal::ModuleItem
enum class  TreeItemType { Module , Gate , Net }
 
- Protected Attributes inherited from hal::BaseTreeItem
BaseTreeItemmParent
 
QList< BaseTreeItem * > mChildren
 

Detailed Description

An entry of the gate selection tree that can additionally be checked by the user.

Definition at line 46 of file logic_evaluator_select_gates.h.

Constructor & Destructor Documentation

◆ SelectGateItem()

hal::SelectGateItem::SelectGateItem ( u32  id,
ModuleItem::TreeItemType  type,
ModuleModel model,
bool  isSel = true 
)
inline

Definition at line 51 of file logic_evaluator_select_gates.h.

Member Function Documentation

◆ isSelectable()

bool hal::SelectGateItem::isSelectable ( ) const
inline

◆ setSelectable()

void hal::SelectGateItem::setSelectable ( bool  isSel)
inline

Definition at line 55 of file logic_evaluator_select_gates.h.

◆ setState()

void hal::SelectGateItem::setState ( Qt::CheckState  stat)
inline

Definition at line 56 of file logic_evaluator_select_gates.h.

Referenced by hal::SelectGateModel::setData().

◆ state()

Qt::CheckState hal::SelectGateItem::state ( ) const
inline

Definition at line 53 of file logic_evaluator_select_gates.h.

Referenced by hal::SelectGateModel::data().


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