def _connect_imager_windows(self): self.imager_windows = self.leddar_vp.root_wrapper().rgbWindows self._imager_windows = [] for ds_name, window in self.imager_windows.items(): self._imager_windows.append( ImagerWindow(utils.QmlWrapper(window), self.pf, self.synchronized, ds_name, self.video_fps))
def _connect_viewport_windows(self): self.viewport_windows = self.leddar_vp.root_wrapper().viewportWindows self._viewport_windows = [] for ds_name, window in self.viewport_windows.items(): self._viewport_windows.append( ViewportWindow(utils.QmlWrapper(window), self.pf, self.synchronized, ds_name, self.video_fps))
def _connect_traces_windows(self): self.traces_windows = QQmlProperty.read(self.leddar_vp.root, "tracesWindows").toVariant() self._traces_windows = [] for ds_name, window in self.traces_windows.items(): self._traces_windows.append( TracesWindow(utils.QmlWrapper(window), self.pf, self.synchronized, ds_name))
def root(self, qobject): self._root = utils.QmlWrapper(qobject) if qobject else None