diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2018-07-28 12:51:37 -0700 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2018-07-28 12:51:37 -0700 |
commit | 0eaa92bd6a160696c2f221501d610c99d9231bef (patch) | |
tree | 6f21160deed301364cd866adf9d8dd2244e7c995 /gui/designwidget.h | |
parent | e0517caf1aeb520733edb49f13b4ef61923d41f1 (diff) | |
parent | 95ac8386542af257e487e2dbe8ad6cfe6e848a21 (diff) | |
download | nextpnr-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.h | 8 |
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;
|