Moved printpoint type into create dialog.

This commit is contained in:
Ernie Pasveer
2024-12-22 17:18:09 -06:00
parent 9e4156ab11
commit 3ae0622cd3
17 changed files with 299 additions and 297 deletions
-21
View File
@@ -668,9 +668,6 @@ void SeerMainWindow::handleSettingsConfiguration () {
dlg.setGdbHandleTerminatingException(gdbWidget->gdbHandleTerminatingException());
dlg.setGdbRandomizeStartAddress(gdbWidget->gdbRandomizeStartAddress());
dlg.setGdbEnablePrettyPrinting(gdbWidget->gdbEnablePrettyPrinting());
dlg.setDprintfStyle(gdbWidget->dprintfStyle());
dlg.setDprintfFunction(gdbWidget->dprintfFunction());
dlg.setDprintfChannel(gdbWidget->dprintfChannel());
dlg.setEditorFont(gdbWidget->editorManager()->editorFont());
dlg.setEditorTabSize(gdbWidget->editorManager()->editorTabSize());
dlg.setEditorHighlighterSettings(gdbWidget->editorManager()->editorHighlighterSettings());
@@ -714,9 +711,6 @@ void SeerMainWindow::handleSettingsConfiguration () {
gdbWidget->setGdbHandleTerminatingException(dlg.gdbHandleTerminatingException());
gdbWidget->setGdbRandomizeStartAddress(dlg.gdbRandomizeStartAddress());
gdbWidget->setGdbEnablePrettyPrinting(dlg.gdbEnablePrettyPrinting());
gdbWidget->setDprintfStyle(dlg.dprintfStyle());
gdbWidget->setDprintfFunction(dlg.dprintfFunction());
gdbWidget->setDprintfChannel(dlg.dprintfChannel());
gdbWidget->editorManager()->setEditorFont(dlg.editorFont());
gdbWidget->editorManager()->setEditorTabSize(dlg.editorTabSize());
gdbWidget->editorManager()->setEditorHighlighterSettings(dlg.editorHighlighterSettings());
@@ -748,9 +742,6 @@ void SeerMainWindow::handleSettingsConfiguration () {
gdbWidget->clearManualCommandHistory();
}
// Reset the dprintf, in case it was changed.
gdbWidget->resetDprintf();
// Set the key shortcuts.
setKeySettings(dlg.keySettings());
}
@@ -1284,12 +1275,6 @@ void SeerMainWindow::writeConfigSettings () {
settings.setValue("gdbarguments", gdbWidget->rrGdbArguments());
} settings.endGroup();
settings.beginGroup("printpoints"); {
settings.setValue("style", gdbWidget->dprintfStyle());
settings.setValue("function", gdbWidget->dprintfFunction());
settings.setValue("channel", gdbWidget->dprintfChannel());
} settings.endGroup();
settings.beginGroup("editor"); {
settings.setValue("font", gdbWidget->editorManager()->editorFont().toString());
@@ -1366,12 +1351,6 @@ void SeerMainWindow::readConfigSettings () {
gdbWidget->setRRGdbArguments(settings.value("gdbarguments", "").toString());
} settings.endGroup();
settings.beginGroup("printpoints"); {
gdbWidget->setDprintfStyle(settings.value("style", "gdb").toString());
gdbWidget->setDprintfFunction(settings.value("function", "printf").toString());
gdbWidget->setDprintfChannel(settings.value("channel", "").toString());
} settings.endGroup();
settings.beginGroup("editor"); {
QFont f;