36 from python_qt_binding
import loadUi
37 from python_qt_binding.QtWidgets
import QWidget
42 def __init__(self, parent=None, script_path=None):
43 super(ShellWidget, self).
__init__(parent=parent)
45 ui_file = os.path.join(rp.get_path(
'rqt_shell'),
'resource',
'shell_widget.ui')
46 loadUi(ui_file, self, {
'ShellTextEdit': ShellTextEdit})
47 self.setObjectName(
'ShellWidget')