forked from openlp/openlp
Add multi-selection to projector item widgets
This commit is contained in:
parent
853826a501
commit
0feca36ede
@ -128,6 +128,7 @@ class Ui_ProjectorManager(object):
|
|||||||
self.projector_widget.setObjectName('projector_widget')
|
self.projector_widget.setObjectName('projector_widget')
|
||||||
# Create projector manager list
|
# Create projector manager list
|
||||||
self.projector_list_widget = QtGui.QListWidget(widget)
|
self.projector_list_widget = QtGui.QListWidget(widget)
|
||||||
|
self.projector_list_widget.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
|
||||||
self.projector_list_widget.setAlternatingRowColors(True)
|
self.projector_list_widget.setAlternatingRowColors(True)
|
||||||
self.projector_list_widget.setIconSize(QtCore.QSize(90, 50))
|
self.projector_list_widget.setIconSize(QtCore.QSize(90, 50))
|
||||||
self.projector_list_widget.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
|
self.projector_list_widget.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
|
||||||
|
Loading…
Reference in New Issue
Block a user