[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">
|
<property name="widgetResizable">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QTreeView" name="groupswidget">
|
<widget class="GroupsTreeView" name="groupswidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>981</width>
|
<width>981</width>
|
||||||
<height>407</height>
|
<height>410</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
@ -63,6 +63,13 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
|
<customwidgets>
|
||||||
|
<customwidget>
|
||||||
|
<class>GroupsTreeView</class>
|
||||||
|
<extends>QTreeView</extends>
|
||||||
|
<header>groupstreeview.h</header>
|
||||||
|
</customwidget>
|
||||||
|
</customwidgets>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
Loading…
Reference in New Issue
Block a user