[netinstall] Introduce a custom class for the Tree Widget

This commit is contained in:
Adriaan de Groot 2022-05-17 14:38:44 +02:00
parent 67ad12c2d0
commit 6bf710bed3
2 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,3 @@
#include <QTreeView>
using GroupsTreeView = QTreeView;

View File

@ -36,13 +36,13 @@ SPDX-License-Identifier: GPL-3.0-or-later
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QTreeView" name="groupswidget">
<widget class="GroupsTreeView" name="groupswidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>981</width>
<height>407</height>
<height>410</height>
</rect>
</property>
<property name="font">
@ -63,6 +63,13 @@ SPDX-License-Identifier: GPL-3.0-or-later
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>GroupsTreeView</class>
<extends>QTreeView</extends>
<header>groupstreeview.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>