CustomResolutionDlg.ui 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>CustomResolutionDlg</class>
  4. <widget class="QDialog" name="CustomResolutionDlg">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>198</width>
  10. <height>102</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="windowTitle">
  20. <string>Custom Resolution</string>
  21. </property>
  22. <layout class="QGridLayout" name="gridLayout">
  23. <item row="0" column="0">
  24. <widget class="QSpinBox" name="m_width">
  25. <property name="sizePolicy">
  26. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  27. <horstretch>0</horstretch>
  28. <verstretch>0</verstretch>
  29. </sizepolicy>
  30. </property>
  31. </widget>
  32. </item>
  33. <item row="0" column="1">
  34. <widget class="QLabel" name="label">
  35. <property name="sizePolicy">
  36. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  37. <horstretch>0</horstretch>
  38. <verstretch>0</verstretch>
  39. </sizepolicy>
  40. </property>
  41. <property name="text">
  42. <string>x</string>
  43. </property>
  44. </widget>
  45. </item>
  46. <item row="2" column="0" colspan="3">
  47. <widget class="QLabel" name="m_maxDimension">
  48. <property name="sizePolicy">
  49. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  50. <horstretch>0</horstretch>
  51. <verstretch>0</verstretch>
  52. </sizepolicy>
  53. </property>
  54. <property name="text">
  55. <string>Max Dimension: </string>
  56. </property>
  57. </widget>
  58. </item>
  59. <item row="3" column="0" colspan="3">
  60. <widget class="QDialogButtonBox" name="buttonBox">
  61. <property name="orientation">
  62. <enum>Qt::Horizontal</enum>
  63. </property>
  64. <property name="standardButtons">
  65. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  66. </property>
  67. </widget>
  68. </item>
  69. <item row="0" column="2">
  70. <widget class="QSpinBox" name="m_height">
  71. <property name="sizePolicy">
  72. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  73. <horstretch>0</horstretch>
  74. <verstretch>0</verstretch>
  75. </sizepolicy>
  76. </property>
  77. </widget>
  78. </item>
  79. <item row="1" column="0">
  80. <spacer name="verticalSpacer">
  81. <property name="orientation">
  82. <enum>Qt::Vertical</enum>
  83. </property>
  84. <property name="sizeHint" stdset="0">
  85. <size>
  86. <width>20</width>
  87. <height>10</height>
  88. </size>
  89. </property>
  90. </spacer>
  91. </item>
  92. </layout>
  93. </widget>
  94. <tabstops>
  95. <tabstop>m_width</tabstop>
  96. <tabstop>m_height</tabstop>
  97. </tabstops>
  98. <resources/>
  99. <connections>
  100. <connection>
  101. <sender>buttonBox</sender>
  102. <signal>accepted()</signal>
  103. <receiver>CustomResolutionDlg</receiver>
  104. <slot>accept()</slot>
  105. <hints>
  106. <hint type="sourcelabel">
  107. <x>187</x>
  108. <y>82</y>
  109. </hint>
  110. <hint type="destinationlabel">
  111. <x>157</x>
  112. <y>99</y>
  113. </hint>
  114. </hints>
  115. </connection>
  116. <connection>
  117. <sender>buttonBox</sender>
  118. <signal>rejected()</signal>
  119. <receiver>CustomResolutionDlg</receiver>
  120. <slot>reject()</slot>
  121. <hints>
  122. <hint type="sourcelabel">
  123. <x>187</x>
  124. <y>88</y>
  125. </hint>
  126. <hint type="destinationlabel">
  127. <x>196</x>
  128. <y>99</y>
  129. </hint>
  130. </hints>
  131. </connection>
  132. </connections>
  133. </ui>