| 1 | <ui version="4.0" >
|
|---|
| 2 | <class>MainWindow</class>
|
|---|
| 3 | <widget class="QMainWindow" name="MainWindow" >
|
|---|
| 4 | <property name="geometry" >
|
|---|
| 5 | <rect>
|
|---|
| 6 | <x>0</x>
|
|---|
| 7 | <y>0</y>
|
|---|
| 8 | <width>573</width>
|
|---|
| 9 | <height>468</height>
|
|---|
| 10 | </rect>
|
|---|
| 11 | </property>
|
|---|
| 12 | <property name="windowTitle" >
|
|---|
| 13 | <string>Editable Tree Model</string>
|
|---|
| 14 | </property>
|
|---|
| 15 | <widget class="QWidget" name="centralwidget" >
|
|---|
| 16 | <layout class="QVBoxLayout" >
|
|---|
| 17 | <property name="margin" >
|
|---|
| 18 | <number>0</number>
|
|---|
| 19 | </property>
|
|---|
| 20 | <property name="spacing" >
|
|---|
| 21 | <number>0</number>
|
|---|
| 22 | </property>
|
|---|
| 23 | <item>
|
|---|
| 24 | <widget class="QTreeView" name="view" >
|
|---|
| 25 | <property name="alternatingRowColors" >
|
|---|
| 26 | <bool>true</bool>
|
|---|
| 27 | </property>
|
|---|
| 28 | <property name="selectionBehavior" >
|
|---|
| 29 | <enum>QAbstractItemView::SelectItems</enum>
|
|---|
| 30 | </property>
|
|---|
| 31 | <property name="horizontalScrollMode" >
|
|---|
| 32 | <enum>QAbstractItemView::ScrollPerPixel</enum>
|
|---|
| 33 | </property>
|
|---|
| 34 | <property name="animated" >
|
|---|
| 35 | <bool>false</bool>
|
|---|
| 36 | </property>
|
|---|
| 37 | <property name="allColumnsShowFocus" >
|
|---|
| 38 | <bool>true</bool>
|
|---|
| 39 | </property>
|
|---|
| 40 | </widget>
|
|---|
| 41 | </item>
|
|---|
| 42 | </layout>
|
|---|
| 43 | </widget>
|
|---|
| 44 | <widget class="QMenuBar" name="menubar" >
|
|---|
| 45 | <property name="geometry" >
|
|---|
| 46 | <rect>
|
|---|
| 47 | <x>0</x>
|
|---|
| 48 | <y>0</y>
|
|---|
| 49 | <width>573</width>
|
|---|
| 50 | <height>31</height>
|
|---|
| 51 | </rect>
|
|---|
| 52 | </property>
|
|---|
| 53 | <widget class="QMenu" name="fileMenu" >
|
|---|
| 54 | <property name="title" >
|
|---|
| 55 | <string>&File</string>
|
|---|
| 56 | </property>
|
|---|
| 57 | <addaction name="exitAction" />
|
|---|
| 58 | </widget>
|
|---|
| 59 | <widget class="QMenu" name="actionsMenu" >
|
|---|
| 60 | <property name="title" >
|
|---|
| 61 | <string>&Actions</string>
|
|---|
| 62 | </property>
|
|---|
| 63 | <addaction name="insertRowAction" />
|
|---|
| 64 | <addaction name="insertColumnAction" />
|
|---|
| 65 | <addaction name="separator" />
|
|---|
| 66 | <addaction name="removeRowAction" />
|
|---|
| 67 | <addaction name="removeColumnAction" />
|
|---|
| 68 | <addaction name="separator" />
|
|---|
| 69 | <addaction name="insertChildAction" />
|
|---|
| 70 | </widget>
|
|---|
| 71 | <addaction name="fileMenu" />
|
|---|
| 72 | <addaction name="actionsMenu" />
|
|---|
| 73 | </widget>
|
|---|
| 74 | <widget class="QStatusBar" name="statusbar" />
|
|---|
| 75 | <action name="exitAction" >
|
|---|
| 76 | <property name="text" >
|
|---|
| 77 | <string>E&xit</string>
|
|---|
| 78 | </property>
|
|---|
| 79 | <property name="shortcut" >
|
|---|
| 80 | <string>Ctrl+Q</string>
|
|---|
| 81 | </property>
|
|---|
| 82 | </action>
|
|---|
| 83 | <action name="insertRowAction" >
|
|---|
| 84 | <property name="text" >
|
|---|
| 85 | <string>Insert Row</string>
|
|---|
| 86 | </property>
|
|---|
| 87 | <property name="shortcut" >
|
|---|
| 88 | <string>Ctrl+I, R</string>
|
|---|
| 89 | </property>
|
|---|
| 90 | </action>
|
|---|
| 91 | <action name="removeRowAction" >
|
|---|
| 92 | <property name="text" >
|
|---|
| 93 | <string>Remove Row</string>
|
|---|
| 94 | </property>
|
|---|
| 95 | <property name="shortcut" >
|
|---|
| 96 | <string>Ctrl+R, R</string>
|
|---|
| 97 | </property>
|
|---|
| 98 | </action>
|
|---|
| 99 | <action name="insertColumnAction" >
|
|---|
| 100 | <property name="text" >
|
|---|
| 101 | <string>Insert Column</string>
|
|---|
| 102 | </property>
|
|---|
| 103 | <property name="shortcut" >
|
|---|
| 104 | <string>Ctrl+I, C</string>
|
|---|
| 105 | </property>
|
|---|
| 106 | </action>
|
|---|
| 107 | <action name="removeColumnAction" >
|
|---|
| 108 | <property name="text" >
|
|---|
| 109 | <string>Remove Column</string>
|
|---|
| 110 | </property>
|
|---|
| 111 | <property name="shortcut" >
|
|---|
| 112 | <string>Ctrl+R, C</string>
|
|---|
| 113 | </property>
|
|---|
| 114 | </action>
|
|---|
| 115 | <action name="insertChildAction" >
|
|---|
| 116 | <property name="text" >
|
|---|
| 117 | <string>Insert Child</string>
|
|---|
| 118 | </property>
|
|---|
| 119 | <property name="shortcut" >
|
|---|
| 120 | <string>Ctrl+N</string>
|
|---|
| 121 | </property>
|
|---|
| 122 | </action>
|
|---|
| 123 | </widget>
|
|---|
| 124 | <resources>
|
|---|
| 125 | <include location="editabletreemodel.qrc" />
|
|---|
| 126 | </resources>
|
|---|
| 127 | <connections/>
|
|---|
| 128 | </ui>
|
|---|