summaryrefslogtreecommitdiff
path: root/Userland/Applications/SystemMonitor/ProcessWindow.gml
blob: 5cd9e3d52afc8c6f49392736d046369503651e00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
@GUI::Widget {
    fill_with_background_color: true
    layout: @GUI::VerticalBoxLayout {
        margins: [4]
    }

    @GUI::Widget {
        shrink_to_fit: true
        layout: @GUI::HorizontalBoxLayout {
            margins: [4]
            spacing: 8
        }

        @GUI::ImageWidget {
            name: "process_icon"
            fixed_size: [32, 32]
        }

        @GUI::Label {
            name: "process_name"
            font_weight: "Bold"
            text_alignment: "CenterLeft"
            text: "This is the process name."
            preferred_width: "grow"
        }
    }

    @GUI::HorizontalSeparator {
        fixed_height: 2
    }

    @GUI::StackWidget {
        name: "widget_stack"

        @SystemMonitor::UnavailableProcessWidget {
            name: "unavailable_process"
        }

        @GUI::TabWidget {
            name: "available_process"

            @SystemMonitor::ProcessStateWidget {
                name: "process_state"
                title: "State"
            }

            @SystemMonitor::ProcessMemoryMapWidget {
                name: "memory_map"
                title: "Memory map"
            }

            @SystemMonitor::ProcessFileDescriptorMapWidget {
                name: "open_files"
                title: "Open files"
            }

            @SystemMonitor::ProcessUnveiledPathsWidget {
                name: "unveiled_paths"
                title: "Unveiled paths"
            }

            @SystemMonitor::ThreadStackWidget {
                name: "thread_stack"
                title: "Stack"
            }
        }
    }
}