diff options
author | David Shah <davey1576@gmail.com> | 2018-06-26 15:58:35 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-26 15:58:35 +0200 |
commit | 95de0a36b43776ffd07993ff7d2be994981aa8fb (patch) | |
tree | f40c72cd0a4aaa0df13a9ef7401d7dc73a235ce7 /gui/designwidget.h | |
parent | 21d5a04501e411b8c1391606c1eafba5d4789c41 (diff) | |
parent | 0bd73c19778c9bdbc8e6d85c120715e239a9bc0d (diff) | |
download | nextpnr-95de0a36b43776ffd07993ff7d2be994981aa8fb.tar.gz nextpnr-95de0a36b43776ffd07993ff7d2be994981aa8fb.tar.bz2 nextpnr-95de0a36b43776ffd07993ff7d2be994981aa8fb.zip |
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
Diffstat (limited to 'gui/designwidget.h')
-rw-r--r-- | gui/designwidget.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/designwidget.h b/gui/designwidget.h index 498e73d7..e3fbb19e 100644 --- a/gui/designwidget.h +++ b/gui/designwidget.h @@ -33,9 +33,8 @@ class DesignWidget : public QWidget Q_OBJECT
public:
- explicit DesignWidget(Context *ctx, QWidget *parent = 0);
+ explicit DesignWidget(QWidget *parent = 0);
~DesignWidget();
- Context *getContext() { return ctx; }
private:
void addProperty(QtVariantProperty *property, const QString &id);
@@ -48,6 +47,8 @@ class DesignWidget : public QWidget void prepareMenu(const QPoint &pos);
void onItemClicked(QTreeWidgetItem *item, int);
void selectObject();
+ public Q_SLOTS:
+ void newContext(Context *ctx);
private:
Context *ctx;
|