(self, port)
Sets the port to initially show in the dialog
Sets the port to initially show in the dialog
Sets the port to initially show in the dialog
def setPort(self, port):
        """
        Sets the port to initially show in the dialog
        """
        try:
            port_number = int(port)
            self.portSpinBox.setValue(port_number)
        except Exception:
            pass
def setPort ( self , port ) : try : port_number = int ( port ) self . portSpinBox . setValue ( port_number ) except Exception : pass