Plugins/VcsPlugins/vcsMercurial/HgOptionsDialog.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1131
7781e396c903
equal deleted inserted replaced
944:1b59c4ba121e 945:8cd4d08fa9f6
9 9
10 from PyQt4.QtGui import QDialog 10 from PyQt4.QtGui import QDialog
11 11
12 from .Ui_HgOptionsDialog import Ui_HgOptionsDialog 12 from .Ui_HgOptionsDialog import Ui_HgOptionsDialog
13 13
14
14 class HgOptionsDialog(QDialog, Ui_HgOptionsDialog): 15 class HgOptionsDialog(QDialog, Ui_HgOptionsDialog):
15 """ 16 """
16 Class implementing a dialog to enter options used to start a project in the 17 Class implementing a dialog to enter options used to start a project in the
17 repository. 18 repository.
18 """ 19 """
19 def __init__(self, vcs, project, parent = None): 20 def __init__(self, vcs, project, parent=None):
20 """ 21 """
21 Constructor 22 Constructor
22 23
23 @param vcs reference to the version control object 24 @param vcs reference to the version control object
24 @param project reference to the project object 25 @param project reference to the project object
32 Public slot to retrieve the data entered into the dialog. 33 Public slot to retrieve the data entered into the dialog.
33 34
34 @return a dictionary containing the data entered 35 @return a dictionary containing the data entered
35 """ 36 """
36 vcsdatadict = { 37 vcsdatadict = {
37 "message" : self.vcsLogEdit.text(), 38 "message": self.vcsLogEdit.text(),
38 } 39 }
39 return vcsdatadict 40 return vcsdatadict

eric ide

mercurial