dialogpercentagenoise.ui 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>DialogPercentageNoise</class>
  4. <widget class="QDialog" name="DialogPercentageNoise">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>400</width>
  10. <height>300</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Dialog</string>
  15. </property>
  16. <widget class="QSlider" name="horizontalSlider">
  17. <property name="geometry">
  18. <rect>
  19. <x>40</x>
  20. <y>80</y>
  21. <width>291</width>
  22. <height>31</height>
  23. </rect>
  24. </property>
  25. <property name="orientation">
  26. <enum>Qt::Horizontal</enum>
  27. </property>
  28. </widget>
  29. <widget class="QProgressBar" name="progressBar">
  30. <property name="geometry">
  31. <rect>
  32. <x>70</x>
  33. <y>130</y>
  34. <width>241</width>
  35. <height>31</height>
  36. </rect>
  37. </property>
  38. <property name="value">
  39. <number>0</number>
  40. </property>
  41. </widget>
  42. <widget class="QPushButton" name="pushButtonOk">
  43. <property name="geometry">
  44. <rect>
  45. <x>270</x>
  46. <y>240</y>
  47. <width>81</width>
  48. <height>22</height>
  49. </rect>
  50. </property>
  51. <property name="text">
  52. <string>Ok</string>
  53. </property>
  54. </widget>
  55. <widget class="QLabel" name="label">
  56. <property name="geometry">
  57. <rect>
  58. <x>50</x>
  59. <y>20</y>
  60. <width>291</width>
  61. <height>41</height>
  62. </rect>
  63. </property>
  64. <property name="font">
  65. <font>
  66. <weight>75</weight>
  67. <bold>true</bold>
  68. </font>
  69. </property>
  70. <property name="text">
  71. <string>Insert the desired percentage of noise:</string>
  72. </property>
  73. </widget>
  74. </widget>
  75. <resources/>
  76. <connections>
  77. <connection>
  78. <sender>horizontalSlider</sender>
  79. <signal>valueChanged(int)</signal>
  80. <receiver>progressBar</receiver>
  81. <slot>setValue(int)</slot>
  82. <hints>
  83. <hint type="sourcelabel">
  84. <x>203</x>
  85. <y>86</y>
  86. </hint>
  87. <hint type="destinationlabel">
  88. <x>193</x>
  89. <y>135</y>
  90. </hint>
  91. </hints>
  92. </connection>
  93. <connection>
  94. <sender>pushButtonOk</sender>
  95. <signal>clicked()</signal>
  96. <receiver>DialogPercentageNoise</receiver>
  97. <slot>accept()</slot>
  98. <hints>
  99. <hint type="sourcelabel">
  100. <x>310</x>
  101. <y>250</y>
  102. </hint>
  103. <hint type="destinationlabel">
  104. <x>199</x>
  105. <y>149</y>
  106. </hint>
  107. </hints>
  108. </connection>
  109. </connections>
  110. </ui>