tomwer.gui.control.datalistener.ConfigurationWidget#

class tomwer.gui.control.datalistener.ConfigurationWidget(parent=None, host_discovery=None, enable_host_pinging=True)#

Widget for data listener configuration

DEFAULT_PORT = 25000#
addBlissSession(session)#
Return type:

None

getCFGFilePath()#
getConfiguration()#
Return type:

dict

getHost()#
Return type:

str

getMechanicalFlips()#
Return type:

tuple[bool, bool]

Returns:

left-right flip, up-down flip

getOutputFolder()#
getPort()#
Return type:

int

setCFGFilePath(cfg_file)#
setConfiguration(config)#
setHost(name)#
setMechanicalFlips(left_right_flip, up_down_flip)#
Return type:

None

setOutputFolder(output_dir)#
setPort(port)#
Return type:

None

sigCFGFileChanged#

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

sigConfigurationChanged#

Signal emitted when the configuration change

sigMechanicalFlipsChanged#

Signal emitted when the mechanical flip has been changed

sigRestart#

Emit when use ask for a restart of the data listener. This can happen when the host / port are changed

validate()#