taurus taurus

Previous topic

QDataExportDialog

Next topic

QRawDataWidget

This Page

QDoubleListDlg

Inheritance diagram of QDoubleListDlg

class QDoubleListDlg(parent=None, designMode=False, winTitle='', mainLabel='', label1='', label2='', list1=None, list2=None)

Bases: PyQt4.QtGui.QDialog

Generic dialog providing two lists. Items can be moved from one to the other

getAll1()

returns a copy the items in the first list

Return type::class:~`list` <:class:~`str`>
Returns:
getAll2()

returns a copy the items in the second list

Return type::class:~`list` <:class:~`str`>
Returns:
onTo1(*args)

slot to be called when the “To1” button is pressed

onTo2(*args)

slot to be called when the “To2” button is pressed

setList1(list1)

sets the items to be present in the first list

Parameters:list2 (:class:~`seq` <:class:~`str`>) – a sequence of strings
setList2(list2)

sets the items to be present in the second list

Parameters:list2 (:class:~`seq` <:class:~`str`>) – a sequence of strings