treeapp.ui 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>TreeApp</class>
  4. <widget class="QMainWindow" name="TreeApp">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>347</width>
  10. <height>257</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>TreeApp</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <layout class="QHBoxLayout" name="horizontalLayout">
  18. <item>
  19. <widget class="QTreeView" name="treeView"/>
  20. </item>
  21. </layout>
  22. </widget>
  23. <widget class="QMenuBar" name="menubar">
  24. <property name="geometry">
  25. <rect>
  26. <x>0</x>
  27. <y>0</y>
  28. <width>347</width>
  29. <height>20</height>
  30. </rect>
  31. </property>
  32. </widget>
  33. <widget class="QStatusBar" name="statusbar"/>
  34. <widget class="QToolBar" name="toolBar">
  35. <property name="windowTitle">
  36. <string>toolBar</string>
  37. </property>
  38. <attribute name="toolBarArea">
  39. <enum>TopToolBarArea</enum>
  40. </attribute>
  41. <attribute name="toolBarBreak">
  42. <bool>false</bool>
  43. </attribute>
  44. <addaction name="actionSelect_a_file"/>
  45. </widget>
  46. <action name="actionSelect_a_file">
  47. <property name="text">
  48. <string>Select a file</string>
  49. </property>
  50. </action>
  51. </widget>
  52. <resources/>
  53. <connections>
  54. <connection>
  55. <sender>treeView</sender>
  56. <signal>doubleClicked(QModelIndex)</signal>
  57. <receiver>TreeApp</receiver>
  58. <slot>doubleClicked(QModelIndex)</slot>
  59. <hints>
  60. <hint type="sourcelabel">
  61. <x>173</x>
  62. <y>141</y>
  63. </hint>
  64. <hint type="destinationlabel">
  65. <x>173</x>
  66. <y>128</y>
  67. </hint>
  68. </hints>
  69. </connection>
  70. </connections>
  71. <slots>
  72. <slot>doubleClicked(QModelIndex)</slot>
  73. </slots>
  74. </ui>