We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f64cbca commit 730acfcCopy full SHA for 730acfc
1 file changed
faslr/model/ibnr.py
@@ -39,13 +39,20 @@ class FIBNRWidget(QWidget):
39
def __init__(
40
self,
41
parent: FModelWidget,
42
+ toolbox: QWidget = None
43
):
44
super().__init__()
45
46
self.parent: FModelWidget = parent
47
48
self.layout = QVBoxLayout()
49
50
+ if toolbox:
51
+ self.toolbox = toolbox
52
+ self.layout.addWidget(self.toolbox, alignment=Qt.AlignmentFlag.AlignRight)
53
+ else:
54
+ self.toolbox = None
55
+
56
# Only initialize base ibnr model and view if they have not been overridden.
57
if not (hasattr(self, 'ibnr_model') and hasattr(self, 'ibnr_view')):
58
self.ibnr_model = FIBNRModel(parent=self)
0 commit comments