summaryrefslogtreecommitdiff
path: root/Userland/Applications/CrashReporter/CrashReporterWindow.gml
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/CrashReporter/CrashReporterWindow.gml')
-rw-r--r--Userland/Applications/CrashReporter/CrashReporterWindow.gml95
1 files changed, 95 insertions, 0 deletions
diff --git a/Userland/Applications/CrashReporter/CrashReporterWindow.gml b/Userland/Applications/CrashReporter/CrashReporterWindow.gml
new file mode 100644
index 0000000000..acca32bd13
--- /dev/null
+++ b/Userland/Applications/CrashReporter/CrashReporterWindow.gml
@@ -0,0 +1,95 @@
+@GUI::Widget {
+ fill_with_background_color: true
+
+ layout: @GUI::VerticalBoxLayout {
+ margins: [5, 5, 5, 5]
+ }
+
+ @GUI::Widget {
+ fixed_height: 44
+
+ layout: @GUI::HorizontalBoxLayout {
+ spacing: 10
+ }
+
+ @GUI::ImageWidget {
+ name: "icon"
+ }
+
+ @GUI::Label {
+ name: "description"
+ text_alignment: "CenterLeft"
+ }
+ }
+
+ @GUI::Widget {
+ fixed_height: 18
+
+ layout: @GUI::HorizontalBoxLayout {
+ }
+
+ @GUI::Label {
+ text: "Executable path:"
+ text_alignment: "CenterLeft"
+ fixed_width: 90
+ }
+
+ @GUI::LinkLabel {
+ name: "executable_link"
+ text_alignment: "CenterLeft"
+ }
+ }
+
+ @GUI::Widget {
+ fixed_height: 18
+
+ layout: @GUI::HorizontalBoxLayout {
+ }
+
+ @GUI::Label {
+ text: "Coredump path:"
+ text_alignment: "CenterLeft"
+ fixed_width: 90
+ }
+
+ @GUI::LinkLabel {
+ name: "coredump_link"
+ text_alignment: "CenterLeft"
+ }
+ }
+
+ @GUI::Widget {
+ fixed_height: 18
+
+ layout: @GUI::HorizontalBoxLayout {
+ }
+
+ @GUI::Label {
+ text: "Backtrace:"
+ text_alignment: "CenterLeft"
+ }
+ }
+
+ @GUI::TextEditor {
+ name: "backtrace_text_editor"
+ mode: "ReadOnly"
+ }
+
+ @GUI::Widget {
+ fixed_height: 32
+
+ layout: @GUI::HorizontalBoxLayout {
+ }
+
+ // HACK: We need something like Layout::add_spacer() in GML! :^)
+ @GUI::Widget {
+ }
+
+ @GUI::Button {
+ name: "close_button"
+ text: "Close"
+ fixed_width: 70
+ fixed_height: 22
+ }
+ }
+}