dialoguserreg.ui 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>DialogUserReg</class>
  4. <widget class="QDialog" name="DialogUserReg">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>500</width>
  10. <height>300</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="minimumSize">
  20. <size>
  21. <width>500</width>
  22. <height>300</height>
  23. </size>
  24. </property>
  25. <property name="maximumSize">
  26. <size>
  27. <width>500</width>
  28. <height>300</height>
  29. </size>
  30. </property>
  31. <property name="windowTitle">
  32. <string>用户注册</string>
  33. </property>
  34. <layout class="QVBoxLayout" name="verticalLayout_2">
  35. <item>
  36. <layout class="QHBoxLayout" name="horizontalLayout">
  37. <item>
  38. <widget class="QRadioButton" name="radioButtonDefault">
  39. <property name="text">
  40. <string>新用户</string>
  41. </property>
  42. <property name="checked">
  43. <bool>true</bool>
  44. </property>
  45. </widget>
  46. </item>
  47. <item>
  48. <widget class="QRadioButton" name="radioButtonShunShi">
  49. <property name="text">
  50. <string>我是瞬时用户</string>
  51. </property>
  52. </widget>
  53. </item>
  54. <item>
  55. <widget class="QRadioButton" name="radioButtonMingYuan">
  56. <property name="text">
  57. <string>我是名远用户</string>
  58. </property>
  59. </widget>
  60. </item>
  61. </layout>
  62. </item>
  63. <item>
  64. <layout class="QVBoxLayout" name="verticalLayout"/>
  65. </item>
  66. <item>
  67. <widget class="QDialogButtonBox" name="buttonBox">
  68. <property name="orientation">
  69. <enum>Qt::Horizontal</enum>
  70. </property>
  71. <property name="standardButtons">
  72. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  73. </property>
  74. </widget>
  75. </item>
  76. </layout>
  77. </widget>
  78. <resources/>
  79. <connections>
  80. <connection>
  81. <sender>buttonBox</sender>
  82. <signal>accepted()</signal>
  83. <receiver>DialogUserReg</receiver>
  84. <slot>accept()</slot>
  85. <hints>
  86. <hint type="sourcelabel">
  87. <x>248</x>
  88. <y>254</y>
  89. </hint>
  90. <hint type="destinationlabel">
  91. <x>157</x>
  92. <y>274</y>
  93. </hint>
  94. </hints>
  95. </connection>
  96. <connection>
  97. <sender>buttonBox</sender>
  98. <signal>rejected()</signal>
  99. <receiver>DialogUserReg</receiver>
  100. <slot>reject()</slot>
  101. <hints>
  102. <hint type="sourcelabel">
  103. <x>316</x>
  104. <y>260</y>
  105. </hint>
  106. <hint type="destinationlabel">
  107. <x>286</x>
  108. <y>274</y>
  109. </hint>
  110. </hints>
  111. </connection>
  112. </connections>
  113. </ui>