mirror of https://github.com/KLayout/klayout.git
Small enhancements of netlist browser: multiple items can be selected in log view (for manyfold geometries), highlights are cleared on tab change
This commit is contained in:
parent
b10cda574c
commit
8984531a8c
|
|
@ -134,7 +134,7 @@
|
|||
<string>...</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<iconset resource="../../icons/icons.qrc">
|
||||
<normaloff>:/run_16px.png</normaloff>:/run_16px.png</iconset>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
|
|
@ -576,6 +576,9 @@
|
|||
<property name="contextMenuPolicy">
|
||||
<enum>Qt::ActionsContextMenu</enum>
|
||||
</property>
|
||||
<property name="selectionMode">
|
||||
<enum>QAbstractItemView::ExtendedSelection</enum>
|
||||
</property>
|
||||
<property name="headerHidden">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
|
|
|
|||
|
|
@ -235,6 +235,8 @@ NetlistBrowserPage::NetlistBrowserPage (QWidget * /*parent*/)
|
|||
connect (actionExportAll, SIGNAL (triggered ()), this, SLOT (export_all ()));
|
||||
connect (actionExportSelected, SIGNAL (triggered ()), this, SLOT (export_selected ()));
|
||||
|
||||
connect (mode_tab, SIGNAL (currentChanged (int)), this, SLOT (mode_tab_changed (int)));
|
||||
|
||||
forward->setEnabled (false);
|
||||
backward->setEnabled (false);
|
||||
}
|
||||
|
|
@ -330,6 +332,13 @@ NetlistBrowserPage::eventFilter (QObject *watched, QEvent *event)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
NetlistBrowserPage::mode_tab_changed (int)
|
||||
{
|
||||
clear_highlights ();
|
||||
dm_update_highlights ();
|
||||
}
|
||||
|
||||
void
|
||||
NetlistBrowserPage::layer_list_changed (int)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -214,6 +214,7 @@ private slots:
|
|||
void log_selection_changed ();
|
||||
void browse_color_for_net ();
|
||||
void select_color_for_net ();
|
||||
void mode_tab_changed (int);
|
||||
|
||||
protected:
|
||||
bool eventFilter (QObject *watched, QEvent *event);
|
||||
|
|
|
|||
Loading…
Reference in New Issue