mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
SystemMonitor: Move process window to GML
Extra stuff done in this commit to facilitate the above (if you want to really push my commit count, ask for more atomicisation): - Register a bunch of widgets that are used in the process window. - Allow setting the pid after the fact for the process state widget.
This commit is contained in:
parent
452bbcaa84
commit
7af87e8e6b
13 changed files with 181 additions and 64 deletions
|
@ -9,13 +9,19 @@
|
|||
|
||||
#include <LibGUI/Widget.h>
|
||||
|
||||
namespace SystemMonitor {
|
||||
|
||||
class ProcessStateWidget final : public GUI::Widget {
|
||||
C_OBJECT(ProcessStateWidget);
|
||||
|
||||
public:
|
||||
virtual ~ProcessStateWidget() override = default;
|
||||
|
||||
void set_pid(pid_t);
|
||||
|
||||
private:
|
||||
explicit ProcessStateWidget(pid_t);
|
||||
ProcessStateWidget();
|
||||
RefPtr<GUI::TableView> m_table_view;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue