QDoubleListDlg

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

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

Import from taurus.qt.qtgui.panel as:

from taurus.qt.qtgui.panel import QDoubleListDlg
getAll1()[source]

returns a copy the items in the first list

Returns

Return type

list<str>

getAll2()[source]

returns a copy the items in the second list

Returns

Return type

list<str>

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