forked from openlp/openlp
Some enhancements to projectors
This commit is contained in:
parent
2fa88b17db
commit
2eb89c8361
@ -292,8 +292,7 @@ class ProjectorManager(QtWidgets.QWidget, RegistryBase, UiProjectorManager, LogM
|
|||||||
self.settings_section = 'projector'
|
self.settings_section = 'projector'
|
||||||
self.projectordb = projectordb
|
self.projectordb = projectordb
|
||||||
self.projector_list = []
|
self.projector_list = []
|
||||||
self.pjlink_udp = PJLinkUDP()
|
self.pjlink_udp = PJLinkUDP(self.projector_list)
|
||||||
self.pjlink_udp.projector_list = self.projector_list
|
|
||||||
self.source_select_form = None
|
self.source_select_form = None
|
||||||
|
|
||||||
def bootstrap_initialise(self):
|
def bootstrap_initialise(self):
|
||||||
|
@ -91,11 +91,11 @@ class PJLinkUDP(QtNetwork.QUdpSocket):
|
|||||||
'SRCH' # Class 2 (reply is ACKN)
|
'SRCH' # Class 2 (reply is ACKN)
|
||||||
]
|
]
|
||||||
|
|
||||||
def __init__(self, port=PJLINK_PORT):
|
def __init__(self, projector_list, port=PJLINK_PORT):
|
||||||
"""
|
"""
|
||||||
Initialize socket
|
Initialize socket
|
||||||
"""
|
"""
|
||||||
|
self.projector_list = projector_list
|
||||||
self.port = port
|
self.port = port
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user