mirror of
https://github.com/Steve-Tech/YAFI.git
synced 2026-04-20 01:00:37 +00:00
98 lines
3.6 KiB
XML
98 lines
3.6 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<!-- Created with Cambalache 0.96.1 -->
|
|
<interface>
|
|
<!-- interface-name hardware.ui -->
|
|
<!-- interface-description The Hardware page for YAFI -->
|
|
<!-- interface-copyright Steve-Tech -->
|
|
<requires lib="gtk" version="4.18"/>
|
|
<requires lib="libadwaita" version="1.3"/>
|
|
<template class="HardwarePage" parent="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkListBox">
|
|
<property name="margin-end">10</property>
|
|
<property name="margin-start">10</property>
|
|
<child>
|
|
<object class="AdwActionRow">
|
|
<property name="selectable">False</property>
|
|
<property name="title">Hardware Status</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="AdwActionRow" id="hw_chassis">
|
|
<property name="title">Chassis Open Count</property>
|
|
<child>
|
|
<object class="GtkLabel" id="hw_chassis_label"/>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="AdwActionRow" id="hw_priv_cam">
|
|
<property name="subtitle">Use Privacy Switch</property>
|
|
<property name="title">Camera Enabled</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="halign">end</property>
|
|
<property name="homogeneous">True</property>
|
|
<property name="valign">center</property>
|
|
<child>
|
|
<object class="GtkSwitch" id="hw_priv_cam_sw">
|
|
<property name="active">True</property>
|
|
<property name="sensitive">False</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="AdwActionRow" id="hw_priv_mic">
|
|
<property name="subtitle">Use Privacy Switch</property>
|
|
<property name="title">Microphone Enabled</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="halign">end</property>
|
|
<property name="homogeneous">True</property>
|
|
<property name="valign">center</property>
|
|
<child>
|
|
<object class="GtkSwitch" id="hw_priv_mic_sw">
|
|
<property name="active">True</property>
|
|
<property name="sensitive">False</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="AdwActionRow" id="hw_fp_pwr">
|
|
<property name="title">Fingerprint</property>
|
|
<property name="visible">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="halign">end</property>
|
|
<property name="homogeneous">True</property>
|
|
<property name="spacing">5</property>
|
|
<property name="valign">center</property>
|
|
<child>
|
|
<object class="GtkButton" id="hw_fp_pwr_en">
|
|
<property name="label">Enable</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="hw_fp_pwr_dis">
|
|
<property name="label">Disable</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<style>
|
|
<class name="boxed-list"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|