eric7.Plugins.VcsPlugins.vcsMercurial.HgRepoConfigDataDialog

Module implementing a dialog to enter data needed for the initial creation of a repository configuration file (hgrc).

Global Attributes

None

Classes

HgRepoConfigDataDialog Class implementing a dialog to enter data needed for the initial creation of a repository configuration file (hgrc).

Functions

None


HgRepoConfigDataDialog

Class implementing a dialog to enter data needed for the initial creation of a repository configuration file (hgrc).

Derived from

QDialog, Ui_HgRepoConfigDataDialog

Class Attributes

None

Class Methods

None

Methods

HgRepoConfigDataDialog Constructor
getData Public method to get the data entered into the dialog.
getLargefilesData Public method to get the data for the largefiles extension.
on_defaultPushShowPasswordButton_clicked Private slot to switch the default password visibility of the default push password.
on_defaultShowPasswordButton_clicked Private slot to switch the default password visibility of the default password.

Static Methods

None

HgRepoConfigDataDialog (Constructor)

HgRepoConfigDataDialog(withLargefiles=False, largefilesData=None, parent=None)

Constructor

withLargefiles (bool)
flag indicating to configure the largefiles section
largefilesData (dictdict)
dictionary with data for the largefiles section
parent (QWidget)
reference to the parent widget

HgRepoConfigDataDialog.getData

getData()

Public method to get the data entered into the dialog.

Return:
tuple giving the default and default push URLs
Return Type:
tuple of (str, str)

HgRepoConfigDataDialog.getLargefilesData

getLargefilesData()

Public method to get the data for the largefiles extension.

Return:
tuple with the minimum file size and file patterns. None as value denote to use the default value.
Return Type:
tuple of (int, list of str)

HgRepoConfigDataDialog.on_defaultPushShowPasswordButton_clicked

on_defaultPushShowPasswordButton_clicked(checked)

Private slot to switch the default password visibility of the default push password.

checked (bool)
state of the push button

HgRepoConfigDataDialog.on_defaultShowPasswordButton_clicked

on_defaultShowPasswordButton_clicked(checked)

Private slot to switch the default password visibility of the default password.

checked (bool)
state of the push button
Up