eric7.RemoteServerInterface.EricServerConnectionDialog

Module implementing a dialog to enter the parameters for a connection to an eric-ide server.

Global Attributes

None

Classes

EricServerConnectionDialog Class implementing a dialog to enter the parameters for a connection to an eric-ide server.

Functions

None


EricServerConnectionDialog

Class implementing a dialog to enter the parameters for a connection to an eric-ide server.

Derived from

QDialog, Ui_EricServerConnectionDialog

Class Attributes

None

Class Methods

None

Methods

EricServerConnectionDialog Constructor
__updateOK Private slot to update the enabled state of the OK button.
getServerProfile Public method to get the entered server profile data.
getServerProfileData Public method to get the entered server profile data for connection profile mode.
setServerProfileData Public method to set the server connection profile data to be edited.

Static Methods

None

EricServerConnectionDialog (Constructor)

EricServerConnectionDialog(profileNames=None, parent=None)

Constructor

profileNames (list of str (optional))
list of defined connection profile names (defaults to None)
parent (QWidget (optional))
reference to the parent widget (defaults to None)

EricServerConnectionDialog.__updateOK

__updateOK()

Private slot to update the enabled state of the OK button.

EricServerConnectionDialog.getServerProfile

getServerProfile()

Public method to get the entered server profile data.

Return:
data structure containing the host name or IP address, the port number, the timeout in seconds and the client ID string
Return Type:
EricServerProfile

EricServerConnectionDialog.getServerProfileData

getServerProfileData()

Public method to get the entered server profile data for connection profile mode.

Return:
tuple containing the profile name and a data structure containing the host name or IP address, the port number, the timeout in seconds and the client ID string
Return Type:
tuple of (str, EricServerProfile)

EricServerConnectionDialog.setServerProfileData

setServerProfileData(name, serverProfile)

Public method to set the server connection profile data to be edited.

name (str)
eric-ide server profile name
serverProfile (EricServerProfile)
data structure containing the eric-ide server profile parameters
Up