aboutsummaryrefslogtreecommitdiffstats
path: root/gui/designwidget.h
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2018-07-28 12:51:37 -0700
committerEddie Hung <eddieh@ece.ubc.ca>2018-07-28 12:51:37 -0700
commit0eaa92bd6a160696c2f221501d610c99d9231bef (patch)
tree6f21160deed301364cd866adf9d8dd2244e7c995 /gui/designwidget.h
parente0517caf1aeb520733edb49f13b4ef61923d41f1 (diff)
parent95ac8386542af257e487e2dbe8ad6cfe6e848a21 (diff)
downloadnextpnr-0eaa92bd6a160696c2f221501d610c99d9231bef.tar.gz
nextpnr-0eaa92bd6a160696c2f221501d610c99d9231bef.tar.bz2
nextpnr-0eaa92bd6a160696c2f221501d610c99d9231bef.zip
Merge remote-tracking branch 'origin/master' into redist_slack
Diffstat (limited to 'gui/designwidget.h')
-rw-r--r--gui/designwidget.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gui/designwidget.h b/gui/designwidget.h
index 6d4b7fe1..60291cf3 100644
--- a/gui/designwidget.h
+++ b/gui/designwidget.h
@@ -37,7 +37,8 @@ enum class ElementType
WIRE,
PIP,
NET,
- CELL
+ CELL,
+ GROUP
};
class DesignWidget : public QWidget
@@ -63,7 +64,7 @@ class DesignWidget : public QWidget
void updateHighlightGroup(QList<QTreeWidgetItem *> item, int group);
Q_SIGNALS:
void info(std::string text);
- void selected(std::vector<DecalXY> decal);
+ void selected(std::vector<DecalXY> decal, bool keep);
void highlight(std::vector<DecalXY> decal, int group);
private Q_SLOTS:
@@ -74,6 +75,9 @@ class DesignWidget : public QWidget
public Q_SLOTS:
void newContext(Context *ctx);
void updateTree();
+ void onClickedBel(BelId bel, bool keep);
+ void onClickedWire(WireId wire, bool keep);
+ void onClickedPip(PipId pip, bool keep);
private:
Context *ctx;