diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-07-15 20:36:08 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-07-15 20:36:08 +0200 |
commit | 2801d82121f4ddac3910b22a54671ba3fe02ecd3 (patch) | |
tree | 6bd627f80b77a119320cb08d00042f09d6834288 /gui/designwidget.cc | |
parent | 164bd28348aaeaf77317a815d7641881b44d0a0d (diff) | |
parent | 8e12ae2cfed728ee1ecab4e5f60f0435bf2d58b8 (diff) | |
download | nextpnr-2801d82121f4ddac3910b22a54671ba3fe02ecd3.tar.gz nextpnr-2801d82121f4ddac3910b22a54671ba3fe02ecd3.tar.bz2 nextpnr-2801d82121f4ddac3910b22a54671ba3fe02ecd3.zip |
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
Diffstat (limited to 'gui/designwidget.cc')
-rw-r--r-- | gui/designwidget.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/designwidget.cc b/gui/designwidget.cc index 1f039c60..8b9e9d22 100644 --- a/gui/designwidget.cc +++ b/gui/designwidget.cc @@ -230,6 +230,7 @@ void DesignWidget::newContext(Context *ctx) bel_root->setText(0, "Bels");
treeWidget->insertTopLevelItem(0, bel_root);
if (ctx) {
+ Q_EMIT contextLoadStatus("Configuring bels...");
for (auto bel : ctx->getBels()) {
auto id = ctx->getBelName(bel);
QStringList items = QString(id.c_str(ctx)).split("/");
@@ -262,6 +263,7 @@ void DesignWidget::newContext(Context *ctx) wire_root->setText(0, "Wires");
treeWidget->insertTopLevelItem(0, wire_root);
if (ctx) {
+ Q_EMIT contextLoadStatus("Configuring wires...");
for (auto wire : ctx->getWires()) {
auto id = ctx->getWireName(wire);
QStringList items = QString(id.c_str(ctx)).split("/");
@@ -293,6 +295,7 @@ void DesignWidget::newContext(Context *ctx) pip_root->setText(0, "Pips");
treeWidget->insertTopLevelItem(0, pip_root);
if (ctx) {
+ Q_EMIT contextLoadStatus("Configuring pips...");
for (auto pip : ctx->getPips()) {
auto id = ctx->getPipName(pip);
QStringList items = QString(id.c_str(ctx)).split("/");
@@ -328,6 +331,8 @@ void DesignWidget::newContext(Context *ctx) cells_root = new QTreeWidgetItem(treeWidget);
cells_root->setText(0, "Cells");
treeWidget->insertTopLevelItem(0, cells_root);
+
+ Q_EMIT finishContextLoad();
}
void DesignWidget::updateTree()
|