Debugger: Add a Network widget

Display socket table, SSL context and options
This commit is contained in:
Sepalani
2020-04-19 23:30:50 +04:00
parent 88ae4c7914
commit 5e33cd48da
14 changed files with 406 additions and 20 deletions

View File

@ -422,6 +422,20 @@ bool Settings::IsMemoryVisible() const
return QSettings().value(QStringLiteral("debugger/showmemory")).toBool();
}
void Settings::SetNetworkVisible(bool enabled)
{
if (IsNetworkVisible() == enabled)
return;
GetQSettings().setValue(QStringLiteral("debugger/shownetwork"), enabled);
emit NetworkVisibilityChanged(enabled);
}
bool Settings::IsNetworkVisible() const
{
return GetQSettings().value(QStringLiteral("debugger/shownetwork")).toBool();
}
void Settings::SetJITVisible(bool enabled)
{
if (IsJITVisible() == enabled)