diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2018-07-30 18:14:40 -0700 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2018-07-30 18:14:40 -0700 |
commit | 46b74696527d3b217070ff4820b537e0b989a00f (patch) | |
tree | da95e6dc441eb8608cd77d1eea218ec9cb5f26fb /gui/treemodel.h | |
parent | 9c45f762c8280b5f7948df15554e54a38a896da2 (diff) | |
parent | 7da64ee167d518641a479cad1b660c608fb3dede (diff) | |
download | nextpnr-46b74696527d3b217070ff4820b537e0b989a00f.tar.gz nextpnr-46b74696527d3b217070ff4820b537e0b989a00f.tar.bz2 nextpnr-46b74696527d3b217070ff4820b537e0b989a00f.zip |
Merge remote-tracking branch 'origin/master' into redist_slack
Diffstat (limited to 'gui/treemodel.h')
-rw-r--r-- | gui/treemodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/treemodel.h b/gui/treemodel.h index a85c290a..c14efa90 100644 --- a/gui/treemodel.h +++ b/gui/treemodel.h @@ -72,6 +72,7 @@ class ContextTreeModel : public QAbstractItemModel ContextTreeItem *nodeFromIndex(const QModelIndex &idx) const; QModelIndex indexFromNode(ContextTreeItem *node); ContextTreeItem *nodeForIdType(const ElementType type, const QString name) const; + QList<QModelIndex> search(QString text); // Override QAbstractItemModel methods int rowCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; int columnCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; |