Skip to content

Commit

Permalink
leddialog: add brightness to solid led settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kyokenn committed Oct 13, 2022
1 parent 104ee17 commit 3df598d
Showing 1 changed file with 57 additions and 6 deletions.
63 changes: 57 additions & 6 deletions data/ui/LedDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,65 @@
<property name="can_focus">False</property>
<property name="transition_type">slide-left-right</property>
<child>
<object class="GtkColorChooserWidget" id="colorchooser">
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">Choose a color for the LED</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="rgba">rgb(237,212,0)</property>
<property name="use_alpha">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkColorChooserWidget" id="colorchooser">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">Choose a color for the LED</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="rgba">rgb(237,212,0)</property>
<property name="use_alpha">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkFrame">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label_xalign">0</property>
<property name="shadow-type">none</property>
<child>
<object class="GtkAlignment">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="left_padding">12</property>
<child>
<object class="GtkScale">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip-text" translatable="yes">Choose a brightness for the LED</property>
<property name="adjustment">adjustment_brightness</property>
<property name="digits">0</property>
<property name="draw-value">False</property>
<property name="value-pos">right</property>
</object>
</child>
</object>
</child>
<child type="label">
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Brightness</property>
<property name="track-visited-links">False</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="name">solid</property>
Expand Down

0 comments on commit 3df598d

Please sign in to comment.