aboutsummaryrefslogtreecommitdiffstats
path: root/gui/mainwindow.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-12 21:29:37 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-12 21:29:37 +0200
commit65bc2d3f3906791e6fc94e8548a556b0c9f03141 (patch)
treebda63a3359be658cd184ecf95e954961f329b2e8 /gui/mainwindow.h
parent7b1c599947f18267dd50ad62812e9a932403fd4d (diff)
downloadnextpnr-65bc2d3f3906791e6fc94e8548a556b0c9f03141.tar.gz
nextpnr-65bc2d3f3906791e6fc94e8548a556b0c9f03141.tar.bz2
nextpnr-65bc2d3f3906791e6fc94e8548a556b0c9f03141.zip
context menu and cleanup
Diffstat (limited to 'gui/mainwindow.h')
-rw-r--r--gui/mainwindow.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gui/mainwindow.h b/gui/mainwindow.h
index 6f3e515f..27918486 100644
--- a/gui/mainwindow.h
+++ b/gui/mainwindow.h
@@ -3,6 +3,9 @@
#include "emb.h"
#include "nextpnr.h"
+#include "qtpropertymanager.h"
+#include "qttreepropertybrowser.h"
+#include "qtvariantproperty.h"
#include <QMainWindow>
@@ -27,11 +30,16 @@ class MainWindow : public QMainWindow
private Q_SLOTS:
void on_lineEdit_returnPressed();
+ void prepareMenu(const QPoint &pos);
+ void selectObject(QTreeWidgetItem *item);
private:
Ui::MainWindow *ui;
emb::stdout_write_type write;
Design *design;
+ QtVariantPropertyManager *variantManager;
+ QtVariantEditorFactory *variantFactory;
+ QtTreePropertyBrowser *variantEditor;
};
#endif // MAINWINDOW_H