aboutsummaryrefslogtreecommitdiffstats
path: root/gui/designwidget.h
diff options
context:
space:
mode:
authorSergiusz Bazanski <q3k@q3k.org>2018-07-30 09:46:07 +0100
committerSergiusz Bazanski <q3k@q3k.org>2018-07-30 09:46:07 +0100
commit412c920e94b44451fab15069fa220a82025971b3 (patch)
tree5a291cce3831b5ca1aea9fa412438643e2834a6f /gui/designwidget.h
parent3b9bde533a6a86f6ae5b3902e55a6f649d092608 (diff)
parent44726a1785ff060e4ce32da53418ccc03b6d5932 (diff)
downloadnextpnr-412c920e94b44451fab15069fa220a82025971b3.tar.gz
nextpnr-412c920e94b44451fab15069fa220a82025971b3.tar.bz2
nextpnr-412c920e94b44451fab15069fa220a82025971b3.zip
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into treemodel
Diffstat (limited to 'gui/designwidget.h')
-rw-r--r--gui/designwidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/designwidget.h b/gui/designwidget.h
index bbd188cd..27ead589 100644
--- a/gui/designwidget.h
+++ b/gui/designwidget.h
@@ -56,12 +56,14 @@ class DesignWidget : public QWidget
void info(std::string text);
void selected(std::vector<DecalXY> decal, bool keep);
void highlight(std::vector<DecalXY> decal, int group);
+ void zoomSelected();
private Q_SLOTS:
void prepareMenuProperty(const QPoint &pos);
void prepareMenuTree(const QPoint &pos);
void onSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
void onItemDoubleClicked(QTreeWidgetItem *item, int column);
+ void onDoubleClicked(const QModelIndex &index);
public Q_SLOTS:
void newContext(Context *ctx);
void updateTree();