From 8e3663c0c0d1098c6180006b8ee16c51a39a6384 Mon Sep 17 00:00:00 2001 From: Ernie Pasveer Date: Sat, 7 Oct 2023 12:08:46 -0500 Subject: [PATCH] Tighten up the layout by removing some needless whitespace. --- CHANGELOG.md | 1 + src/SeerEditorManagerWidget.ui | 6 + src/SeerSourceSymbolLibraryManagerWidget.ui | 41 ++- src/SeerStackManagerWidget.cpp | 4 +- src/SeerStackManagerWidget.ui | 41 ++- src/SeerThreadManagerWidget.ui | 290 ++++++++++---------- src/SeerVariableManagerWidget.ui | 41 ++- 7 files changed, 240 insertions(+), 184 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47766d9..d244c18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ * Fixed a rare bug with blank lines from gdb causing a segv in GdbMonitor. * Fixed bug specifying path to "rr" debugger. * Add option to reload source file if it changes. +* Tighten up the layout by removing some needless whitespace. ## [2.2] - 2023-09-07 * Fixed infinite loop when starting with RR mode. diff --git a/src/SeerEditorManagerWidget.ui b/src/SeerEditorManagerWidget.ui index 8081178..46392dc 100644 --- a/src/SeerEditorManagerWidget.ui +++ b/src/SeerEditorManagerWidget.ui @@ -17,12 +17,18 @@ 0 + + 0 + 0 0 + + 3 + diff --git a/src/SeerSourceSymbolLibraryManagerWidget.ui b/src/SeerSourceSymbolLibraryManagerWidget.ui index 59382dc..3a470a7 100644 --- a/src/SeerSourceSymbolLibraryManagerWidget.ui +++ b/src/SeerSourceSymbolLibraryManagerWidget.ui @@ -6,34 +6,47 @@ 0 0 - 854 - 571 + 771 + 479 Form - + + + 0 + 0 + + 0 + 0 + + 3 + - - + + + font-weight: bold; + + Source/Symbol/Library Info - - - - - -1 - - - - + + Qt::PlainText + + + + + + + -1 + diff --git a/src/SeerStackManagerWidget.cpp b/src/SeerStackManagerWidget.cpp index 391e2b5..9185c23 100644 --- a/src/SeerStackManagerWidget.cpp +++ b/src/SeerStackManagerWidget.cpp @@ -193,7 +193,7 @@ void SeerStackManagerWidget::handleText (const QString& text) { QString currentthreadid_text = Seer::parseFirst(newtext, "current-thread-id=", '"', '"', false); - groupBox->setTitle("Stack Info for Thread Id : " + currentthreadid_text + " "); // Add trailing spaces. Some window styles will loose the number. + label->setText("Stack Info for Thread Id : " + currentthreadid_text); stackFramesBrowserWidget()->refresh(); stackArgumentsBrowserWidget()->refresh(); @@ -201,7 +201,7 @@ void SeerStackManagerWidget::handleText (const QString& text) { }else if (text.startsWith("^error,msg=\"No registers.\"")) { - groupBox->setTitle("Stack Info"); + label->setText("Stack Info"); }else{ // Ignore others. diff --git a/src/SeerStackManagerWidget.ui b/src/SeerStackManagerWidget.ui index 7136efe..96f6460 100644 --- a/src/SeerStackManagerWidget.ui +++ b/src/SeerStackManagerWidget.ui @@ -6,34 +6,47 @@ 0 0 - 854 - 571 + 773 + 494 Form - + + + 0 + 0 + + 0 + 0 + + 3 + - - + + + font-weight: bold; + + Stack Info - - - - - -1 - - - - + + Qt::PlainText + + + + + + + -1 + diff --git a/src/SeerThreadManagerWidget.ui b/src/SeerThreadManagerWidget.ui index 5ec4109..a2f5c5e 100644 --- a/src/SeerThreadManagerWidget.ui +++ b/src/SeerThreadManagerWidget.ui @@ -6,162 +6,172 @@ 0 0 - 778 - 621 + 914 + 536 Form - + + + 0 + 0 + + 0 + 0 - - - + + 3 + + + + + font-weight: bold; + + Thread/Process Info - - false + + Qt::PlainText - - - - - -1 - - - - - - - Scheduler locking: - - - - - - - - - - Schedule multiple: - - - - - - - Qt::Vertical - - - - - - - Fork follows: - - - - - - - Qt::Horizontal - - - - 402 - 20 - - - - - - - - Set the scheduler locking mode. - - - - replay - - - - - off - - - - - on - - - - - step - - - - - - - - Set the mode for allowing threads of multiple processes to be resumed when an execution command is issued. - - - - off - - - - - on - - - - - - - - Set the debugger response to a program call of fork or vfork. - - - - parent - - - - - child - - - - - both - - - - - - - - Qt::Horizontal - - - - 402 - 20 - - - - - + + + + -1 + + + + + + + Scheduler locking: + + + + + + + + + + Schedule multiple: + + + + + + + Qt::Vertical + + + + + + + Fork follows: + + + + + + + Qt::Horizontal + + + + 564 + 20 + + + + + + + + Set the scheduler locking mode. + + + + replay + + + + + off + + + + + on + + + + + step + + + + + + + + Set the mode for allowing threads of multiple processes to be resumed when an execution command is issued. + + + + off + + + + + on + + + + + + + + Set the debugger response to a program call of fork or vfork. + + + + parent + + + + + child + + + + + both + + + + + + + + Qt::Horizontal + + + + 564 + 20 + + + + diff --git a/src/SeerVariableManagerWidget.ui b/src/SeerVariableManagerWidget.ui index 6b75def..5573f96 100644 --- a/src/SeerVariableManagerWidget.ui +++ b/src/SeerVariableManagerWidget.ui @@ -6,34 +6,47 @@ 0 0 - 854 - 571 + 772 + 469 Form - + + + 0 + 0 + + 0 + 0 + + 3 + - - + + + font-weight: bold; + + Variable/Register Info - - - - - -1 - - - - + + Qt::PlainText + + + + + + + -1 +