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

delete_if_transfer = True[source]
max_selected_items = None[source]
list1[source]
list2[source]
button1to2[source]
button2to1[source]
buttonSort1[source]
buttonSort2[source]
buttonall1to2[source]
buttonall2to1[source]
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

destroyOK = False[source]
panes = [][source]
transfers = [][source]
buttonOK[source]
callback = None[source]
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

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

Bases: Wolf_MultipleSelection

Inheritance diagram of wolfhece.ui.wolf_multiselection_collapsiblepane.Wolf_CompareArrays_Selection

Dialog with multiple ‘collapsiblepanes’ containing 2 lists to select multiple items This class is a specific case of Wolf_MultipleSelection for comparing arrays

threshold_label[source]
threshold_value[source]
min_area_label[source]
min_area_value[source]
max_patches_label[source]
max_patches_value[source]
_on_threshold_enter(event)[source]

Callback when the threshold value is changed

_on_min_area_enter(event)[source]

Callback when the minimal area value is changed

_on_max_patches_enter(event)[source]

Callback when the maximum patches value is changed

get_threshold()[source]

Get the threshold value

get_min_area()[source]

Get the minimal area value

get_max_patches()[source]

Get the maximum patches value

wolfhece.ui.wolf_multiselection_collapsiblepane.app[source]