37 from python_qt_binding
import loadUi
38 from python_qt_binding.QtGui
import QIcon
39 from python_qt_binding.QtWidgets
import QLineEdit, QWidget
48 Works as a proxy between ROS Node
49 (more in particular, roslaunch.nodeprocess) and GUI.
52 __slots__ = [
'_run_id',
'master_uri',
'config',
'_process']
54 def __init__(self, rospack, master_uri, launch_config,
57 @type launch_node: roslaunch.core.Node
58 @type launch_config: roslaunch.core.Config
59 @type label_status: StatusIndicator
66 ui_file = os.path.join(self.
_rospack.get_path(
'rqt_launch'),
67 'resource',
'node_widget.ui')
76 rospy.logdebug(
'_proxy.conf.namespace={} launch_config={}'.format(
97 self._pushbutton_start_stop_node.toggled.connect(slot)
102 rospy.logdebug(
'NodeWidget.set_node_started running?={}'.format(is_node_running))
107 self._pushbutton_start_stop_node.setDown(
False)
113 self._pushbutton_start_stop_node.setDown(
True)