mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 08:34:42 +08:00
Merge pull request #496 from tiresiasfromthebai/matrix-visualizer-auto-refresh
Auto-refresh the Matrix Visualizer at each stopping point
This commit is contained in:
@@ -417,6 +417,13 @@ void SeerMatrixVisualizerWidget::handleText (const QString& text) {
|
||||
matrixStrideLineEdit->setFocus();
|
||||
}
|
||||
|
||||
// At a stopping point, refresh.
|
||||
}else if (text.startsWith("*stopped,reason=\"")) {
|
||||
|
||||
if (autoRefreshCheckBox->isChecked()) {
|
||||
handleRefreshButton();
|
||||
}
|
||||
|
||||
}else{
|
||||
// Ignore anything else.
|
||||
}
|
||||
|
||||
@@ -176,6 +176,16 @@
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="autoRefreshCheckBox">
|
||||
<property name="toolTip">
|
||||
<string>Automatically refresh after each stopping point.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Auto</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="refreshToolButton">
|
||||
<property name="toolTip">
|
||||
@@ -476,6 +486,7 @@
|
||||
<tabstop>matrixStrideLineEdit</tabstop>
|
||||
<tabstop>matrixDisplayFormatComboBox</tabstop>
|
||||
<tabstop>matrixStorageOrderComboBox</tabstop>
|
||||
<tabstop>autoRefreshCheckBox</tabstop>
|
||||
<tabstop>refreshToolButton</tabstop>
|
||||
<tabstop>helpToolButton</tabstop>
|
||||
<tabstop>matrixTableWidget</tabstop>
|
||||
|
||||
Reference in New Issue
Block a user