63 mPinModel =
new PinModel(
this, editable);
GateLibraryTabPin(bool editable=false, QWidget *parent=nullptr)
QTreeView * getTreeView()
void setGate(GateType *gate)
void editNewDone(QModelIndex index)
void handleEditNewDone(const QModelIndex &index)
PinTreeView(QWidget *parent=nullptr)
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const=0
void edit(const QModelIndex &index)
QAbstractItemModel * model() const const
void setSelectionBehavior(QAbstractItemView::SelectionBehavior behavior)
void setCurrentIndex(const QModelIndex &index)
void setItemDelegate(QAbstractItemDelegate *delegate)
bool isValid() const const
QModelIndex parent() const const
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
virtual void polish(QWidget *widget)
virtual void unpolish(QWidget *widget)
void resizeColumnToContents(int column)
virtual void setModel(QAbstractItemModel *model) override