123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>DialogPercentageNoise</class>
- <widget class="QDialog" name="DialogPercentageNoise">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>300</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Dialog</string>
- </property>
- <widget class="QSlider" name="horizontalSlider">
- <property name="geometry">
- <rect>
- <x>40</x>
- <y>80</y>
- <width>291</width>
- <height>31</height>
- </rect>
- </property>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- <widget class="QProgressBar" name="progressBar">
- <property name="geometry">
- <rect>
- <x>70</x>
- <y>130</y>
- <width>241</width>
- <height>31</height>
- </rect>
- </property>
- <property name="value">
- <number>0</number>
- </property>
- </widget>
- <widget class="QPushButton" name="pushButtonOk">
- <property name="geometry">
- <rect>
- <x>270</x>
- <y>240</y>
- <width>81</width>
- <height>22</height>
- </rect>
- </property>
- <property name="text">
- <string>Ok</string>
- </property>
- </widget>
- <widget class="QLabel" name="label">
- <property name="geometry">
- <rect>
- <x>50</x>
- <y>20</y>
- <width>291</width>
- <height>41</height>
- </rect>
- </property>
- <property name="font">
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
- </property>
- <property name="text">
- <string>Insert the desired percentage of noise:</string>
- </property>
- </widget>
- </widget>
- <resources/>
- <connections>
- <connection>
- <sender>horizontalSlider</sender>
- <signal>valueChanged(int)</signal>
- <receiver>progressBar</receiver>
- <slot>setValue(int)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>203</x>
- <y>86</y>
- </hint>
- <hint type="destinationlabel">
- <x>193</x>
- <y>135</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>pushButtonOk</sender>
- <signal>clicked()</signal>
- <receiver>DialogPercentageNoise</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>310</x>
- <y>250</y>
- </hint>
- <hint type="destinationlabel">
- <x>199</x>
- <y>149</y>
- </hint>
- </hints>
- </connection>
- </connections>
- </ui>
|