resfiledialog.ui 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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="QLabel" name="label_newFile">
  46. <property name="geometry">
  47. <rect>
  48. <x>150</x>
  49. <y>80</y>
  50. <width>141</width>
  51. <height>111</height>
  52. </rect>
  53. </property>
  54. <property name="text">
  55. <string>TextLabel</string>
  56. </property>
  57. </widget>
  58. </widget>
  59. <resources/>
  60. <connections>
  61. <connection>
  62. <sender>buttonBox</sender>
  63. <signal>accepted()</signal>
  64. <receiver>ResFileDialog</receiver>
  65. <slot>accept()</slot>
  66. <hints>
  67. <hint type="sourcelabel">
  68. <x>248</x>
  69. <y>254</y>
  70. </hint>
  71. <hint type="destinationlabel">
  72. <x>157</x>
  73. <y>274</y>
  74. </hint>
  75. </hints>
  76. </connection>
  77. <connection>
  78. <sender>buttonBox</sender>
  79. <signal>rejected()</signal>
  80. <receiver>ResFileDialog</receiver>
  81. <slot>reject()</slot>
  82. <hints>
  83. <hint type="sourcelabel">
  84. <x>316</x>
  85. <y>260</y>
  86. </hint>
  87. <hint type="destinationlabel">
  88. <x>286</x>
  89. <y>274</y>
  90. </hint>
  91. </hints>
  92. </connection>
  93. </connections>
  94. </ui>