[netinstall] Introduce a custom class for the Tree Widget
This commit is contained in:
parent
67ad12c2d0
commit
6bf710bed3
3
src/modules/netinstall/groupstreeview.h
Normal file
3
src/modules/netinstall/groupstreeview.h
Normal file
@ -0,0 +1,3 @@
|
||||
#include <QTreeView>
|
||||
|
||||
using GroupsTreeView = QTreeView;
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user