qt5
Last change
on this file since 66327a0 was
66327a0,
checked in by pavelpa <pavelpa@…>, 13 years ago
|
modified model-view
- created own delegate to display TreeView? items
- contains also 'controls' - which are clickable (handled in TreeView?)
- created own TreeView? inherited from QTreeView
- to handle control-clicks of the Delegate
- minor modifications to MainWindow? UI
- icons added
|
-
Property mode set to
100644
|
File size:
1.8 KB
|
Line | |
---|
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>856</width> |
---|
9 | <height>558</height> |
---|
10 | </rect> |
---|
11 | </property> |
---|
12 | <property name="windowTitle" > |
---|
13 | <string>MainWindow</string> |
---|
14 | </property> |
---|
15 | <widget class="QWidget" name="centralwidget" > |
---|
16 | <layout class="QGridLayout" name="gridLayout" > |
---|
17 | <item row="0" column="0" > |
---|
18 | <widget class="QTabWidget" name="tabWidget" > |
---|
19 | <property name="currentIndex" > |
---|
20 | <number>0</number> |
---|
21 | </property> |
---|
22 | <widget class="QWidget" name="tab" > |
---|
23 | <attribute name="title" > |
---|
24 | <string>Tab 1</string> |
---|
25 | </attribute> |
---|
26 | <layout class="QGridLayout" name="gridLayout_2" > |
---|
27 | <item row="0" column="0" > |
---|
28 | <layout class="QVBoxLayout" name="verticalLayout" > |
---|
29 | <item> |
---|
30 | <widget class="TreeView" name="treeView" > |
---|
31 | <property name="maximumSize" > |
---|
32 | <size> |
---|
33 | <width>16777215</width> |
---|
34 | <height>16777215</height> |
---|
35 | </size> |
---|
36 | </property> |
---|
37 | </widget> |
---|
38 | </item> |
---|
39 | </layout> |
---|
40 | </item> |
---|
41 | </layout> |
---|
42 | </widget> |
---|
43 | <widget class="QWidget" name="tab_2" > |
---|
44 | <attribute name="title" > |
---|
45 | <string>Tab 2</string> |
---|
46 | </attribute> |
---|
47 | </widget> |
---|
48 | </widget> |
---|
49 | </item> |
---|
50 | </layout> |
---|
51 | </widget> |
---|
52 | <widget class="QMenuBar" name="menubar" > |
---|
53 | <property name="geometry" > |
---|
54 | <rect> |
---|
55 | <x>0</x> |
---|
56 | <y>0</y> |
---|
57 | <width>856</width> |
---|
58 | <height>22</height> |
---|
59 | </rect> |
---|
60 | </property> |
---|
61 | </widget> |
---|
62 | <widget class="QStatusBar" name="statusbar" /> |
---|
63 | </widget> |
---|
64 | <customwidgets> |
---|
65 | <customwidget> |
---|
66 | <class>TreeView</class> |
---|
67 | <extends>QTreeView</extends> |
---|
68 | <header>../model/treeview.h</header> |
---|
69 | </customwidget> |
---|
70 | </customwidgets> |
---|
71 | <resources/> |
---|
72 | <connections/> |
---|
73 | </ui> |
---|
Note: See
TracBrowser
for help on using the repository browser.