eric7.Plugins.WizardPlugins.DotDesktopWizard.DotDesktopListSelectionDialog
Module implementing a dialog to select multiple entries from a list.
Global Attributes
Classes
Functions
DotDesktopListSelectionDialog
Class implementing a dialog to select multiple entries from a list.
Derived from
QDialog, Ui_DotDesktopListSelectionDialog
Class Attributes
Class Methods
Methods
Static Methods
DotDesktopListSelectionDialog (Constructor)
DotDesktopListSelectionDialog(entries, selectedEntries, separator, subEntries=None, allowMultiMain=True, allowMultiSub=True, parent=None, )
Constructor
- entries (list of str)
-
list of entries to be shown
- selectedEntries (list of str or str)
-
list of entries to be selected or a string with
entries separated by separator
- separator (str)
-
separator string
- subEntries (list of str)
-
secondary list of entries
- allowMultiMain (bool)
-
flag indicating to allow multiple selections for
the main entry
- allowMultiSub (bool)
-
flag indicating to allow multiple selections for
the sub entry
- parent (QWidget)
-
reference to the parent widget
DotDesktopListSelectionDialog.getData
getData(separator=None, separatorAtEnd=False)
Public method to extract the selected entries as a list
or a string.
- separator (str)
-
separator string
- separatorAtEnd (bool)
-
flag indicating to append the separator
- Return:
-
list of selected entries if the separator is None or a string
with entries delimited by separator
- Return Type:
-
list od str or str