mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 16:40:42 +08:00
Finished 'stack' view.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user