aboutsummaryrefslogtreecommitdiffstats
path: root/gui/designwidget.h
diff options
context:
space:
mode:
authorEddie Hung <eddie.hung+gitlab@gmail.com>2018-07-28 19:52:17 +0000
committerEddie Hung <eddie.hung+gitlab@gmail.com>2018-07-28 19:52:17 +0000
commit7c1a7e7596cfdf1718e8c479cb281a3cedf0ec57 (patch)
tree6f21160deed301364cd866adf9d8dd2244e7c995 /gui/designwidget.h
parent48b9d05d85dd2192b194cc7f931dfd2ac7663778 (diff)
parent0eaa92bd6a160696c2f221501d610c99d9231bef (diff)
downloadnextpnr-7c1a7e7596cfdf1718e8c479cb281a3cedf0ec57.tar.gz
nextpnr-7c1a7e7596cfdf1718e8c479cb281a3cedf0ec57.tar.bz2
nextpnr-7c1a7e7596cfdf1718e8c479cb281a3cedf0ec57.zip
Merge branch 'redist_slack' into 'redist_slack'
Redist slack See merge request eddiehung/nextpnr!13
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;