detdialog.ui 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>DetDialog</class>
  4. <widget class="QDialog" name="DetDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>277</width>
  10. <height>238</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Dialog</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <layout class="QFormLayout" name="formLayout">
  19. <item row="0" column="0">
  20. <widget class="QLabel" name="labType">
  21. <property name="text">
  22. <string>类型</string>
  23. </property>
  24. </widget>
  25. </item>
  26. <item row="1" column="0">
  27. <widget class="QLabel" name="labCode">
  28. <property name="text">
  29. <string>条码</string>
  30. </property>
  31. </widget>
  32. </item>
  33. <item row="1" column="1">
  34. <widget class="QLineEdit" name="lineCode"/>
  35. </item>
  36. <item row="2" column="0">
  37. <widget class="QLabel" name="labCount">
  38. <property name="text">
  39. <string>数量</string>
  40. </property>
  41. </widget>
  42. </item>
  43. <item row="2" column="1">
  44. <widget class="QLineEdit" name="lineCount"/>
  45. </item>
  46. <item row="3" column="0">
  47. <widget class="QLabel" name="labFeature">
  48. <property name="text">
  49. <string>特征码</string>
  50. </property>
  51. </widget>
  52. </item>
  53. <item row="3" column="1">
  54. <widget class="QLineEdit" name="lineFeature"/>
  55. </item>
  56. <item row="0" column="1">
  57. <widget class="QComboBox" name="comboType"/>
  58. </item>
  59. </layout>
  60. </item>
  61. <item>
  62. <widget class="QDialogButtonBox" name="buttonBox">
  63. <property name="orientation">
  64. <enum>Qt::Orientation::Horizontal</enum>
  65. </property>
  66. <property name="standardButtons">
  67. <set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
  68. </property>
  69. </widget>
  70. </item>
  71. </layout>
  72. </widget>
  73. <resources/>
  74. <connections>
  75. <connection>
  76. <sender>buttonBox</sender>
  77. <signal>rejected()</signal>
  78. <receiver>DetDialog</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. <connection>
  92. <sender>buttonBox</sender>
  93. <signal>accepted()</signal>
  94. <receiver>DetDialog</receiver>
  95. <slot>accept()</slot>
  96. <hints>
  97. <hint type="sourcelabel">
  98. <x>248</x>
  99. <y>254</y>
  100. </hint>
  101. <hint type="destinationlabel">
  102. <x>157</x>
  103. <y>274</y>
  104. </hint>
  105. </hints>
  106. </connection>
  107. </connections>
  108. </ui>