src/document.ui

Fri, 04 Mar 2022 11:37:50 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Fri, 04 Mar 2022 11:37:50 +0200
changeset 152
03f8e6d42e13
parent 126
a7c720aff97c
child 187
30204975694a
permissions
-rw-r--r--

Major refactoring
- Model now just stores objects
- Document contains business logic
- Model::EditContext is now ModelEditor, no longer a nested class

8
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
2 <ui version="4.0">
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
3 <class>Document</class>
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
4 <widget class="QWidget" name="Document">
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
5 <property name="geometry">
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
6 <rect>
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
7 <x>0</x>
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
8 <y>0</y>
125
f127982d3412 Move tools under Document instead of MainWindow
Teemu Piippo <teemu@hecknology.net>
parents: 94
diff changeset
9 <width>957</width>
f127982d3412 Move tools under Document instead of MainWindow
Teemu Piippo <teemu@hecknology.net>
parents: 94
diff changeset
10 <height>540</height>
8
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
11 </rect>
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
12 </property>
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
13 <property name="windowTitle">
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
14 <string>Form</string>
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
15 </property>
125
f127982d3412 Move tools under Document instead of MainWindow
Teemu Piippo <teemu@hecknology.net>
parents: 94
diff changeset
16 <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,1">
f127982d3412 Move tools under Document instead of MainWindow
Teemu Piippo <teemu@hecknology.net>
parents: 94
diff changeset
17 <item>
f127982d3412 Move tools under Document instead of MainWindow
Teemu Piippo <teemu@hecknology.net>
parents: 94
diff changeset
18 <widget class="QWidget" name="toolsBarContainer" native="true"/>
f127982d3412 Move tools under Document instead of MainWindow
Teemu Piippo <teemu@hecknology.net>
parents: 94
diff changeset
19 </item>
8
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
20 <item>
94
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
21 <widget class="QSplitter" name="splitter_2">
8
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
22 <property name="orientation">
94
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
23 <enum>Qt::Vertical</enum>
8
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
24 </property>
94
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
25 <widget class="QSplitter" name="splitter">
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
26 <property name="orientation">
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
27 <enum>Qt::Horizontal</enum>
81
62373840e33a object editor widgets start to form up
Teemu Piippo <teemu@hecknology.net>
parents: 51
diff changeset
28 </property>
94
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
29 <widget class="QFrame" name="viewportFrame">
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
30 <property name="frameShape">
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
31 <enum>QFrame::StyledPanel</enum>
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
32 </property>
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
33 <property name="frameShadow">
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
34 <enum>QFrame::Raised</enum>
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
35 </property>
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
36 </widget>
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
37 <widget class="QListView" name="listView">
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
38 <property name="alternatingRowColors">
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
39 <bool>true</bool>
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
40 </property>
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
41 <property name="selectionMode">
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
42 <enum>QAbstractItemView::ExtendedSelection</enum>
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
43 </property>
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
44 <property name="selectionBehavior">
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
45 <enum>QAbstractItemView::SelectRows</enum>
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
46 </property>
164f53fb5921 added a color select dialog
Teemu Piippo <teemu@hecknology.net>
parents: 81
diff changeset
47 </widget>
51
1a9eac27698d selection works now
Teemu Piippo <teemu@hecknology.net>
parents: 21
diff changeset
48 </widget>
126
a7c720aff97c moved ObjectEditor under SelectTool
Teemu Piippo <teemu@hecknology.net>
parents: 125
diff changeset
49 <widget class="QStackedWidget" name="toolWidgetStack">
21
Teemu Piippo <teemu@hecknology.net>
parents: 17
diff changeset
50 <property name="frameShape">
Teemu Piippo <teemu@hecknology.net>
parents: 17
diff changeset
51 <enum>QFrame::StyledPanel</enum>
Teemu Piippo <teemu@hecknology.net>
parents: 17
diff changeset
52 </property>
Teemu Piippo <teemu@hecknology.net>
parents: 17
diff changeset
53 <property name="frameShadow">
Teemu Piippo <teemu@hecknology.net>
parents: 17
diff changeset
54 <enum>QFrame::Raised</enum>
Teemu Piippo <teemu@hecknology.net>
parents: 17
diff changeset
55 </property>
Teemu Piippo <teemu@hecknology.net>
parents: 17
diff changeset
56 </widget>
8
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
57 </widget>
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
58 </item>
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
59 </layout>
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
60 </widget>
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
61 <resources/>
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
62 <connections/>
44679e468ba9 major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
63 </ui>

mercurial