Add multi-selection to projector item widgets

This commit is contained in:
Ken Roberts 2014-10-08 18:56:45 -07:00
parent 853826a501
commit 0feca36ede

View File

@ -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)