Qt/Debugger: Implement "Breakpoints" window

This commit is contained in:
spycrab
2017-10-03 18:43:44 +02:00
parent 08716be43b
commit 8795b342d1
13 changed files with 615 additions and 0 deletions

View File

@ -240,3 +240,18 @@ bool Settings::IsWatchVisible() const
{
return QSettings().value(QStringLiteral("debugger/showwatch")).toBool();
}
void Settings::SetBreakpointsVisible(bool enabled)
{
if (IsBreakpointsVisible() != enabled)
{
QSettings().setValue(QStringLiteral("debugger/showbreakpoints"), enabled);
emit BreakpointsVisibilityChanged(enabled);
}
}
bool Settings::IsBreakpointsVisible() const
{
return QSettings().value(QStringLiteral("debugger/showbreakpoints")).toBool();
}