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

This commit is contained in:
Veronica Berglyd Olsen
2023-05-07 19:21:07 +02:00
parent e7a148d20d
commit 46b4e39bf5
3 changed files with 166 additions and 52 deletions
+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)