QDoubleListDlg

Inheritance diagram of QDoubleListDlg
class QDoubleListDlg(parent=None, designMode=False, winTitle='', mainLabel='', label1='', label2='', list1=None, list2=None)[source]

Bases: PyQt5.QtWidgets.QDialog

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

getAll1()[source]

returns a copy the items in the first list

Return type

list <str>

Returns

getAll2()[source]

returns a copy the items in the second list

Return type

list <str>

Returns

loadUi(filename=None, path=None)
onTo1(*args)[source]

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

onTo2(*args)[source]

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

setList1(list1)[source]

sets the items to be present in the first list

Parameters

list2 (seq <str>) – a sequence of strings

setList2(list2)[source]

sets the items to be present in the second list

Parameters

list2 (seq <str>) – a sequence of strings