PersistentWidgets.ui 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MyPositionDialog</class>
  4. <widget class="QDialog" name="MyPositionDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>241</width>
  10. <height>102</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Enter Position</string>
  15. </property>
  16. <layout class="QFormLayout" name="formLayout">
  17. <item row="0" column="0">
  18. <widget class="QLabel" name="label">
  19. <property name="text">
  20. <string>Position X:</string>
  21. </property>
  22. </widget>
  23. </item>
  24. <item row="0" column="1">
  25. <widget class="QLineEdit" name="PositionX">
  26. <property name="text">
  27. <string>0.00</string>
  28. </property>
  29. </widget>
  30. </item>
  31. <item row="1" column="0">
  32. <widget class="QLabel" name="label_2">
  33. <property name="text">
  34. <string>Position Y:</string>
  35. </property>
  36. </widget>
  37. </item>
  38. <item row="1" column="1">
  39. <widget class="QLineEdit" name="PositionY">
  40. <property name="text">
  41. <string>0.00</string>
  42. </property>
  43. </widget>
  44. </item>
  45. <item row="2" column="1">
  46. <widget class="QDialogButtonBox" name="buttonBox">
  47. <property name="orientation">
  48. <enum>Qt::Horizontal</enum>
  49. </property>
  50. <property name="standardButtons">
  51. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  52. </property>
  53. </widget>
  54. </item>
  55. </layout>
  56. </widget>
  57. <resources/>
  58. <connections>
  59. <connection>
  60. <sender>buttonBox</sender>
  61. <signal>accepted()</signal>
  62. <receiver>MyPositionDialog</receiver>
  63. <slot>accept()</slot>
  64. <hints>
  65. <hint type="sourcelabel">
  66. <x>248</x>
  67. <y>254</y>
  68. </hint>
  69. <hint type="destinationlabel">
  70. <x>157</x>
  71. <y>274</y>
  72. </hint>
  73. </hints>
  74. </connection>
  75. <connection>
  76. <sender>buttonBox</sender>
  77. <signal>rejected()</signal>
  78. <receiver>MyPositionDialog</receiver>
  79. <slot>reject()</slot>
  80. <hints>
  81. <hint type="sourcelabel">
  82. <x>316</x>
  83. <y>260</y>
  84. </hint>
  85. <hint type="destinationlabel">
  86. <x>286</x>
  87. <y>274</y>
  88. </hint>
  89. </hints>
  90. </connection>
  91. </connections>
  92. </ui>