# svir.ui package

## Submodules

## svir.ui.list_multiselect_widget module

allows multiple selection between in a large list

Contact : marco@opengis.ch

Note

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

class `svir.ui.list_multiselect_widget.``ListMultiSelectWidget`(parent=None, title=None)

  Bases: `PyQt5.QtWidgets.QGroupBox`

  Widget to show two parallel lists and move elements between the two

  usage from code:
    self.myWidget = ListMultiSelectWidget(title=’myTitle’) self.myLayout.insertWidget(1, self.myWidget)
  usage from designer:
    insert a QGroupBox in your UI file optionally give a title to the QGroupBox promote it to ListMultiSelectWidget
  `add_selected_items`(items)

    :param items list of strings to be added in the selected list

  `add_unselected_items`(items)

    :param items list of strings to be added in the unselected list

  `get_selected_items`()

    :return list with all the selected items text

  `get_unselected_items`()

    :return list with all the unselected items text

  `selection_changed`
  `set_selected_items`(items)

    :param items list of strings to be set as the selected list

  `set_unselected_items`(items)

    :param items list of strings to be set as the unselected list

class `svir.ui.list_multiselect_widget.``SmallQPushButton`(text)

  Bases: `PyQt5.QtWidgets.QPushButton`

## svir.ui.tool_button_with_help_link module

button that when is clicked with whatsThis mode on opens an URL

Contact : marco@opengis.ch

Note

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

class `svir.ui.tool_button_with_help_link.``QToolButtonWithHelpLink`(action, help_url)

  Bases: `PyQt5.QtWidgets.QToolButton`

  `event`(event)
  `open_doc`()

## Module contents