File: StatusIndicator.ui

package info (click to toggle)
metadata-cleaner 2.4.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,808 kB
  • sloc: python: 1,682; xml: 343; makefile: 3
file content (63 lines) | stat: -rw-r--r-- 2,310 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: 2020, 2021 Romain Vigier <contact AT romainvigier.fr>
SPDX-License-Identifier: GPL-3.0-or-later
-->
<interface>
  <template class="StatusIndicator" parent="GtkStack">
    <property name="valign">center</property>
    <property name="transition-type">crossfade</property>
    <signal name="notify::file-store" handler="_on_file_store_changed"/>
    <child>
      <object class="GtkStackPage">
        <property name="name">idle</property>
        <property name="child">
          <object class="GtkBox"/>
        </property>
      </object>
    </child>
    <child>
      <object class="GtkStackPage">
        <property name="name">working</property>
        <property name="child">
          <object class="GtkBox">
            <property name="spacing">6</property>
            <child>
              <object class="GtkProgressBar" id="_progressbar">
                <property name="hexpand">true</property>
                <property name="valign">center</property>
                <property name="text"></property>
                <property name="show-text">True</property>
                <property name="ellipsize">middle</property>
              </object>
            </child>
            <child>
              <object class="GtkButton">
                <property name="icon-name">metadatacleaner-cancel-symbolic</property>
                <property name="tooltip-text" translatable="yes">Cancel</property>
                <property name="valign">center</property>
                <signal name="clicked" handler="_on_cancel_button_clicked"/>
                <style>
                  <class name="circular"/>
                </style>
              </object>
            </child>
          </object>
        </property>
      </object>
    </child>
    <child>
      <object class="GtkStackPage">
        <property name="name">done</property>
        <property name="child">
          <object class="GtkLabel" id="_done_label">
            <property name="valign">center</property>
            <property name="xalign">0</property>
            <property name="wrap">True</property>
            <property name="single-line-mode">True</property>
          </object>
        </property>
      </object>
    </child>
  </template>
</interface>