Bug fixes for QTreeView on Windows.

main
Alex Huszagh 2021-07-15 15:43:27 -05:00
parent e95c63fe58
commit 1073a3d580
11 changed files with 2791 additions and 2772 deletions

View File

@ -1,6 +1,6 @@
<svg width="405" height="290">
<g transform="scale(5)">
<rect id="VLine" fill="^0^" x="36" width="3" height="29.75"/>
<rect id="HLine" fill="^0^" x="36" y="29.75" height="1.75" width="45"/>
<rect id="HLine" fill="^0^" x="36" y="29.75" height="2" width="45"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 214 B

After

Width:  |  Height:  |  Size: 211 B

View File

@ -1,6 +1,6 @@
<svg width="405" height="290">
<g transform="scale(5)">
<rect fill="^0^" x="36" width="3" height="17"/>
<rect fill="^0^" x="66" y="29.75" height="1.75" width="15"/>
<rect fill="^0^" x="66" y="29.75" height="2" width="15"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 189 B

After

Width:  |  Height:  |  Size: 186 B

View File

@ -1,6 +1,6 @@
<svg width="405" height="290">
<g transform="scale(5)">
<rect fill="^0^" x="36" width="3" height="58"/>
<rect fill="^0^" x="36" y="29.75" height="1.75" width="45"/>
<rect fill="^0^" x="36" y="29.75" height="2" width="45"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 189 B

After

Width:  |  Height:  |  Size: 186 B

View File

@ -2,6 +2,6 @@
<g transform="scale(5)">
<rect fill="^0^" x="36" width="3" height="17"/>
<rect fill="^0^" x="36" y="47" width="3" height="11"/>
<rect fill="^0^" x="66" y="29.75" height="1.75" width="15"/>
<rect fill="^0^" x="66" y="29.75" height="2" width="15"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 248 B

After

Width:  |  Height:  |  Size: 245 B

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
<svg width="405" height="290">
<g transform="scale(5)">
<rect id="VLine" fill="#afafaf" x="36" width="3" height="29.75"/>
<rect id="HLine" fill="#afafaf" x="36" y="29.75" height="1.75" width="45"/>
<rect id="HLine" fill="#afafaf" x="36" y="29.75" height="2" width="45"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 222 B

After

Width:  |  Height:  |  Size: 219 B

View File

@ -1,6 +1,6 @@
<svg width="405" height="290">
<g transform="scale(5)">
<rect fill="#afafaf" x="36" width="3" height="17"/>
<rect fill="#afafaf" x="66" y="29.75" height="1.75" width="15"/>
<rect fill="#afafaf" x="66" y="29.75" height="2" width="15"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 197 B

After

Width:  |  Height:  |  Size: 194 B

View File

@ -1,6 +1,6 @@
<svg width="405" height="290">
<g transform="scale(5)">
<rect fill="#afafaf" x="36" width="3" height="58"/>
<rect fill="#afafaf" x="36" y="29.75" height="1.75" width="45"/>
<rect fill="#afafaf" x="36" y="29.75" height="2" width="45"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 197 B

After

Width:  |  Height:  |  Size: 194 B

View File

@ -2,6 +2,6 @@
<g transform="scale(5)">
<rect fill="#afafaf" x="36" width="3" height="17"/>
<rect fill="#afafaf" x="36" y="47" width="3" height="11"/>
<rect fill="#afafaf" x="66" y="29.75" height="1.75" width="15"/>
<rect fill="#afafaf" x="66" y="29.75" height="2" width="15"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 260 B

After

Width:  |  Height:  |  Size: 257 B

View File

@ -1,3 +1,3 @@
<svg width="100" height="100">
<circle cx="50" cy="50" r="40" stroke="#58d3ff" stroke-width="10" fill="none" shape-rendering="geometricPrecision"/>
<circle cx="50" cy="50" r="40" stroke="#58d3ff" stroke-width="10" fill="none" />
</svg>

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 121 B

View File

@ -205,6 +205,15 @@ class Ui:
item_1 = QtWidgets.QTreeWidgetItem(self.treeWidget)
item_2 = QtWidgets.QTreeWidgetItem(item_1)
item_2.setText(0, 'subitem')
item_3 = QtWidgets.QTreeWidgetItem(item_2, ['Row 2.1'])
item_4 = QtWidgets.QTreeWidgetItem(item_2, ['Row 2.2'])
item_5 = QtWidgets.QTreeWidgetItem(item_4, ['Row 2.2.1'])
item_6 = QtWidgets.QTreeWidgetItem(item_5, ['Row 2.2.1.1'])
item_7 = QtWidgets.QTreeWidgetItem(item_5, ['Row 2.2.1.2'])
item_8 = QtWidgets.QTreeWidgetItem(item_2, ['Row 2.3'])
item_9 = QtWidgets.QTreeWidgetItem(self.treeWidget, ['Row 3'])
item_10 = QtWidgets.QTreeWidgetItem(item_9, ['Row 3.1'])
item_11 = QtWidgets.QTreeWidgetItem(self.treeWidget, ['Row 4'])
self.verticalLayout_4.addWidget(self.treeWidget)
self.gridLayout_2.addWidget(self.groupBox_2, 0, 0, 1, 1)
self.tab_3v2 = QtWidgets.QWidget()