File: DetailedError.ui

package info (click to toggle)
apostrophe 3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,408 kB
  • sloc: python: 5,733; xml: 226; sh: 66; javascript: 50; makefile: 2
file content (104 lines) | stat: -rw-r--r-- 4,262 bytes parent folder | download
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="DetailedError" parent="AdwDialog">
    <property name="title" translatable="yes">Error Details</property>
    <property name="content-width">550</property>
    <property name="content-height">600</property>
    <style>
      <class name="error-details" />
    </style>
    <property name="child">
      <object class="AdwToolbarView">
        <child type="top">
          <object class="AdwHeaderBar" />
        </child>
        <property name="content">
          <object class="GtkBox">
            <property name="orientation">vertical</property>
            <property name="margin-start">32</property>
            <property name="margin-end">32</property>
            <property name="margin-top">16</property>
            <property name="margin-bottom">16</property>
            <property name="spacing">8</property>
            <child>
              <object class="GtkLabel" id="description">
                <property name="halign">start</property>
                <property name="wrap">True</property>
                <property name="margin-top">16</property>
                <property name="margin-bottom">16</property>
                <property name="label" translatable="yes">Apostrophe experienced an error</property>
                <style>
                  <class name="dimmed" />
                </style>
              </object>
            </child>
            <child>
              <object class="GtkBox">
                <property name="orientation">horizontal</property>
                <child>
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">Error Message</property>
                    <property name="halign">start</property>
                    <property name="hexpand">true</property>
                    <style>
                      <class name="heading" />
                    </style>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="copy">
                    <property name="halign">end</property>
                    <property name="hexpand">true</property>
                    <property name="icon-name">edit-copy-symbolic</property>
                    <property name="tooltip-text" translatable="yes">Copy Error Message</property>
                    <style>
                      <class name="flat" />
                    </style>
                    <signal name="clicked" handler="copy_error_message" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkScrolledWindow">
                <property name="vexpand">true</property>
                <property name="overflow">hidden</property>
                <style>
                  <class name="card" />
                </style>
                <child>
                  <object class="GtkTextView" id="message">
                    <property name="editable">false</property>
                    <property name="wrap-mode">word-char</property>
                    <style>
                      <class name="error-message" />
                      <class name="monospace" />
                    </style>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </property>
        <child type="bottom">
          <object class="GtkButton" id="report">
            <property name="halign">center</property>
            <property name="margin-bottom">24</property>
            <style>
              <class name="suggested-action" />
              <class name="pill" />
            </style>
            <child>
              <object class="AdwButtonContent">
                <property name="icon-name">external-link-symbolic</property>
                <property name="label" translatable="yes">Report _Issue</property>
                <property name="use-underline">true</property>
              </object>
            </child>
            <signal name="clicked" handler="report_issue" swapped="no"/>
          </object>
        </child>
      </object>
    </property>
  </template>
</interface>