void setModel(QAbstractItemModel *model);
void setFilteredModel(QAbstractItemModel *model, BufferViewFilter::Modes mode, QStringList nets);
- void dragEnterEvent(QDragEnterEvent *);
- void dragLeaveEvent(QDragLeaveEvent *);
-
+public slots:
+ void select(const QModelIndex &);
+
signals:
- void dragEnter();
- void dragLeave();
+ void eventDropped(QDropEvent *);
+ void removeBuffer(const QModelIndex &);
+ void selectionChanged(const QModelIndex &, QItemSelectionModel::SelectionFlags);
- protected:
- void rowsInserted (const QModelIndex & parent, int start, int end);
+protected:
+ void dropEvent(QDropEvent *);
+ void keyPressEvent(QKeyEvent *);
+ void rowsInserted (const QModelIndex & parent, int start, int end);
};