src/eric7/Plugins/VcsPlugins/vcsGit/GitOptionsDialog.py

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10437:2f70ca07f0af 10438:4cd7e5a8b3cf
22 def __init__(self, vcs, project, parent=None): 22 def __init__(self, vcs, project, parent=None):
23 """ 23 """
24 Constructor 24 Constructor
25 25
26 @param vcs reference to the version control object 26 @param vcs reference to the version control object
27 @type Git
27 @param project reference to the project object 28 @param project reference to the project object
28 @param parent parent widget (QWidget) 29 @type Project
30 @param parent parent widget
31 @type QWidget
29 """ 32 """
30 super().__init__(parent) 33 super().__init__(parent)
31 self.setupUi(self) 34 self.setupUi(self)
32 35
33 msh = self.minimumSizeHint() 36 msh = self.minimumSizeHint()
36 def getData(self): 39 def getData(self):
37 """ 40 """
38 Public slot to retrieve the data entered into the dialog. 41 Public slot to retrieve the data entered into the dialog.
39 42
40 @return a dictionary containing the data entered 43 @return a dictionary containing the data entered
44 @rtype dict
41 """ 45 """
42 vcsdatadict = { 46 vcsdatadict = {
43 "message": self.vcsLogEdit.text(), 47 "message": self.vcsLogEdit.text(),
44 } 48 }
45 return vcsdatadict 49 return vcsdatadict

eric ide

mercurial