Finished 'stack' view.

This commit is contained in:
Ernie Pasveer
2024-10-05 12:13:37 -05:00
parent 98449201e4
commit 1b2df9e5ed
6 changed files with 94 additions and 13 deletions
+9
View File
@@ -15,6 +15,7 @@ SeerStackDumpSettingsDialog::SeerStackDumpSettingsDialog (QWidget* parent) : QDi
// Setup the widgets
setStackPointerExpression("$sp");
setStackPointerColor(QColor("lightGray"));
setBytesBeforeSP(16);
setBytesAfterSP(16);
setAsciiBytes(8);
@@ -29,6 +30,14 @@ void SeerStackDumpSettingsDialog::setStackPointerExpression (const QString& expr
spExpressionLineEdit->setText(expression);
}
void SeerStackDumpSettingsDialog::setStackPointerColor (const QColor& color) {
spHighLightColorButton->setColor(color);
}
QColor SeerStackDumpSettingsDialog::stackPointerColor () const {
return spHighLightColorButton->color();
}
QString SeerStackDumpSettingsDialog::stackPointerExpression () const {
return spExpressionLineEdit->text();
}