1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>BrightnessSettings</class> 4 <widget class="QDialog" name="BrightnessSettings"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>466</width> 10 <height>252</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string>Brightness Settings</string> 15 </property> 16 <property name="windowIcon"> 17 <iconset theme="system"> 18 <normaloff>.</normaloff>.</iconset> 19 </property> 20 <layout class="QVBoxLayout" name="verticalLayout"> 21 <item> 22 <layout class="QHBoxLayout" name="horizontalLayout_2"> 23 <property name="spacing"> 24 <number>10</number> 25 </property> 26 <item> 27 <widget class="QLabel" name="headIconLabel"> 28 <property name="sizePolicy"> 29 <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 30 <horstretch>0</horstretch> 31 <verstretch>0</verstretch> 32 </sizepolicy> 33 </property> 34 <property name="text"> 35 <string>☀</string> 36 </property> 37 </widget> 38 </item> 39 <item> 40 <widget class="QLabel" name="headLabel"> 41 <property name="text"> 42 <string><html><head/><body><p><span style=" font-weight:600;">Backlight and brightness settings:</span></p></body></html></string> 43 </property> 44 </widget> 45 </item> 46 </layout> 47 </item> 48 <item> 49 <widget class="QGroupBox" name="backlightGroupBox"> 50 <property name="title"> 51 <string>Backlight</string> 52 </property> 53 <layout class="QHBoxLayout" name="horizontalLayout"> 54 <item> 55 <widget class="QToolButton" name="backlightDownButton"> 56 <property name="text"> 57 <string>☼</string> 58 </property> 59 <property name="autoRaise"> 60 <bool>true</bool> 61 </property> 62 </widget> 63 </item> 64 <item> 65 <widget class="QSlider" name="backlightSlider"> 66 <property name="orientation"> 67 <enum>Qt::Horizontal</enum> 68 </property> 69 </widget> 70 </item> 71 <item> 72 <widget class="QToolButton" name="backlightUpButton"> 73 <property name="text"> 74 <string>☀</string> 75 </property> 76 <property name="autoRaise"> 77 <bool>true</bool> 78 </property> 79 </widget> 80 </item> 81 </layout> 82 </widget> 83 </item> 84 <item> 85 <widget class="QGroupBox" name="groupBox"> 86 <property name="title"> 87 <string>Brightness</string> 88 </property> 89 <layout class="QVBoxLayout" name="verticalLayout_3"> 90 <property name="leftMargin"> 91 <number>2</number> 92 </property> 93 <property name="rightMargin"> 94 <number>2</number> 95 </property> 96 <item> 97 <layout class="QVBoxLayout" name="layout"/> 98 </item> 99 </layout> 100 </widget> 101 </item> 102 <item> 103 <widget class="QCheckBox" name="confirmCB"> 104 <property name="text"> 105 <string>Require confirmation after settings change</string> 106 </property> 107 <property name="checked"> 108 <bool>true</bool> 109 </property> 110 </widget> 111 </item> 112 <item> 113 <widget class="QDialogButtonBox" name="buttonBox"> 114 <property name="orientation"> 115 <enum>Qt::Horizontal</enum> 116 </property> 117 <property name="standardButtons"> 118 <set>QDialogButtonBox::Close|QDialogButtonBox::Reset</set> 119 </property> 120 </widget> 121 </item> 122 </layout> 123 </widget> 124 <resources/> 125 <connections> 126 <connection> 127 <sender>buttonBox</sender> 128 <signal>accepted()</signal> 129 <receiver>BrightnessSettings</receiver> 130 <slot>accept()</slot> 131 <hints> 132 <hint type="sourcelabel"> 133 <x>248</x> 134 <y>254</y> 135 </hint> 136 <hint type="destinationlabel"> 137 <x>157</x> 138 <y>274</y> 139 </hint> 140 </hints> 141 </connection> 142 <connection> 143 <sender>buttonBox</sender> 144 <signal>rejected()</signal> 145 <receiver>BrightnessSettings</receiver> 146 <slot>reject()</slot> 147 <hints> 148 <hint type="sourcelabel"> 149 <x>316</x> 150 <y>260</y> 151 </hint> 152 <hint type="destinationlabel"> 153 <x>286</x> 154 <y>274</y> 155 </hint> 156 </hints> 157 </connection> 158 </connections> 159</ui> 160