22 def __init__(self, vcs, parent=None): |
22 def __init__(self, vcs, parent=None): |
23 """ |
23 """ |
24 Constructor |
24 Constructor |
25 |
25 |
26 @param vcs reference to the vcs object |
26 @param vcs reference to the vcs object |
27 @param parent parent widget (QWidget) |
27 @type VersionControl |
|
28 @param parent parent widget |
|
29 @type QWidget |
28 """ |
30 """ |
29 super().__init__(parent) |
31 super().__init__(parent) |
30 self.setupUi(self) |
32 self.setupUi(self) |
31 |
33 |
32 opt = vcs.vcsGetOptions() |
34 opt = vcs.vcsGetOptions() |
70 """ |
72 """ |
71 Public method used to retrieve the entered options. |
73 Public method used to retrieve the entered options. |
72 |
74 |
73 @return dictionary of strings giving the options for each supported |
75 @return dictionary of strings giving the options for each supported |
74 vcs command |
76 vcs command |
|
77 @rtype dict |
75 """ |
78 """ |
76 return { |
79 return { |
77 "global": Utilities.parseOptionString(self.globalEdit.text()), |
80 "global": Utilities.parseOptionString(self.globalEdit.text()), |
78 "commit": Utilities.parseOptionString(self.commitEdit.text()), |
81 "commit": Utilities.parseOptionString(self.commitEdit.text()), |
79 "checkout": Utilities.parseOptionString(self.checkoutEdit.text()), |
82 "checkout": Utilities.parseOptionString(self.checkoutEdit.text()), |