Package node_manager_fkie :: Module launch_files_widget :: Class LaunchFilesWidget
[frames] | no frames]

Class LaunchFilesWidget

source code

python_qt_binding.QtWidgets.QDockWidget --+
                                          |
                                         LaunchFilesWidget

Launch file browser.

Instance Methods
 
__init__(self, parent=None)
Creates the window, connects the signals and init the class.
source code
 
stop(self)
Cancel the executing queued actions.
source code
 
on_launch_selection_activated(self, activated)
Tries to load the launch file, if one was activated.
source code
 
load_file(self, path, argv=[], masteruri=None)
Tries to load the launch file, if one was activated.
source code
 
on_xmlFileView_selection_changed(self, selected, deselected)
On selection of a launch file, the buttons are enabled otherwise disabled.
source code
 
set_package_filter(self, text) source code
 
on_refresh_xml_clicked(self)
Reload the current path.
source code
 
on_edit_xml_clicked(self)
Opens an XML editor to edit the launch file.
source code
 
on_new_xml_clicked(self)
Creates a new launch file.
source code
 
on_open_xml_clicked(self) source code
 
on_transfer_file_clicked(self)
Emit the signal to copy the selected file to a remote host.
source code
 
on_load_xml_clicked(self)
Tries to load the selected launch file.
source code
 
on_load_as_default_at_host(self)
Tries to load the selected launch file as default configuration.
source code
 
on_load_as_default(self)
Tries to load the selected launch file as default configuration.
source code
 
keyPressEvent(self, event)
Defines some of shortcuts for navigation/management in launch list view or topics view.
source code
Class Variables
  load_signal = Signal(str, list, str)
load the launch file with given arguments (launchfile, argv, masteruri)
  load_profile_signal = Signal(str)
load the profile file
  load_as_default_signal = Signal(str, str)
load the launch file as default (path, host)
  edit_signal = Signal(list)
list of paths to open in an editor
  transfer_signal = Signal(list)
list of paths selected for transfer
Method Details

stop(self)

source code 

Cancel the executing queued actions. This method must be called at the exit!

on_load_xml_clicked(self)

source code 

Tries to load the selected launch file. The button is only enabled and this method is called, if the button was enabled by on_launch_selection_clicked()

on_load_as_default_at_host(self)

source code 

Tries to load the selected launch file as default configuration. The button is only enabled and this method is called, if the button was enabled by on_launch_selection_clicked()

on_load_as_default(self)

source code 

Tries to load the selected launch file as default configuration. The button is only enabled and this method is called, if the button was enabled by on_launch_selection_clicked()