35 from python_qt_binding.QtCore
import Qt
36 from python_qt_binding.QtWidgets
import QWidget, QVBoxLayout, QCheckBox, QScrollArea, QPushButton
42 super(NodeSelection, self).
__init__()
45 self.setWindowTitle(
"Select the nodes you want to record")
47 self.
area = QScrollArea(self)
67 item = QCheckBox(node, self)
68 item.stateChanged.connect(
lambda x: self.
updateNode(x, node))
72 if state == Qt.Checked:
82 master = rosgraph.Master(
'rqt_bag_recorder')
83 state = master.getSystemState()
84 subs = [t
for t, l
in state[1]
85 if len([node_name
for node_name
in self.
selected_nodes if node_name
in l]) > 0]