[29daad] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
| 2 | <ui version="4.0">
|
---|
| 3 | <class>DialogLight</class>
|
---|
| 4 | <widget class="QDialog" name="DialogLight">
|
---|
| 5 | <property name="enabled">
|
---|
| 6 | <bool>true</bool>
|
---|
| 7 | </property>
|
---|
| 8 | <property name="geometry">
|
---|
| 9 | <rect>
|
---|
| 10 | <x>0</x>
|
---|
| 11 | <y>0</y>
|
---|
| 12 | <width>624</width>
|
---|
| 13 | <height>157</height>
|
---|
| 14 | </rect>
|
---|
| 15 | </property>
|
---|
| 16 | <property name="focusPolicy">
|
---|
| 17 | <enum>Qt::ClickFocus</enum>
|
---|
| 18 | </property>
|
---|
| 19 | <property name="windowTitle">
|
---|
| 20 | <string>Light configuration</string>
|
---|
| 21 | </property>
|
---|
| 22 | <property name="modal">
|
---|
| 23 | <bool>true</bool>
|
---|
| 24 | </property>
|
---|
| 25 | <layout class="QVBoxLayout">
|
---|
| 26 | <item>
|
---|
| 27 | <layout class="QVBoxLayout">
|
---|
| 28 | <item>
|
---|
| 29 | <layout class="QGridLayout">
|
---|
| 30 | <item row="0" column="0">
|
---|
| 31 | <widget class="QLabel" name="LightPosition">
|
---|
| 32 | <property name="enabled">
|
---|
| 33 | <bool>true</bool>
|
---|
| 34 | </property>
|
---|
| 35 | <property name="text">
|
---|
| 36 | <string>Light position</string>
|
---|
| 37 | </property>
|
---|
| 38 | <property name="wordWrap">
|
---|
| 39 | <bool>false</bool>
|
---|
| 40 | </property>
|
---|
| 41 | </widget>
|
---|
| 42 | </item>
|
---|
| 43 | <item row="0" column="2">
|
---|
| 44 | <widget class="QLineEdit" name="LightPositionY">
|
---|
| 45 | <property name="text">
|
---|
| 46 | <string>Y</string>
|
---|
| 47 | </property>
|
---|
| 48 | </widget>
|
---|
| 49 | </item>
|
---|
| 50 | <item row="1" column="2">
|
---|
| 51 | <widget class="QLineEdit" name="LightDiffuseY">
|
---|
| 52 | <property name="text">
|
---|
| 53 | <string>Y</string>
|
---|
| 54 | </property>
|
---|
| 55 | </widget>
|
---|
| 56 | </item>
|
---|
| 57 | <item row="2" column="0">
|
---|
| 58 | <widget class="QLabel" name="LightAmbient">
|
---|
| 59 | <property name="text">
|
---|
| 60 | <string>Ambient light</string>
|
---|
| 61 | </property>
|
---|
| 62 | <property name="wordWrap">
|
---|
| 63 | <bool>false</bool>
|
---|
| 64 | </property>
|
---|
| 65 | </widget>
|
---|
| 66 | </item>
|
---|
| 67 | <item row="1" column="3">
|
---|
| 68 | <widget class="QLineEdit" name="LightDiffuseZ">
|
---|
| 69 | <property name="text">
|
---|
| 70 | <string>Z</string>
|
---|
| 71 | </property>
|
---|
| 72 | </widget>
|
---|
| 73 | </item>
|
---|
| 74 | <item row="2" column="4">
|
---|
| 75 | <spacer name="spacer2_3">
|
---|
| 76 | <property name="orientation">
|
---|
| 77 | <enum>Qt::Horizontal</enum>
|
---|
| 78 | </property>
|
---|
| 79 | <property name="sizeType">
|
---|
| 80 | <enum>QSizePolicy::Expanding</enum>
|
---|
| 81 | </property>
|
---|
| 82 | <property name="sizeHint" stdset="0">
|
---|
| 83 | <size>
|
---|
| 84 | <width>61</width>
|
---|
| 85 | <height>20</height>
|
---|
| 86 | </size>
|
---|
| 87 | </property>
|
---|
| 88 | </spacer>
|
---|
| 89 | </item>
|
---|
| 90 | <item row="2" column="2">
|
---|
| 91 | <widget class="QLineEdit" name="LightAmbientY">
|
---|
| 92 | <property name="text">
|
---|
| 93 | <string>Y</string>
|
---|
| 94 | </property>
|
---|
| 95 | </widget>
|
---|
| 96 | </item>
|
---|
| 97 | <item row="2" column="5">
|
---|
| 98 | <widget class="QLineEdit" name="LightAmbientW">
|
---|
| 99 | <property name="text">
|
---|
| 100 | <string>w</string>
|
---|
| 101 | </property>
|
---|
| 102 | </widget>
|
---|
| 103 | </item>
|
---|
| 104 | <item row="0" column="3">
|
---|
| 105 | <widget class="QLineEdit" name="LightPositionZ">
|
---|
| 106 | <property name="text">
|
---|
| 107 | <string>Z</string>
|
---|
| 108 | </property>
|
---|
| 109 | </widget>
|
---|
| 110 | </item>
|
---|
| 111 | <item row="0" column="5">
|
---|
| 112 | <widget class="QLineEdit" name="LightPositionW">
|
---|
| 113 | <property name="text">
|
---|
| 114 | <string>w</string>
|
---|
| 115 | </property>
|
---|
| 116 | </widget>
|
---|
| 117 | </item>
|
---|
| 118 | <item row="0" column="1">
|
---|
| 119 | <widget class="QLineEdit" name="LightPositionX">
|
---|
| 120 | <property name="enabled">
|
---|
| 121 | <bool>true</bool>
|
---|
| 122 | </property>
|
---|
| 123 | <property name="text">
|
---|
| 124 | <string>X</string>
|
---|
| 125 | </property>
|
---|
| 126 | </widget>
|
---|
| 127 | </item>
|
---|
| 128 | <item row="0" column="4">
|
---|
| 129 | <spacer name="spacer2">
|
---|
| 130 | <property name="orientation">
|
---|
| 131 | <enum>Qt::Horizontal</enum>
|
---|
| 132 | </property>
|
---|
| 133 | <property name="sizeType">
|
---|
| 134 | <enum>QSizePolicy::Expanding</enum>
|
---|
| 135 | </property>
|
---|
| 136 | <property name="sizeHint" stdset="0">
|
---|
| 137 | <size>
|
---|
| 138 | <width>61</width>
|
---|
| 139 | <height>20</height>
|
---|
| 140 | </size>
|
---|
| 141 | </property>
|
---|
| 142 | </spacer>
|
---|
| 143 | </item>
|
---|
| 144 | <item row="1" column="5">
|
---|
| 145 | <widget class="QLineEdit" name="LightDiffuseW">
|
---|
| 146 | <property name="text">
|
---|
| 147 | <string>w</string>
|
---|
| 148 | </property>
|
---|
| 149 | </widget>
|
---|
| 150 | </item>
|
---|
| 151 | <item row="1" column="1">
|
---|
| 152 | <widget class="QLineEdit" name="LightDiffuseX">
|
---|
| 153 | <property name="text">
|
---|
| 154 | <string>X</string>
|
---|
| 155 | </property>
|
---|
| 156 | </widget>
|
---|
| 157 | </item>
|
---|
| 158 | <item row="2" column="3">
|
---|
| 159 | <widget class="QLineEdit" name="LightAmbientZ">
|
---|
| 160 | <property name="text">
|
---|
| 161 | <string>Z</string>
|
---|
| 162 | </property>
|
---|
| 163 | </widget>
|
---|
| 164 | </item>
|
---|
| 165 | <item row="2" column="1">
|
---|
| 166 | <widget class="QLineEdit" name="LightAmbientX">
|
---|
| 167 | <property name="text">
|
---|
| 168 | <string>X</string>
|
---|
| 169 | </property>
|
---|
| 170 | </widget>
|
---|
| 171 | </item>
|
---|
| 172 | <item row="1" column="4">
|
---|
| 173 | <spacer name="spacer2_2">
|
---|
| 174 | <property name="orientation">
|
---|
| 175 | <enum>Qt::Horizontal</enum>
|
---|
| 176 | </property>
|
---|
| 177 | <property name="sizeType">
|
---|
| 178 | <enum>QSizePolicy::Expanding</enum>
|
---|
| 179 | </property>
|
---|
| 180 | <property name="sizeHint" stdset="0">
|
---|
| 181 | <size>
|
---|
| 182 | <width>61</width>
|
---|
| 183 | <height>20</height>
|
---|
| 184 | </size>
|
---|
| 185 | </property>
|
---|
| 186 | </spacer>
|
---|
| 187 | </item>
|
---|
| 188 | <item row="1" column="0">
|
---|
| 189 | <widget class="QLabel" name="LightDiffuse">
|
---|
| 190 | <property name="text">
|
---|
| 191 | <string>Diffuse light</string>
|
---|
| 192 | </property>
|
---|
| 193 | <property name="wordWrap">
|
---|
| 194 | <bool>false</bool>
|
---|
| 195 | </property>
|
---|
| 196 | </widget>
|
---|
| 197 | </item>
|
---|
| 198 | </layout>
|
---|
| 199 | </item>
|
---|
| 200 | <item>
|
---|
| 201 | <layout class="QHBoxLayout">
|
---|
| 202 | <item>
|
---|
| 203 | <widget class="QPushButton" name="ButtonCancel">
|
---|
| 204 | <property name="text">
|
---|
| 205 | <string>Cancel</string>
|
---|
| 206 | </property>
|
---|
| 207 | </widget>
|
---|
| 208 | </item>
|
---|
| 209 | <item>
|
---|
| 210 | <spacer name="spacer5">
|
---|
| 211 | <property name="orientation">
|
---|
| 212 | <enum>Qt::Horizontal</enum>
|
---|
| 213 | </property>
|
---|
| 214 | <property name="sizeType">
|
---|
| 215 | <enum>QSizePolicy::Expanding</enum>
|
---|
| 216 | </property>
|
---|
| 217 | <property name="sizeHint" stdset="0">
|
---|
| 218 | <size>
|
---|
| 219 | <width>361</width>
|
---|
| 220 | <height>20</height>
|
---|
| 221 | </size>
|
---|
| 222 | </property>
|
---|
| 223 | </spacer>
|
---|
| 224 | </item>
|
---|
| 225 | <item>
|
---|
| 226 | <widget class="QPushButton" name="ButtonOK">
|
---|
| 227 | <property name="text">
|
---|
| 228 | <string>Ok</string>
|
---|
| 229 | </property>
|
---|
| 230 | </widget>
|
---|
| 231 | </item>
|
---|
| 232 | </layout>
|
---|
| 233 | </item>
|
---|
| 234 | </layout>
|
---|
| 235 | </item>
|
---|
| 236 | </layout>
|
---|
| 237 | </widget>
|
---|
| 238 | <layoutdefault spacing="6" margin="11"/>
|
---|
| 239 | <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
|
---|
| 240 | <resources/>
|
---|
| 241 | <connections>
|
---|
| 242 | <connection>
|
---|
| 243 | <sender>ButtonOK</sender>
|
---|
| 244 | <signal>clicked()</signal>
|
---|
| 245 | <receiver>DialogLight</receiver>
|
---|
| 246 | <slot>accept()</slot>
|
---|
| 247 | <hints>
|
---|
| 248 | <hint type="sourcelabel">
|
---|
| 249 | <x>20</x>
|
---|
| 250 | <y>20</y>
|
---|
| 251 | </hint>
|
---|
| 252 | <hint type="destinationlabel">
|
---|
| 253 | <x>20</x>
|
---|
| 254 | <y>20</y>
|
---|
| 255 | </hint>
|
---|
| 256 | </hints>
|
---|
| 257 | </connection>
|
---|
| 258 | <connection>
|
---|
| 259 | <sender>ButtonCancel</sender>
|
---|
| 260 | <signal>clicked()</signal>
|
---|
| 261 | <receiver>DialogLight</receiver>
|
---|
| 262 | <slot>reject()</slot>
|
---|
| 263 | <hints>
|
---|
| 264 | <hint type="sourcelabel">
|
---|
| 265 | <x>20</x>
|
---|
| 266 | <y>20</y>
|
---|
| 267 | </hint>
|
---|
| 268 | <hint type="destinationlabel">
|
---|
| 269 | <x>20</x>
|
---|
| 270 | <y>20</y>
|
---|
| 271 | </hint>
|
---|
| 272 | </hints>
|
---|
| 273 | </connection>
|
---|
| 274 | </connections>
|
---|
| 275 | </ui>
|
---|