CustomAspectRatioDlg.ui 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>CustomAspectRatioDlg</class>
  4. <widget class="QDialog" name="CustomAspectRatioDlg">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>197</width>
  10. <height>83</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 Aspect Ratio</string>
  21. </property>
  22. <layout class="QGridLayout" name="gridLayout">
  23. <item row="0" column="0">
  24. <widget class="QSpinBox" name="m_x">
  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>:</string>
  43. </property>
  44. </widget>
  45. </item>
  46. <item row="2" column="0" colspan="3">
  47. <widget class="QDialogButtonBox" name="buttonBox">
  48. <property name="orientation">
  49. <enum>Qt::Horizontal</enum>
  50. </property>
  51. <property name="standardButtons">
  52. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  53. </property>
  54. </widget>
  55. </item>
  56. <item row="0" column="2">
  57. <widget class="QSpinBox" name="m_y">
  58. <property name="sizePolicy">
  59. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  60. <horstretch>0</horstretch>
  61. <verstretch>0</verstretch>
  62. </sizepolicy>
  63. </property>
  64. </widget>
  65. </item>
  66. <item row="1" column="0">
  67. <spacer name="verticalSpacer">
  68. <property name="orientation">
  69. <enum>Qt::Vertical</enum>
  70. </property>
  71. <property name="sizeHint" stdset="0">
  72. <size>
  73. <width>20</width>
  74. <height>10</height>
  75. </size>
  76. </property>
  77. </spacer>
  78. </item>
  79. </layout>
  80. </widget>
  81. <tabstops>
  82. <tabstop>m_x</tabstop>
  83. <tabstop>m_y</tabstop>
  84. </tabstops>
  85. <resources/>
  86. <connections>
  87. <connection>
  88. <sender>buttonBox</sender>
  89. <signal>accepted()</signal>
  90. <receiver>CustomAspectRatioDlg</receiver>
  91. <slot>accept()</slot>
  92. <hints>
  93. <hint type="sourcelabel">
  94. <x>187</x>
  95. <y>82</y>
  96. </hint>
  97. <hint type="destinationlabel">
  98. <x>157</x>
  99. <y>99</y>
  100. </hint>
  101. </hints>
  102. </connection>
  103. <connection>
  104. <sender>buttonBox</sender>
  105. <signal>rejected()</signal>
  106. <receiver>CustomAspectRatioDlg</receiver>
  107. <slot>reject()</slot>
  108. <hints>
  109. <hint type="sourcelabel">
  110. <x>187</x>
  111. <y>88</y>
  112. </hint>
  113. <hint type="destinationlabel">
  114. <x>196</x>
  115. <y>99</y>
  116. </hint>
  117. </hints>
  118. </connection>
  119. </connections>
  120. </ui>