mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00: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:
parent
6a3b24db0a
commit
1f4a6e7c22
2 changed files with 60 additions and 18 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue