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:
Rodrigo Tobar
2021-10-13 23:16:47 +08:00
committed by Brian Gianforcaro
parent 6a3b24db0a
commit 1f4a6e7c22
Notes: sideshowbarker 2024-07-18 02:18:41 +09:00
2 changed files with 60 additions and 18 deletions

View File

@@ -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;
};