15 |
15 |
16 import pysvn |
16 import pysvn |
17 |
17 |
18 from .Ui_SvnUrlSelectionDialog import Ui_SvnUrlSelectionDialog |
18 from .Ui_SvnUrlSelectionDialog import Ui_SvnUrlSelectionDialog |
19 |
19 |
|
20 |
20 class SvnUrlSelectionDialog(QDialog, Ui_SvnUrlSelectionDialog): |
21 class SvnUrlSelectionDialog(QDialog, Ui_SvnUrlSelectionDialog): |
21 """ |
22 """ |
22 Class implementing a dialog to enter the URLs for the svn diff command. |
23 Class implementing a dialog to enter the URLs for the svn diff command. |
23 """ |
24 """ |
24 def __init__(self, vcs, tagsList, branchesList, path, parent = None): |
25 def __init__(self, vcs, tagsList, branchesList, path, parent=None): |
25 """ |
26 """ |
26 Constructor |
27 Constructor |
27 |
28 |
28 @param vcs reference to the vcs object |
29 @param vcs reference to the vcs object |
29 @param tagsList list of tags (list of strings) |
30 @param tagsList list of tags (list of strings) |
85 self.labelCombo2.addItems([reposURL] + sorted(self.vcs.tagsList)) |
86 self.labelCombo2.addItems([reposURL] + sorted(self.vcs.tagsList)) |
86 self.labelCombo2.setEnabled(True) |
87 self.labelCombo2.setEnabled(True) |
87 |
88 |
88 def __changeLabelCombo(self, labelCombo, type_): |
89 def __changeLabelCombo(self, labelCombo, type_): |
89 """ |
90 """ |
90 Private method used to change the label combo depending on the |
91 Private method used to change the label combo depending on the |
91 selected type. |
92 selected type. |
92 |
93 |
93 @param labelCombo reference to the labelCombo object (QComboBox) |
94 @param labelCombo reference to the labelCombo object (QComboBox) |
94 @param type type string (string) |
95 @param type type string (string) |
95 """ |
96 """ |