Fri, 01 Jul 2022 16:46:43 +0300
Fix right click to delete not really working properly
Instead of removing the point that had been added, it would remove
the point that is being drawn, which would cause it to overwrite the
previous point using the new point, causing a bit of a delay
7 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <ui version="4.0"> | |
3 | <class>LibrariesEditor</class> | |
4 | <widget class="QWidget" name="LibrariesEditor"> | |
5 | <property name="geometry"> | |
6 | <rect> | |
7 | <x>0</x> | |
8 | <y>0</y> | |
9 | <width>434</width> | |
10 | <height>256</height> | |
11 | </rect> | |
12 | </property> | |
13 | <property name="windowTitle"> | |
14 | <string>Form</string> | |
15 | </property> | |
16 | <layout class="QVBoxLayout" name="verticalLayout"> | |
17 | <item> | |
18 | <layout class="QHBoxLayout" name="horizontalLayout"> | |
19 | <item> | |
20 | <widget class="QLineEdit" name="newLibraryPath"/> | |
21 | </item> | |
22 | <item> | |
23 | <widget class="QPushButton" name="newLibrarySearch"> | |
24 | <property name="text"> | |
25 | <string>…</string> | |
26 | </property> | |
27 | </widget> | |
28 | </item> | |
29 | <item> | |
30 | <widget class="QPushButton" name="newLibraryAdd"> | |
31 | <property name="text"> | |
32 | <string>Add</string> | |
33 | </property> | |
34 | </widget> | |
35 | </item> | |
36 | </layout> | |
37 | </item> | |
38 | <item> | |
39 | <widget class="QTableView" name="librariesTable"> | |
8
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
40 | <property name="dragEnabled"> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
41 | <bool>true</bool> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
42 | </property> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
43 | <property name="dragDropMode"> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
44 | <enum>QAbstractItemView::InternalMove</enum> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
45 | </property> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
46 | <property name="defaultDropAction"> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
47 | <enum>Qt::MoveAction</enum> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
48 | </property> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
49 | <property name="alternatingRowColors"> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
50 | <bool>true</bool> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
51 | </property> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
52 | <property name="selectionMode"> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
53 | <enum>QAbstractItemView::SingleSelection</enum> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
54 | </property> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
55 | <property name="selectionBehavior"> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
56 | <enum>QAbstractItemView::SelectRows</enum> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
57 | </property> |
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
58 | <attribute name="horizontalHeaderStretchLastSection"> |
7 | 59 | <bool>true</bool> |
60 | </attribute> | |
61 | </widget> | |
62 | </item> | |
63 | </layout> | |
64 | </widget> | |
65 | <resources/> | |
66 | <connections/> | |
67 | </ui> |