diff options
author | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-30 09:46:07 +0100 |
---|---|---|
committer | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-30 09:46:07 +0100 |
commit | 412c920e94b44451fab15069fa220a82025971b3 (patch) | |
tree | 5a291cce3831b5ca1aea9fa412438643e2834a6f /gui/designwidget.h | |
parent | 3b9bde533a6a86f6ae5b3902e55a6f649d092608 (diff) | |
parent | 44726a1785ff060e4ce32da53418ccc03b6d5932 (diff) | |
download | nextpnr-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.h | 2 |
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();
|