eric7.EricWidgets.EricAuthenticationDialog

Module implementing the authentication dialog for the help browser.

Global Attributes

None

Classes

EricAuthenticationDialog Class implementing the authentication dialog for the help browser.

Functions

None


EricAuthenticationDialog

Class implementing the authentication dialog for the help browser.

Derived from

QDialog, Ui_EricAuthenticationDialog

Class Attributes

None

Class Methods

None

Methods

EricAuthenticationDialog Constructor
getData Public method to retrieve the login data.
setData Public method to set the login data.
shallSave Public method to check, if the login data shall be saved.

Static Methods

None

EricAuthenticationDialog (Constructor)

EricAuthenticationDialog(info, username, showSave=False, saveIt=False, parent=None)

Constructor

info (str)
information to be shown
username (str)
username as supplied by subversion
showSave (bool)
flag to indicate to show the save checkbox
saveIt (bool)
flag indicating the value for the save checkbox
parent (QWidget)
reference to the parent widget

EricAuthenticationDialog.getData

getData()

Public method to retrieve the login data.

Return:
tuple containing the user name and password
Return Type:
tuple of (str, str)

EricAuthenticationDialog.setData

setData(username, password)

Public method to set the login data.

username (str)
username
password (str)
password

EricAuthenticationDialog.shallSave

shallSave()

Public method to check, if the login data shall be saved.

Return:
flag indicating that the login data shall be saved
Return Type:
bool
Up