resfiledialog.ui 1.9 KB

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