You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
283 lines
12 KiB
283 lines
12 KiB
<?xml version='1.0' encoding='UTF-8'?>
|
|
<interface>
|
|
<requires lib="gtk" version="4.6" />
|
|
<template class="MousePanel" parent="Panel">
|
|
|
|
<child type="content">
|
|
<object class="GtkBox">
|
|
<property name="halign">center</property>
|
|
<property name="valign">start</property>
|
|
<property name="hexpand">false</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="halign">start</property>
|
|
<property name="valign">start</property>
|
|
<property name="hexpand">false</property>
|
|
<child>
|
|
<object class="GtkBox" id="presentation_box">
|
|
<property name="halign">start</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkImage" id="mouse_image">
|
|
<property name="halign">start</property>
|
|
<property name="height-request">250</property>
|
|
<property name="margin-top">30</property>
|
|
<property name="valign">start</property>
|
|
<property name="width-request">300</property>
|
|
<style />
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="mouse_manufacturer">
|
|
<property name="halign">center</property>
|
|
<property name="justify">center</property>
|
|
<style>
|
|
<class name="heading" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="mouse_name">
|
|
<property name="halign">center</property>
|
|
<property name="justify">center</property>
|
|
<style>
|
|
<class name="heading" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="AdwPreferencesGroup" id="wireless">
|
|
<property name="margin-top">20</property>
|
|
<property name="margin-start">20</property>
|
|
<property name="margin-end">20</property>
|
|
<child>
|
|
<object class="GtkListBox">
|
|
<property name="selection-mode">none</property>
|
|
<property name="css-classes">boxed-list</property>
|
|
|
|
<child>
|
|
<object class="GtkListBoxRow">
|
|
<property name="activatable">false</property>
|
|
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
<object class="GtkLevelBar" id="battery_level">
|
|
<property name="value">50</property>
|
|
<property name="margin-top">10</property>
|
|
<property name="margin-bottom">10</property>
|
|
<property name="margin-start">10</property>
|
|
<property name="margin-end">10</property>
|
|
<property name="max-value">100</property>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="halign">fill</property>
|
|
<property name="spacing">10</property>
|
|
<property name="orientation">horizontal</property>
|
|
<child>
|
|
<object class="GtkLabel" id="charging_state">
|
|
<property name="halign">start</property>
|
|
<property name="label">Not charging</property>
|
|
<property name="margin-start">10</property>
|
|
<property name="margin-bottom">5</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="battery_level_label">
|
|
<property name="halign">end</property>
|
|
<property name="label">50%</property>
|
|
<property name="margin-start">120</property>
|
|
<property name="margin-end">10</property>
|
|
<property name="margin-bottom">5</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox" id="basic_settings">
|
|
<property name="halign">start</property>
|
|
<property name="margin-top">20</property>
|
|
<property name="margin-start">40</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="valign">start</property>
|
|
<property name="hexpand">false</property>
|
|
<child>
|
|
<object class="GtkBox" id="dpi_box">
|
|
<property name="halign">start</property>
|
|
<property name="margin-top">30</property>
|
|
<property name="valign">start</property>
|
|
<child>
|
|
<object class="AdwPreferencesGroup" id="dpi_preference_group">
|
|
<property name="height-request">200</property>
|
|
<property name="header-suffix">
|
|
<object class="GtkButton">
|
|
<property name="child">
|
|
<object class="AdwButtonContent" id="dpi_stage_add_button">
|
|
<property name="icon-name">list-add-symbolic</property>
|
|
<property name="label">1/1</property>
|
|
<property name="use-underline">True</property>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</property>
|
|
<property name="width-request">350</property>
|
|
<property name="title">DPI stages</property>
|
|
<property name="description">Sensibility stages of the mouse</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<property name="margin-top">35</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="label">Mouse features</property>
|
|
<property name="halign">start</property>
|
|
<property name="css-classes">heading</property>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="GtkListBoxRow">
|
|
<property name="activatable">false</property>
|
|
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="halign">center</property>
|
|
<property name="spacing">10</property>
|
|
<child>
|
|
<object class="GtkListBox">
|
|
<property name="selection-mode">none</property>
|
|
<property name="css-classes">boxed-list</property>
|
|
<property name="margin-top">10</property>
|
|
|
|
<child>
|
|
<object class="AdwSwitchRow" id="motion_sync_switchrow">
|
|
<property name="activatable">true</property>
|
|
<property name="width-request">200</property>
|
|
<property name="hexpand">false</property>
|
|
<property name="hexpand-set">true</property>
|
|
<property name="title">Motion sync</property>
|
|
<property name="subtitle">Motion sync makes the mouse grab sensor data at
|
|
the rate of the computer update requests </property>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="GtkListBox">
|
|
<property name="selection-mode">none</property>
|
|
<property name="css-classes">boxed-list</property>
|
|
<property name="margin-top">10</property>
|
|
|
|
<child>
|
|
<object class="AdwSwitchRow" id="angle_snap_switchrow">
|
|
<property name="activatable">true</property>
|
|
<property name="width-request">200</property>
|
|
<property name="hexpand">false</property>
|
|
<property name="hexpand-set">true</property>
|
|
<property name="title">Angle snap</property>
|
|
<property name="subtitle">Angle snap detects when you try to draw a straight
|
|
line and locks the mouse on that line</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
|
|
|
|
|
|
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<property name="margin-top">35</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="label">Polling rate</property>
|
|
<property name="halign">start</property>
|
|
<property name="css-classes">heading</property>
|
|
<property name="margin-bottom">10</property>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="GtkListBox">
|
|
<property name="selection-mode">none</property>
|
|
<property name="css-classes">boxed-list</property>
|
|
<property name="margin-top">10</property>
|
|
|
|
<child>
|
|
<object class="AdwComboRow" id="polling_rate_comborow">
|
|
<property name="activatable">true</property>
|
|
|
|
<property name="title">Polling rate</property>
|
|
<property name="subtitle">The rate at wich the mouse sends data to the computer</property>
|
|
<property name="model">
|
|
<object class="GtkStringList">
|
|
<items>
|
|
<item>125 Hz</item>
|
|
<item>250 Hz</item>
|
|
<item>500 Hz</item>
|
|
<item>1000 Hz</item>
|
|
<item>2000 Hz</item>
|
|
<item>4000 Hz</item>
|
|
</items>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
</template>
|
|
</interface> |