());
@@ -2209,8 +2227,6 @@ NetlistBrowserPage::update_highlights ()
}
clear_markers ();
- info_label->setText (QString ());
-
if (! mp_database.get () || ! mp_view) {
return;
}
@@ -2321,6 +2337,9 @@ NetlistBrowserPage::update_highlights ()
info_label->setText (tl::to_qstring ("" +
tl::to_string (QObject::tr ("Not all shapes are highlighted")) +
"
"));
+ info_label->show ();
+ } else {
+ info_label->hide ();
}
}
diff --git a/src/laybasic/laybasic/layNetlistBrowserPage.h b/src/laybasic/laybasic/layNetlistBrowserPage.h
index c10b3772b..1bd372d92 100644
--- a/src/laybasic/laybasic/layNetlistBrowserPage.h
+++ b/src/laybasic/laybasic/layNetlistBrowserPage.h
@@ -42,6 +42,7 @@ namespace lay
class LayoutView;
class PluginRoot;
class Marker;
+class NetInfoDialog;
// ----------------------------------------------------------------------------------
// NetColorizer definition
@@ -333,6 +334,7 @@ private:
bool m_enable_updates;
bool m_update_needed;
std::vector m_current_nets;
+ lay::NetInfoDialog *mp_info_dialog;
void add_to_history (void *id, bool fwd);
void navigate_to (void *id, bool forward = true);
diff --git a/src/laybasic/laybasic/laybasic.pro b/src/laybasic/laybasic/laybasic.pro
index 752ad5ed2..d8e1a4659 100644
--- a/src/laybasic/laybasic/laybasic.pro
+++ b/src/laybasic/laybasic/laybasic.pro
@@ -69,7 +69,8 @@ FORMS = \
NetlistBrowserPage.ui \
NetlistBrowserConfigPage.ui \
NetlistBrowserConfigPage2.ui \
- NetlistBrowserDialog.ui
+ NetlistBrowserDialog.ui \
+ NetInfoDialog.ui
RESOURCES = \
laybasicResources.qrc
@@ -167,7 +168,8 @@ SOURCES = \
layNetlistBrowser.cc \
layNetlistBrowserDialog.cc \
layNetlistBrowserPage.cc \
- layItemDelegates.cc
+ layItemDelegates.cc \
+ layNetInfoDialog.cc
HEADERS = \
gtf.h \
@@ -257,7 +259,8 @@ HEADERS = \
layNetlistBrowser.h \
layNetlistBrowserDialog.h \
layNetlistBrowserPage.h \
- layItemDelegates.h
+ layItemDelegates.h \
+ layNetInfoDialog.h
INCLUDEPATH += $$TL_INC $$GSI_INC $$DB_INC $$RDB_INC
DEPENDPATH += $$TL_INC $$GSI_INC $$DB_INC $$RDB_INC
diff --git a/src/plugins/tools/net_tracer/lay_plugin/NetTracerDialog.ui b/src/plugins/tools/net_tracer/lay_plugin/NetTracerDialog.ui
index c286503f9..aa6d47d46 100644
--- a/src/plugins/tools/net_tracer/lay_plugin/NetTracerDialog.ui
+++ b/src/plugins/tools/net_tracer/lay_plugin/NetTracerDialog.ui
@@ -1,7 +1,8 @@
-
+
+
NetTracerDialog
-
-
+
+
0
0
@@ -9,50 +10,55 @@
504
-
+
Net Trace
-
-
+
+
9
-
+
+ 9
+
+
+ 9
+
+
+ 9
+
+
6
- -
-
-
-
- 5
- 1
+
-
+
+
+
0
0
-
- Choose "Trace Net" and click at one point in the net to trace the net and add it to the list.
+
+ Choose "Trace Net" and click at one point in the net to trace the net and add it to the list.
Double-click the net entry to rename it.
-Select one or multiple nets and choose "Export" to export the selected nets to a new layout or cell.
+Select one or multiple nets and choose "Export" to export the selected nets to a new layout or cell.
-
+
Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop
-
+
true
- -
-
-
-
- 5
- 1
+
-
+
+
+
0
0
-
+
12
75
@@ -60,130 +66,142 @@ Select one or multiple nets and choose "Export" to export the selected nets to a
true
-
+
Net Tracer
- -
-
-
+
-
+
+
Qt::Horizontal
- -
-
-
+
-
+
+
Configure
-
+
false
- -
-
-
+
-
+
+
Layer Stack
-
+
false
- -
-
-
-
- 7
- 5
+
-
+
+
+
0
1
-
+
Qt::Horizontal
-
-
-
- 7
- 7
+
+
+
0
0
-
+
QAbstractItemView::ExtendedSelection
-
+
true
-
-
-
- 5
- 5
+
+
+
1
0
-
+
QFrame::StyledPanel
-
+
QFrame::Raised
-
-
- 9
-
-
+
+
6
+
+ 9
+
+
+ 9
+
+
+ 9
+
+
+ 9
+
-
-
-
+
+
QFrame::NoFrame
-
+
QFrame::Raised
-
-
- 0
-
-
+
+
6
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
-
-
-
+
+
12
75
true
-
- <html><head><meta name="qrichtext" content="1" /><style type="text/css">
+
+ <html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'DejaVu Sans'; font-size:12pt; font-weight:600; font-style:normal; text-decoration:none;">
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Net Info</span></p></body></html>
+</style></head><body style=" font-family:'DejaVu Sans'; font-size:12pt; font-weight:600; font-style:normal; text-decoration:none;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Net Info</span></p></body></html>
-
-
+
Qt::Horizontal
-
+
QSizePolicy::Fixed
-
+
10
20
@@ -192,21 +210,21 @@ p, li { white-space: pre-wrap; }
-
-
-
+
+
Detailed
-
-
+
Qt::Horizontal
-
+
QSizePolicy::Expanding
-
+
10
20
@@ -215,15 +233,15 @@ p, li { white-space: pre-wrap; }
-
-
-
+
+
Color
-
-
-
+
+
Color
@@ -232,59 +250,68 @@ p, li { white-space: pre-wrap; }
-
-
-
+
+
false
-
+
QFrame::StyledPanel
-
+
QTextEdit::NoWrap
-
+
0
-
+
1
-
-
-
+
+
QFrame::NoFrame
-
+
QFrame::Raised
-
-
- 0
-
-
+
+
6
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
-
-
-
+
+
Export
-
-
-
+
+
Export To Text
-
-
+
Qt::Horizontal
-
+
40
20
@@ -299,59 +326,68 @@ p, li { white-space: pre-wrap; }
- -
-
-
+
-
+
+
0
0
-
+
QFrame::NoFrame
-
+
QFrame::Raised
-
-
- 0
-
-
+
+
6
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
-
-
-
+
+
Trace Net
-
+
true
-
+
false
-
+
true
-
-
-
+
+
Lock
-
-
+
Qt::Vertical
-
+
QSizePolicy::Fixed
-
+
20
10
@@ -360,21 +396,21 @@ p, li { white-space: pre-wrap; }
-
-
-
+
+
Trace Path
-
-
+
Qt::Vertical
-
+
QSizePolicy::Fixed
-
+
20
10
@@ -383,25 +419,25 @@ p, li { white-space: pre-wrap; }
-
-
-
+
+
Delete
-
-
-
+
+
Clear All
-
-
+
Qt::Vertical
-
+
11
261
@@ -410,8 +446,8 @@ p, li { white-space: pre-wrap; }
-
-
-
+
+
Redo
@@ -419,24 +455,22 @@ p, li { white-space: pre-wrap; }
- -
-
-
-
- 5
- 5
+
-
+
+
+
1
0
-
+
- -
-
-
+
-
+
+
Close
@@ -466,9 +500,7 @@ p, li { white-space: pre-wrap; }
stack_pb
close_pb
-
-
-
+
close_pb
@@ -476,11 +508,11 @@ p, li { white-space: pre-wrap; }
NetTracerDialog
accept()
-
+
512
458
-
+
422
472