def _init_child_views(self): if not self._children_ready: self.gonio_view = InlineGoniometerView(parent=self) self.calc_line_view = CalculatedLinePropertiesView(parent=self) self.exp_line_view = ExperimentalLinePropertiesView(parent=self) self._children_ready = True