2023-02-13 19:45:19 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<template class="CcSplitRow" parent="CcVerticalRow">
|
|
|
|
<child type="content">
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="homogeneous">True</property>
|
|
|
|
<property name="spacing">24</property>
|
|
|
|
<property name="margin-top">12</property>
|
|
|
|
<property name="margin-bottom">12</property>
|
|
|
|
|
|
|
|
<!-- Default Option -->
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="spacing">12</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
<object class="GtkEventControllerMotion">
|
2023-05-26 12:42:47 +12:00
|
|
|
<signal name="enter" handler="on_default_option_focus_enter_cb" object="CcSplitRow" swapped="yes" />
|
|
|
|
<signal name="leave" handler="on_default_option_focus_leave_cb" object="CcSplitRow" swapped="yes" />
|
2023-02-13 19:45:19 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
<object class="GtkGestureClick">
|
2023-05-26 12:42:47 +12:00
|
|
|
<signal name="released" handler="on_default_option_click_released_cb" object="CcSplitRow" swapped="yes" />
|
2023-02-13 19:45:19 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
<object class="AdwBin">
|
|
|
|
<style>
|
|
|
|
<class name="background"/>
|
|
|
|
<class name="frame"/>
|
|
|
|
</style>
|
|
|
|
<child>
|
2023-02-16 13:02:53 +01:00
|
|
|
<object class="GtkPicture" id="default_option_picture">
|
2023-02-13 19:45:19 +01:00
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="margin-top">18</property>
|
|
|
|
<property name="margin-bottom">18</property>
|
|
|
|
<property name="margin-start">18</property>
|
|
|
|
<property name="margin-end">18</property>
|
2023-02-16 13:02:53 +01:00
|
|
|
<property name="height-request">128</property>
|
2023-02-13 19:45:19 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
<object class="GtkCheckButton" id="default_option_checkbutton">
|
|
|
|
<property name="margin-start">6</property>
|
|
|
|
<property name="group">alternative_option_checkbutton</property>
|
|
|
|
<signal name="toggled" handler="on_checkbutton_toggled_cb" object="CcSplitRow" swapped="yes"/>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="margin-start">6</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="xalign">0.0</property>
|
|
|
|
<binding name="label">
|
|
|
|
<lookup name="default-option-title">CcSplitRow</lookup>
|
|
|
|
</binding>
|
|
|
|
<style>
|
|
|
|
<class name="title" />
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="xalign">0.0</property>
|
|
|
|
<binding name="label">
|
|
|
|
<lookup name="default-option-subtitle">CcSplitRow</lookup>
|
|
|
|
</binding>
|
|
|
|
<style>
|
|
|
|
<class name="subtitle" />
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<!-- Alternative Option -->
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="spacing">12</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
<object class="GtkEventControllerMotion">
|
2023-05-26 12:42:47 +12:00
|
|
|
<signal name="enter" handler="on_alternative_option_focus_enter_cb" object="CcSplitRow" swapped="yes" />
|
|
|
|
<signal name="leave" handler="on_alternative_option_focus_leave_cb" object="CcSplitRow" swapped="yes" />
|
2023-02-13 19:45:19 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
<object class="GtkGestureClick">
|
2023-05-26 12:42:47 +12:00
|
|
|
<signal name="released" handler="on_alternative_option_click_released_cb" object="CcSplitRow" swapped="yes" />
|
2023-02-13 19:45:19 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
<object class="AdwBin">
|
|
|
|
<style>
|
|
|
|
<class name="background"/>
|
|
|
|
<class name="frame"/>
|
|
|
|
</style>
|
|
|
|
<child>
|
2023-02-16 13:02:53 +01:00
|
|
|
<object class="GtkPicture" id="alternative_option_picture">
|
2023-02-13 19:45:19 +01:00
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="margin-top">18</property>
|
|
|
|
<property name="margin-bottom">18</property>
|
|
|
|
<property name="margin-start">18</property>
|
|
|
|
<property name="margin-end">18</property>
|
2023-02-16 13:02:53 +01:00
|
|
|
<property name="height-request">128</property>
|
2023-02-13 19:45:19 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
<object class="GtkCheckButton" id="alternative_option_checkbutton">
|
|
|
|
<property name="margin-start">6</property>
|
|
|
|
<signal name="toggled" handler="on_checkbutton_toggled_cb" object="CcSplitRow" swapped="yes"/>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="margin-start">6</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="xalign">0.0</property>
|
|
|
|
<binding name="label">
|
|
|
|
<lookup name="alternative-option-title">CcSplitRow</lookup>
|
|
|
|
</binding>
|
|
|
|
<style>
|
|
|
|
<class name="title" />
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="xalign">0.0</property>
|
|
|
|
<binding name="label">
|
|
|
|
<lookup name="alternative-option-subtitle">CcSplitRow</lookup>
|
|
|
|
</binding>
|
|
|
|
<style>
|
|
|
|
<class name="subtitle" />
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
</interface>
|