dialoginputnumseg.ui 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>DialogInputNumSeg</class>
  4. <widget class="QDialog" name="DialogInputNumSeg">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>327</width>
  10. <height>144</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>输入号段</string>
  21. </property>
  22. <layout class="QVBoxLayout" name="verticalLayout_2">
  23. <property name="sizeConstraint">
  24. <enum>QLayout::SetFixedSize</enum>
  25. </property>
  26. <item>
  27. <layout class="QVBoxLayout" name="verticalLayout">
  28. <property name="sizeConstraint">
  29. <enum>QLayout::SetFixedSize</enum>
  30. </property>
  31. <item>
  32. <widget class="QLabel" name="label">
  33. <property name="text">
  34. <string>请输入号段前7位</string>
  35. </property>
  36. </widget>
  37. </item>
  38. <item>
  39. <widget class="QLineEdit" name="numsegEdit">
  40. <property name="sizePolicy">
  41. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  42. <horstretch>0</horstretch>
  43. <verstretch>0</verstretch>
  44. </sizepolicy>
  45. </property>
  46. <property name="minimumSize">
  47. <size>
  48. <width>300</width>
  49. <height>0</height>
  50. </size>
  51. </property>
  52. </widget>
  53. </item>
  54. <item>
  55. <spacer name="verticalSpacer">
  56. <property name="orientation">
  57. <enum>Qt::Vertical</enum>
  58. </property>
  59. <property name="sizeType">
  60. <enum>QSizePolicy::Fixed</enum>
  61. </property>
  62. <property name="sizeHint" stdset="0">
  63. <size>
  64. <width>20</width>
  65. <height>40</height>
  66. </size>
  67. </property>
  68. </spacer>
  69. </item>
  70. <item>
  71. <widget class="QDialogButtonBox" name="buttonBox">
  72. <property name="orientation">
  73. <enum>Qt::Horizontal</enum>
  74. </property>
  75. <property name="standardButtons">
  76. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  77. </property>
  78. <property name="centerButtons">
  79. <bool>false</bool>
  80. </property>
  81. </widget>
  82. </item>
  83. </layout>
  84. </item>
  85. </layout>
  86. </widget>
  87. <resources/>
  88. <connections>
  89. <connection>
  90. <sender>buttonBox</sender>
  91. <signal>accepted()</signal>
  92. <receiver>DialogInputNumSeg</receiver>
  93. <slot>accept()</slot>
  94. <hints>
  95. <hint type="sourcelabel">
  96. <x>170</x>
  97. <y>78</y>
  98. </hint>
  99. <hint type="destinationlabel">
  100. <x>168</x>
  101. <y>49</y>
  102. </hint>
  103. </hints>
  104. </connection>
  105. <connection>
  106. <sender>buttonBox</sender>
  107. <signal>rejected()</signal>
  108. <receiver>DialogInputNumSeg</receiver>
  109. <slot>reject()</slot>
  110. <hints>
  111. <hint type="sourcelabel">
  112. <x>170</x>
  113. <y>78</y>
  114. </hint>
  115. <hint type="destinationlabel">
  116. <x>168</x>
  117. <y>49</y>
  118. </hint>
  119. </hints>
  120. </connection>
  121. </connections>
  122. </ui>