wolfhece.ui.wolf_multiselection_collapsiblepane

Author: HECE - University of Liege, Pierre Archambeau Date: 2024

Copyright (c) 2024 University of Liege. All rights reserved.

This script and its content are protected by copyright law. Unauthorized copying or distribution of this file, via any medium, is strictly prohibited.

Module Contents

class wolfhece.ui.wolf_multiselection_collapsiblepane.Wolf_TwoLists_Transfer(parent, **kwargs)[source]

Bases: wx.Panel

Inheritance diagram of wolfhece.ui.wolf_multiselection_collapsiblepane.Wolf_TwoLists_Transfer

Panel with 2 lists to select multiple items from 1 to 2 or from 2 to 1

get_values()[source]

Get values of the lists

set_max_selected_items(max_selected_items: int)[source]

set the maximum number of selected items that list1 can transfer to list2

_ui_bind_actions()[source]

Bind actions to buttons

_on_buttonAll1to2(event)[source]

Clear list 2

_on_buttonAll2to1(event)[source]

Clear list 2

_on_buttonSort1(event)[source]

Sort items of list 1

_on_buttonSort2(event)[source]

Sort items of list 2

_on_button1to2(event)[source]

Transfer selected items from list 1 to list 2

_on_button2to1(event)[source]

Transfer selected items from list 2 to list 1

class wolfhece.ui.wolf_multiselection_collapsiblepane.Wolf_MultipleSelection(parent, title, values_dict: dict, callback=None, info: str = '', cmdApply: bool = False, styles=wx.LB_EXTENDED, destroyOK=False, **kwargs)[source]

Bases: wx.Dialog

Inheritance diagram of wolfhece.ui.wolf_multiselection_collapsiblepane.Wolf_MultipleSelection

Dialog with multiple ‘collapsiblepanes’ containing 2 lists to select multiple items

get_values()[source]

Get values of the lists

_ui_bind_actions()[source]

Bind actions to buttons

_on_buttonOK(event)[source]
_on_buttonApply(event)[source]

callback

wolfhece.ui.wolf_multiselection_collapsiblepane.app[source]