Mouse UI :)

master
vhaudiquet 12 months ago
parent e5cd168c18
commit 64dada3448
  1. 185
      ui/panel-mouse.ui

@ -46,12 +46,80 @@
</style> </style>
</object> </object>
</child> </child>
<child>
<object class="AdwPreferencesGroup">
<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">
<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">
<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> </object>
</child> </child>
<child> <child>
<object class="GtkBox" id="basic_settings"> <object class="GtkBox" id="basic_settings">
<property name="halign">start</property> <property name="halign">start</property>
<property name="margin-top">30</property> <property name="margin-top">20</property>
<property name="margin-start">40</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="valign">start</property> <property name="valign">start</property>
<property name="hexpand">false</property> <property name="hexpand">false</property>
@ -75,8 +143,8 @@
</object> </object>
</property> </property>
<property name="width-request">350</property> <property name="width-request">350</property>
<property name="title">DPI Stages</property> <property name="title">DPI stages</property>
<property name="description">DPI Stages of the mouse</property> <property name="description">Sensibility stages of the mouse</property>
</object> </object>
</child> </child>
</object> </object>
@ -90,32 +158,107 @@
<child> <child>
<object class="GtkBox"> <object class="GtkBox">
<property name="halign">center</property> <property name="orientation">vertical</property>
<property name="margin-top">25</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> <child>
<object class="AdwSwitchRow"> <object class="GtkListBoxRow">
<property name="activatable">false</property> <property name="activatable">false</property>
<property name="width-request">200</property>
<property name="hexpand">false</property> <child>
<property name="hexpand-set">true</property> <object class="GtkBox">
<property name="title">Motion sync</property> <property name="halign">center</property>
<property name="subtitle">Motion sync makes the mouse send sensor data at <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">
<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 send sensor data at
the rate of the computer update requests </property> the rate of the computer update requests </property>
</object> </object>
</child> </child>
<child>
<object class="AdwSwitchRow"> </object>
<property name="activatable">false</property> </child>
<property name="width-request">200</property>
<property name="hexpand">false</property> <child>
<property name="hexpand-set">true</property> <object class="GtkListBox">
<property name="title">Angle snap</property> <property name="selection-mode">none</property>
<property name="subtitle">Angle snap detects when you try to draw a straight <property name="css-classes">boxed-list</property>
<property name="margin-top">10</property>
<child>
<object class="AdwSwitchRow">
<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> line and locks the mouse on that line</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object> </object>
</child> </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="GtkScale">
<property name="adjustment">
<object class="GtkAdjustment">
<property name="lower">0</property>
<property name="upper">8000</property>
<property name="step-increment">5</property>
<property name="page-increment">5</property>
</object>
</property>
<property name="digits">0</property>
<property name="draw-value">true</property>
<property name="value-pos">right</property>
</object> </object>
</child> </child>
</object>
</child>i
</object> </object>
</child> </child>

Loading…
Cancel
Save