parameters: (self, port)
docstring: Sets the port to initially show in the dialog
docstring_summary: Sets the port to initially show in the dialog
docstring_tokens: Sets the port to initially show in the dialog
function: 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
function_tokens: def setPort ( self , port ) : try : port_number = int ( port ) self . portSpinBox . setValue ( port_number ) except Exception : pass