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

branch
eric7
changeset 9221
bf71ee032bb4
parent 9209
b99e7fd55fd3
child 9653
e67609152c5e
equal deleted inserted replaced
9220:e9e7eca7efee 9221:bf71ee032bb4
16 class GitOptionsDialog(QDialog, Ui_GitOptionsDialog): 16 class GitOptionsDialog(QDialog, Ui_GitOptionsDialog):
17 """ 17 """
18 Class implementing a dialog to enter options used to start a project in the 18 Class implementing a dialog to enter options used to start a project in the
19 repository. 19 repository.
20 """ 20 """
21
21 def __init__(self, vcs, project, parent=None): 22 def __init__(self, vcs, project, parent=None):
22 """ 23 """
23 Constructor 24 Constructor
24 25
25 @param vcs reference to the version control object 26 @param vcs reference to the version control object
26 @param project reference to the project object 27 @param project reference to the project object
27 @param parent parent widget (QWidget) 28 @param parent parent widget (QWidget)
28 """ 29 """
29 super().__init__(parent) 30 super().__init__(parent)
30 self.setupUi(self) 31 self.setupUi(self)
31 32
32 msh = self.minimumSizeHint() 33 msh = self.minimumSizeHint()
33 self.resize(max(self.width(), msh.width()), msh.height()) 34 self.resize(max(self.width(), msh.width()), msh.height())
34 35
35 def getData(self): 36 def getData(self):
36 """ 37 """
37 Public slot to retrieve the data entered into the dialog. 38 Public slot to retrieve the data entered into the dialog.
38 39
39 @return a dictionary containing the data entered 40 @return a dictionary containing the data entered
40 """ 41 """
41 vcsdatadict = { 42 vcsdatadict = {
42 "message": self.vcsLogEdit.text(), 43 "message": self.vcsLogEdit.text(),
43 } 44 }

eric ide

mercurial