mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 21:12:08 +02:00
SystemMonitor: Use a TableView to display the thread stack
Using a table display this information in a much more organised and flexible way than than what can be achieved with a TextEditor.
This commit is contained in:
committed by
Brian Gianforcaro
parent
6a3b24db0a
commit
1f4a6e7c22
Notes:
sideshowbarker
2024-07-18 02:18:41 +09:00
Author: https://github.com/rtobar Commit: https://github.com/SerenityOS/serenity/commit/1f4a6e7c226 Pull-request: https://github.com/SerenityOS/serenity/pull/10459
@@ -6,7 +6,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibGUI/TextEditor.h>
|
||||
#include <LibGUI/TableView.h>
|
||||
#include <LibGUI/Widget.h>
|
||||
|
||||
class ThreadStackWidget final : public GUI::Widget {
|
||||
@@ -26,6 +26,6 @@ private:
|
||||
|
||||
pid_t m_pid { -1 };
|
||||
pid_t m_tid { -1 };
|
||||
RefPtr<GUI::TextEditor> m_stack_editor;
|
||||
RefPtr<GUI::TableView> m_stack_table;
|
||||
RefPtr<Core::Timer> m_timer;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user