:py:mod:`wolfhece.ui.wolf_multiselection_collapsiblepane` ========================================================= .. py:module:: wolfhece.ui.wolf_multiselection_collapsiblepane .. autoapi-nested-parse:: 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 --------------- .. py:class:: Wolf_TwoLists_Transfer(parent, **kwargs) Bases: :py:obj:`wx.Panel` .. autoapi-inheritance-diagram:: wolfhece.ui.wolf_multiselection_collapsiblepane.Wolf_TwoLists_Transfer :parts: 1 :private-bases: Panel with 2 lists to select multiple items from 1 to 2 or from 2 to 1 .. py:method:: get_values() Get values of the lists .. py:method:: set_max_selected_items(max_selected_items: int) set the maximum number of selected items that list1 can transfer to list2 .. py:method:: _ui_bind_actions() Bind actions to buttons .. py:method:: _on_buttonAll1to2(event) Clear list 2 .. py:method:: _on_buttonAll2to1(event) Clear list 2 .. py:method:: _on_buttonSort1(event) Sort items of list 1 .. py:method:: _on_buttonSort2(event) Sort items of list 2 .. py:method:: _on_button1to2(event) Transfer selected items from list 1 to list 2 .. py:method:: _on_button2to1(event) Transfer selected items from list 2 to list 1 .. py:class:: Wolf_MultipleSelection(parent, title, values_dict: dict, callback=None, info: str = '', cmdApply: bool = False, styles=wx.LB_EXTENDED, destroyOK=False, **kwargs) Bases: :py:obj:`wx.Dialog` .. autoapi-inheritance-diagram:: wolfhece.ui.wolf_multiselection_collapsiblepane.Wolf_MultipleSelection :parts: 1 :private-bases: Dialog with multiple 'collapsiblepanes' containing 2 lists to select multiple items .. py:method:: get_values() Get values of the lists .. py:method:: _ui_bind_actions() Bind actions to buttons .. py:method:: _on_buttonOK(event) .. py:method:: _on_buttonApply(event) callback .. py:data:: app