__init__(self,
parent,
values,
propmenu,
value_edit)
(Constructor)
|
|
Create a ValueSelectionDialog instance
- Parameters:
parent (QWidget with setSelectedValues method) - The parent widget of this dialog. The accept method of this
dialog calls the setSelectedValues method of the parent with the
list of selected text in the QListWidget
values (list) - List of values to display in the QListWidget
propmenu (QComboBox or object with setCurrentIndex method) - The cancel method of this dialog sets propmenu.setCurrentIndex(0)
value_edit - value_edit is passed to parent.setSelectedValues in the accept
method of the dialog
|