exportimagedialog.ui 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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>392</width>
  10. <height>170</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Dialog</string>
  15. </property>
  16. <widget class="QDialogButtonBox" name="buttonBox">
  17. <property name="geometry">
  18. <rect>
  19. <x>40</x>
  20. <y>130</y>
  21. <width>341</width>
  22. <height>32</height>
  23. </rect>
  24. </property>
  25. <property name="orientation">
  26. <enum>Qt::Horizontal</enum>
  27. </property>
  28. <property name="standardButtons">
  29. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  30. </property>
  31. </widget>
  32. <widget class="QWidget" name="formLayoutWidget">
  33. <property name="geometry">
  34. <rect>
  35. <x>10</x>
  36. <y>10</y>
  37. <width>371</width>
  38. <height>111</height>
  39. </rect>
  40. </property>
  41. <layout class="QFormLayout" name="formLayout">
  42. <item row="0" column="0">
  43. <widget class="QLabel" name="label">
  44. <property name="text">
  45. <string>Maximum iterations</string>
  46. </property>
  47. </widget>
  48. </item>
  49. <item row="0" column="1">
  50. <widget class="QLineEdit" name="maxIterations">
  51. <property name="text">
  52. <string>5000</string>
  53. </property>
  54. </widget>
  55. </item>
  56. <item row="1" column="0">
  57. <widget class="QLabel" name="label_2">
  58. <property name="text">
  59. <string>Image Width</string>
  60. </property>
  61. </widget>
  62. </item>
  63. <item row="1" column="1">
  64. <widget class="QLineEdit" name="imgWidth">
  65. <property name="text">
  66. <string>1920</string>
  67. </property>
  68. </widget>
  69. </item>
  70. <item row="2" column="0">
  71. <widget class="QLabel" name="label_3">
  72. <property name="text">
  73. <string>Image Height</string>
  74. </property>
  75. </widget>
  76. </item>
  77. <item row="2" column="1">
  78. <widget class="QLineEdit" name="imgHeight">
  79. <property name="text">
  80. <string>1080</string>
  81. </property>
  82. </widget>
  83. </item>
  84. <item row="3" column="0">
  85. <widget class="QPushButton" name="pushButton">
  86. <property name="text">
  87. <string>Save As</string>
  88. </property>
  89. </widget>
  90. </item>
  91. <item row="3" column="1">
  92. <widget class="QLineEdit" name="savePath"/>
  93. </item>
  94. </layout>
  95. </widget>
  96. </widget>
  97. <resources/>
  98. <connections>
  99. <connection>
  100. <sender>buttonBox</sender>
  101. <signal>accepted()</signal>
  102. <receiver>ExportImageDialog</receiver>
  103. <slot>accept()</slot>
  104. <hints>
  105. <hint type="sourcelabel">
  106. <x>248</x>
  107. <y>254</y>
  108. </hint>
  109. <hint type="destinationlabel">
  110. <x>157</x>
  111. <y>274</y>
  112. </hint>
  113. </hints>
  114. </connection>
  115. <connection>
  116. <sender>buttonBox</sender>
  117. <signal>rejected()</signal>
  118. <receiver>ExportImageDialog</receiver>
  119. <slot>reject()</slot>
  120. <hints>
  121. <hint type="sourcelabel">
  122. <x>316</x>
  123. <y>260</y>
  124. </hint>
  125. <hint type="destinationlabel">
  126. <x>286</x>
  127. <y>274</y>
  128. </hint>
  129. </hints>
  130. </connection>
  131. </connections>
  132. </ui>