exportimagedialog.ui 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ExportImageDialog</class>
  4. <widget class="QDialog" name="ExportImageDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>712</width>
  10. <height>227</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Dialog</string>
  15. </property>
  16. <property name="sizeGripEnabled">
  17. <bool>false</bool>
  18. </property>
  19. <layout class="QVBoxLayout" name="verticalLayout">
  20. <item>
  21. <layout class="QFormLayout" name="formLayout">
  22. <property name="sizeConstraint">
  23. <enum>QLayout::SetDefaultConstraint</enum>
  24. </property>
  25. <property name="rowWrapPolicy">
  26. <enum>QFormLayout::DontWrapRows</enum>
  27. </property>
  28. <item row="0" column="0">
  29. <widget class="QLabel" name="label">
  30. <property name="text">
  31. <string>Maximum iterations</string>
  32. </property>
  33. </widget>
  34. </item>
  35. <item row="0" column="1">
  36. <widget class="QLineEdit" name="maxIterations">
  37. <property name="minimumSize">
  38. <size>
  39. <width>200</width>
  40. <height>0</height>
  41. </size>
  42. </property>
  43. <property name="text">
  44. <string>5000</string>
  45. </property>
  46. </widget>
  47. </item>
  48. <item row="1" column="0">
  49. <widget class="QLabel" name="label_2">
  50. <property name="text">
  51. <string>Image Width</string>
  52. </property>
  53. </widget>
  54. </item>
  55. <item row="1" column="1">
  56. <widget class="QLineEdit" name="imgWidth">
  57. <property name="text">
  58. <string>1920</string>
  59. </property>
  60. </widget>
  61. </item>
  62. <item row="2" column="0">
  63. <widget class="QLabel" name="label_3">
  64. <property name="text">
  65. <string>Image Height</string>
  66. </property>
  67. </widget>
  68. </item>
  69. <item row="2" column="1">
  70. <widget class="QLineEdit" name="imgHeight">
  71. <property name="text">
  72. <string>1080</string>
  73. </property>
  74. </widget>
  75. </item>
  76. <item row="3" column="0">
  77. <widget class="QPushButton" name="pushButton">
  78. <property name="text">
  79. <string>Save As</string>
  80. </property>
  81. </widget>
  82. </item>
  83. <item row="3" column="1">
  84. <widget class="QLineEdit" name="savePath">
  85. <property name="minimumSize">
  86. <size>
  87. <width>500</width>
  88. <height>0</height>
  89. </size>
  90. </property>
  91. </widget>
  92. </item>
  93. </layout>
  94. </item>
  95. <item>
  96. <widget class="QDialogButtonBox" name="buttonBox">
  97. <property name="enabled">
  98. <bool>true</bool>
  99. </property>
  100. <property name="sizePolicy">
  101. <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
  102. <horstretch>0</horstretch>
  103. <verstretch>0</verstretch>
  104. </sizepolicy>
  105. </property>
  106. <property name="orientation">
  107. <enum>Qt::Horizontal</enum>
  108. </property>
  109. <property name="standardButtons">
  110. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  111. </property>
  112. </widget>
  113. </item>
  114. </layout>
  115. </widget>
  116. <resources/>
  117. <connections>
  118. <connection>
  119. <sender>buttonBox</sender>
  120. <signal>accepted()</signal>
  121. <receiver>ExportImageDialog</receiver>
  122. <slot>accept()</slot>
  123. <hints>
  124. <hint type="sourcelabel">
  125. <x>248</x>
  126. <y>254</y>
  127. </hint>
  128. <hint type="destinationlabel">
  129. <x>157</x>
  130. <y>274</y>
  131. </hint>
  132. </hints>
  133. </connection>
  134. <connection>
  135. <sender>buttonBox</sender>
  136. <signal>rejected()</signal>
  137. <receiver>ExportImageDialog</receiver>
  138. <slot>reject()</slot>
  139. <hints>
  140. <hint type="sourcelabel">
  141. <x>316</x>
  142. <y>260</y>
  143. </hint>
  144. <hint type="destinationlabel">
  145. <x>286</x>
  146. <y>274</y>
  147. </hint>
  148. </hints>
  149. </connection>
  150. </connections>
  151. </ui>