ide-omni-bar.ui 11.8 KB
Newer Older
1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="IdeOmniBar" parent="GtkBox">
    <style>
      <class name="linked"/>
    </style>
    <child type="center">
      <object class="EggEntryBox" id="frame">
Christian Hergert's avatar
Christian Hergert committed
9
        <property name="max-width-chars">55</property>
10
11
        <property name="visible">true</property>
        <child>
12
          <object class="GtkEventBox" id="event_box">
13
            <property name="visible">true</property>
14
            <child>
15
16
              <object class="GtkBox">
                <property name="hexpand">true</property>
17
                <property name="visible">true</property>
18
19
                <property name="margin-end">3</property>
                <property name="margin-start">3</property>
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
                <property name="spacing">6</property>
                <child>
                  <object class="GtkLabel" id="project_label">
                    <property name="ellipsize">end</property>
                    <property name="visible">true</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel">
                    <property name="label">/</property>
                    <property name="visible">true</property>
                    <style>
                      <class name="dim-label"/>
                    </style>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="branch_label">
                    <property name="ellipsize">end</property>
                    <property name="visible">true</property>
                  </object>
                </child>
                <child>
                  <object class="GtkImage" id="build_result_diagnostics_image">
                    <property name="icon-name">dialog-warning</property>
                  </object>
                  <packing>
                    <property name="pack-type">end</property>
                    <property name="position">1</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkStack" id="message_stack">
                    <property name="homogeneous">false</property>
                    <property name="transition-type">slide-left</property>
                    <property name="transition-duration">500</property>
                    <property name="visible">true</property>
                    <child>
                      <object class="GtkLabel" id="config_name_label">
                        <property name="visible">true</property>
                        <property name="ellipsize">end</property>
                      </object>
                      <packing>
                        <property name="name">config</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkLabel" id="build_result_mode_label">
                        <property name="visible">true</property>
                        <property name="ellipsize">end</property>
                      </object>
                      <packing>
                        <property name="name">build</property>
                      </packing>
                    </child>
                  </object>
                  <packing>
                    <property name="pack-type">end</property>
                    <property name="position">0</property>
                  </packing>
                </child>
84
85
              </object>
            </child>
86
87
88
89
90
          </object>
        </child>
      </object>
    </child>
    <child>
91
      <object class="GtkButton" id="build_button">
92
        <property name="action-name">build-tools.build</property>
93
94
95
96
97
98
        <property name="focus-on-click">false</property>
        <property name="visible">true</property>
        <style>
          <class name="linked"/>
        </style>
        <child>
99
          <object class="GtkImage" id="build_button_image">
100
            <property name="icon-name">system-run-symbolic</property>
101
            <property name="tooltip-text" translatable="yes">Build project</property>
102
103
104
105
106
107
108
109
110
111
112
113
114
115
            <property name="visible">true</property>
          </object>
        </child>
      </object>
      <packing>
        <property name="pack-type">end</property>
        <property name="position">0</property>
      </packing>
    </child>
  </template>
  <object class="GtkSizeGroup">
    <property name="mode">GTK_SIZE_GROUP_VERTICAL</property>
    <widgets>
      <widget name="frame"/>
116
      <widget name="build_button"/>
117
118
    </widgets>
  </object>
Christian Hergert's avatar
Christian Hergert committed
119
  <object class="GtkPopover" id="popover">
120
    <property name="border-width">24</property>
121
    <property name="relative-to">event_box</property>
Christian Hergert's avatar
Christian Hergert committed
122
    <property name="position">bottom</property>
Christian Hergert's avatar
Christian Hergert committed
123
    <property name="width-request">425</property>
124
125
126
    <style>
      <class name="omnibar"/>
    </style>
Christian Hergert's avatar
Christian Hergert committed
127
128
    <child>
      <object class="GtkBox">
129
130
        <property name="orientation">vertical</property>
        <property name="spacing">20</property>
Christian Hergert's avatar
Christian Hergert committed
131
132
133
        <property name="visible">true</property>
        <child>
          <object class="GtkGrid">
134
135
            <property name="column-spacing">20</property>
            <property name="row-spacing">10</property>
Christian Hergert's avatar
Christian Hergert committed
136
137
138
139
140
            <property name="visible">true</property>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Project</property>
                <property name="visible">true</property>
