GotoDialog.ui 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>GotoDialog</class>
  4. <widget class="QDialog" name="GotoDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>304</width>
  10. <height>118</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="windowTitle">
  20. <string>Go to address</string>
  21. </property>
  22. <layout class="QVBoxLayout">
  23. <property name="spacing">
  24. <number>6</number>
  25. </property>
  26. <property name="margin">
  27. <number>9</number>
  28. </property>
  29. <item>
  30. <layout class="QVBoxLayout">
  31. <property name="spacing">
  32. <number>6</number>
  33. </property>
  34. <property name="margin">
  35. <number>0</number>
  36. </property>
  37. <item>
  38. <widget class="QLabel" name="label">
  39. <property name="sizePolicy">
  40. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  41. <horstretch>0</horstretch>
  42. <verstretch>0</verstretch>
  43. </sizepolicy>
  44. </property>
  45. <property name="text">
  46. <string>Address or label:</string>
  47. </property>
  48. </widget>
  49. </item>
  50. <item>
  51. <widget class="QLineEdit" name="edtAddress"/>
  52. </item>
  53. </layout>
  54. </item>
  55. <item>
  56. <spacer>
  57. <property name="orientation">
  58. <enum>Qt::Vertical</enum>
  59. </property>
  60. <property name="sizeHint" stdset="0">
  61. <size>
  62. <width>20</width>
  63. <height>5</height>
  64. </size>
  65. </property>
  66. </spacer>
  67. </item>
  68. <item>
  69. <layout class="QHBoxLayout">
  70. <property name="spacing">
  71. <number>6</number>
  72. </property>
  73. <property name="margin">
  74. <number>0</number>
  75. </property>
  76. <item>
  77. <spacer>
  78. <property name="orientation">
  79. <enum>Qt::Horizontal</enum>
  80. </property>
  81. <property name="sizeHint" stdset="0">
  82. <size>
  83. <width>131</width>
  84. <height>31</height>
  85. </size>
  86. </property>
  87. </spacer>
  88. </item>
  89. <item>
  90. <widget class="QPushButton" name="okButton">
  91. <property name="text">
  92. <string>OK</string>
  93. </property>
  94. </widget>
  95. </item>
  96. <item>
  97. <widget class="QPushButton" name="cancelButton">
  98. <property name="text">
  99. <string>Cancel</string>
  100. </property>
  101. </widget>
  102. </item>
  103. </layout>
  104. </item>
  105. </layout>
  106. </widget>
  107. <resources/>
  108. <connections>
  109. <connection>
  110. <sender>okButton</sender>
  111. <signal>clicked()</signal>
  112. <receiver>GotoDialog</receiver>
  113. <slot>accept()</slot>
  114. <hints>
  115. <hint type="sourcelabel">
  116. <x>278</x>
  117. <y>253</y>
  118. </hint>
  119. <hint type="destinationlabel">
  120. <x>96</x>
  121. <y>254</y>
  122. </hint>
  123. </hints>
  124. </connection>
  125. <connection>
  126. <sender>cancelButton</sender>
  127. <signal>clicked()</signal>
  128. <receiver>GotoDialog</receiver>
  129. <slot>reject()</slot>
  130. <hints>
  131. <hint type="sourcelabel">
  132. <x>369</x>
  133. <y>253</y>
  134. </hint>
  135. <hint type="destinationlabel">
  136. <x>179</x>
  137. <y>282</y>
  138. </hint>
  139. </hints>
  140. </connection>
  141. </connections>
  142. </ui>