2 <class>MainWindow</class>
3 <widget class="QMainWindow" name="MainWindow" >
4 <property name="geometry" >
12 <property name="windowTitle" >
13 <string>Editable Tree Model</string>
15 <widget class="QWidget" name="centralwidget" >
16 <layout class="QVBoxLayout" >
17 <property name="margin" >
20 <property name="spacing" >
24 <widget class="QTreeView" name="view" >
25 <property name="alternatingRowColors" >
28 <property name="selectionBehavior" >
29 <enum>QAbstractItemView::SelectItems</enum>
31 <property name="horizontalScrollMode" >
32 <enum>QAbstractItemView::ScrollPerPixel</enum>
34 <property name="animated" >
37 <property name="allColumnsShowFocus" >
44 <widget class="QMenuBar" name="menubar" >
45 <property name="geometry" >
53 <widget class="QMenu" name="actionsMenu" >
54 <property name="title" >
55 <string>&Actions</string>
57 <addaction name="insertRowAction" />
58 <addaction name="insertColumnAction" />
59 <addaction name="separator" />
60 <addaction name="removeRowAction" />
61 <addaction name="removeColumnAction" />
62 <addaction name="separator" />
63 <addaction name="insertChildAction" />
65 <widget class="QMenu" name="fileMenu" >
66 <property name="title" >
67 <string>&File</string>
69 <addaction name="exitAction" />
71 <widget class="QMenu" name="menuData" >
72 <property name="title" >
75 <addaction name="newDataAction" />
77 <addaction name="fileMenu" />
78 <addaction name="actionsMenu" />
79 <addaction name="menuData" />
81 <widget class="QStatusBar" name="statusbar" />
82 <action name="exitAction" >
83 <property name="text" >
84 <string>E&xit</string>
86 <property name="shortcut" >
87 <string>Ctrl+Q</string>
90 <action name="insertRowAction" >
91 <property name="text" >
92 <string>Insert Row</string>
94 <property name="shortcut" >
95 <string>Ctrl+I, R</string>
98 <action name="removeRowAction" >
99 <property name="text" >
100 <string>Remove Row</string>
102 <property name="shortcut" >
103 <string>Ctrl+R, R</string>
106 <action name="insertColumnAction" >
107 <property name="text" >
108 <string>Insert Column</string>
110 <property name="shortcut" >
111 <string>Ctrl+I, C</string>
114 <action name="removeColumnAction" >
115 <property name="text" >
116 <string>Remove Column</string>
118 <property name="shortcut" >
119 <string>Ctrl+R, C</string>
122 <action name="insertChildAction" >
123 <property name="text" >
124 <string>Insert Child</string>
126 <property name="shortcut" >
127 <string>Ctrl+N</string>
130 <action name="newDataAction" >
131 <property name="text" >
137 <include location="editabletreemodel.qrc" />