aboutsummaryrefslogtreecommitdiffstats
path: root/gui/mainwindow.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-15 11:10:11 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-15 11:10:11 +0200
commitfe4d56a45a880993b87ff0790ad93f5d145d6d4e (patch)
treeb5ba735f34ed58c61cef99dd78f0e85b43791d8b /gui/mainwindow.cc
parent355d33632cdbc1808e2d33ef89ed92052f9bb2ea (diff)
downloadnextpnr-fe4d56a45a880993b87ff0790ad93f5d145d6d4e.tar.gz
nextpnr-fe4d56a45a880993b87ff0790ad93f5d145d6d4e.tar.bz2
nextpnr-fe4d56a45a880993b87ff0790ad93f5d145d6d4e.zip
Propagate signals
Diffstat (limited to 'gui/mainwindow.cc')
-rw-r--r--gui/mainwindow.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/mainwindow.cc b/gui/mainwindow.cc
index e683e0c5..bd38cc40 100644
--- a/gui/mainwindow.cc
+++ b/gui/mainwindow.cc
@@ -17,6 +17,9 @@ MainWindow::MainWindow(Design *_design, QWidget *parent)
designview->setMinimumWidth(300);
designview->setMaximumWidth(300);
+ connect(designview, SIGNAL(info(std::string)), this,
+ SLOT(writeInfo(std::string)));
+
ui->splitter_2->addWidget(designview);
tabWidget = new QTabWidget();
@@ -27,3 +30,5 @@ MainWindow::MainWindow(Design *_design, QWidget *parent)
}
MainWindow::~MainWindow() { delete ui; }
+
+void MainWindow::writeInfo(std::string text) { info->info(text); }