Add code to filter items in build tool based on layout and active status

This commit is contained in:
Veronica Berglyd Olsen committed 2023-05-07 19:21:07 +02:00
1 parent e7a148d20d
commit 46b4e39bf5
3 files changed
+166 -52

No files matched your search

+7
View File
@@ -45,6 +45,13 @@ class NSwitchBox(QScrollArea):
self._wSwitch = 2*self._hSwitch
self._sIcon = int(round(0.8*baseSize))
self.clear()
return
def clear(self):
"""Rebuild the content of the core widget.
"""
self._content = QGridLayout()
self._content.setColumnStretch(1, 1)