diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 14:36:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 14:36:24 +0000 |
commit | 9b6d8e63db85c30007b463e91f91a791969fa83f (patch) | |
tree | 0899af51d73c1bf986f73ae39a03c4436083018a /panels/common/cc-time-editor.ui | |
parent | Initial commit. (diff) | |
download | gnome-control-center-9b6d8e63db85c30007b463e91f91a791969fa83f.tar.xz gnome-control-center-9b6d8e63db85c30007b463e91f91a791969fa83f.zip |
Adding upstream version 1:3.38.4.upstream/1%3.38.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'panels/common/cc-time-editor.ui')
-rw-r--r-- | panels/common/cc-time-editor.ui | 193 |
1 files changed, 193 insertions, 0 deletions
diff --git a/panels/common/cc-time-editor.ui b/panels/common/cc-time-editor.ui new file mode 100644 index 0000000..1732fcd --- /dev/null +++ b/panels/common/cc-time-editor.ui @@ -0,0 +1,193 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <template class="CcTimeEditor" parent="GtkBin"> + <property name="visible">True</property> + <child> + <object class="GtkGrid"> + <property name="visible">True</property> + <property name="row-spacing">6</property> + <property name="column-spacing">6</property> + + <!-- Increment Hour Button --> + <child> + <object class="GtkButton" id="hour_up_button"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="valign">center</property> + <property name="halign">center</property> + <signal name="button-press-event" handler="editor_change_time_pressed_cb" swapped="yes"/> + <signal name="button-release-event" handler="editor_change_time_released_cb" swapped="yes"/> + <style> + <class name="titlebutton"/> + <class name="circular"/> + <class name="flat"/> + </style> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon-name">go-up-symbolic</property> + </object> + </child> + <child internal-child="accessible"> + <object class="AtkObject"> + <property name="AtkObject::accessible-name" translatable="yes">Increment Hour</property> + </object> + </child> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">0</property> + </packing> + </child> + + <!-- Increment Minute Button --> + <child> + <object class="GtkButton" id="minute_up_button"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="valign">center</property> + <property name="halign">center</property> + <signal name="button-press-event" handler="editor_change_time_pressed_cb" swapped="yes"/> + <signal name="button-release-event" handler="editor_change_time_released_cb" swapped="yes"/> + <style> + <class name="titlebutton"/> + <class name="circular"/> + <class name="flat"/> + </style> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon-name">go-up-symbolic</property> + </object> + </child> + <child internal-child="accessible"> + <object class="AtkObject"> + <property name="AtkObject::accessible-name" translatable="yes">Increment Minute</property> + </object> + </child> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">0</property> + </packing> + </child> + + <child> + <object class="CcTimeEntry" id="time_entry"> + <property name="visible">True</property> + <child internal-child="accessible"> + <object class="AtkObject"> + <property name="AtkObject::accessible-description" translatable="yes">Time</property> + </object> + </child> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">1</property> + <property name="width">2</property> + </packing> + </child> + + <!-- Decrement Hour Button --> + <child> + <object class="GtkButton" id="hour_down_button"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="valign">center</property> + <property name="halign">center</property> + <signal name="button-press-event" handler="editor_change_time_pressed_cb" swapped="yes"/> + <signal name="button-release-event" handler="editor_change_time_released_cb" swapped="yes"/> + <style> + <class name="titlebutton"/> + <class name="circular"/> + <class name="flat"/> + </style> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon-name">go-down-symbolic</property> + </object> + </child> + <child internal-child="accessible"> + <object class="AtkObject"> + <property name="AtkObject::accessible-name" translatable="yes">Decrement Hour</property> + </object> + </child> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">2</property> + </packing> + </child> + + <!-- Decrement Minute Button --> + <child> + <object class="GtkButton" id="minute_down_button"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="valign">center</property> + <property name="halign">center</property> + <signal name="button-press-event" handler="editor_change_time_pressed_cb" swapped="yes"/> + <signal name="button-release-event" handler="editor_change_time_released_cb" swapped="yes"/> + <style> + <class name="titlebutton"/> + <class name="circular"/> + <class name="flat"/> + </style> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon-name">go-down-symbolic</property> + </object> + </child> + <child internal-child="accessible"> + <object class="AtkObject"> + <property name="AtkObject::accessible-name" translatable="yes">Decrement Minute</property> + </object> + </child> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">2</property> + </packing> + </child> + + <!-- AM/PM Button --> + <child> + <object class="GtkButton" id="am_pm_button"> + <property name="visible">True</property> + <property name="valign">center</property> + <signal name="clicked" handler="editor_am_pm_button_clicked_cb" swapped="yes"/> + <child> + <object class="GtkStack" id="am_pm_stack"> + <property name="visible">True</property> + <signal name="notify::visible-child" handler="editor_am_pm_stack_changed_cb" swapped="yes"/> + <child> + <object class="GtkLabel" id="am_label"> + <property name="visible">True</property> + <attributes> + <attribute name="scale" value="1.4"/> + </attributes> + </object> + </child> + <child> + <object class="GtkLabel" id="pm_label"> + <property name="visible">True</property> + <attributes> + <attribute name="scale" value="1.4"/> + </attributes> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="left-attach">2</property> + <property name="top-attach">1</property> + </packing> + </child> + + </object> + </child> + </template> +</interface> |