141
                <property name="xalign">0.0</property>
Christian Hergert's avatar
Christian Hergert committed
142
143
144
145
146
147
148
149
150
151
152
153
                <attributes>
                  <attribute name="weight" value="bold"/>
                </attributes>
                <style>
                  <class name="dim-label"/>
                </style>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="popover_project_label">
                <property name="hexpand">true</property>
                <property name="visible">true</property>
154
155
                <property name="xalign">0.0</property>
                <property name="ellipsize">start</property>
Christian Hergert's avatar
Christian Hergert committed
156
157
158
159
160
161
162
163
164
              </object>
              <packing>
                <property name="left-attach">1</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Branch</property>
                <property name="visible">true</property>
165
                <property name="xalign">0.0</property>
Christian Hergert's avatar
Christian Hergert committed
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
                <attributes>
                  <attribute name="weight" value="bold"/>
                </attributes>
                <style>
                  <class name="dim-label"/>
                </style>
              </object>
              <packing>
                <property name="left-attach">0</property>
                <property name="top-attach">1</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel" id="popover_branch_label">
                <property name="hexpand">true</property>
                <property name="visible">true</property>
182
                <property name="xalign">0.0</property>
Christian Hergert's avatar
Christian Hergert committed
183
184
185
186
187
188
189
190
              </object>
              <packing>
                <property name="left-attach">1</property>
                <property name="top-attach">1</property>
              </packing>
            </child>
          </object>
        </child>
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
        <child>
          <object class="GtkBox">
            <property name="orientation">vertical</property>
            <property name="spacing">10</property>
            <property name="visible">true</property>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Build Profile</property>
                <property name="visible">true</property>
                <property name="xalign">0.0</property>
                <attributes>
                  <attribute name="weight" value="bold"/>
                </attributes>
              </object>
            </child>
            <child>
              <object class="GtkScrolledWindow">
                <property name="shadow-type">in</property>
209
210
                <property name="max-content-height">200</property>
                <property name="max-content-width">500</property>
211
212
                <property name="visible">true</property>
                <child>
213
                  <object class="GtkListBox" id="popover_configuration_list_box">
214
                    <property name="selection-mode">none</property>
215
216
217
218
219
220
221
                    <property name="visible">true</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
222
223
224
225
226
227
228
        <child>
          <object class="GtkBox">
            <property name="spacing">12</property>
            <property name="visible">true</property>
            <child>
              <object class="GtkBox">
                <property name="orientation">vertical</property>
229
                <property name="valign">center</property>
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
                <property name="visible">true</property>
                <child>
                  <object class="GtkLabel" id="popover_build_label">
                    <property name="label">Last build</property>
                    <property name="xalign">0.0</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="popover_last_build_time_label">
                    <property name="xalign">0.0</property>
                    <attributes>
                      <attribute name="scale" value="0.8333"/>
                    </attributes>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="popover_build_running_time_label">
252
253
                <property name="margin-end">8</property>
                <property name="margin-start">8</property>
254
255
256
257
258
259
260
261
              </object>
              <packing>
                <property name="position">1</property>
                <property name="pack-type">start</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel" id="popover_build_status">
262
263
                <property name="margin-end">8</property>
                <property name="margin-start">8</property>
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
              </object>
              <packing>
                <property name="position">2</property>
                <property name="pack-type">end</property>
              </packing>
            </child>
            <child>
              <object class="GtkButton" id="popover_view_output_button">
                <property name="label" translatable="yes">View Output</property>
                <property name="visible">true</property>
              </object>
              <packing>
                <property name="position">1</property>
                <property name="pack-type">end</property>
              </packing>
            </child>
            <child>
              <object class="GtkButton" id="popover_build_cancel_button">
                <property name="action-name">build-tools.cancel-build</property>
                <property name="label" translatable="yes">_Cancel</property>
                <property name="use-underline">true</property>
                <style>
                  <class name="destructive-action"/>
                </style>
              </object>
              <packing>
                <property name="position">0</property>
                <property name="pack-type">end</property>
              </packing>
            </child>
          </object>
        </child>
Christian Hergert's avatar
Christian Hergert committed
296
297
298
      </object>
    </child>
  </object>
299
</interface>