10 from PyQt4.QtCore import * |
10 from PyQt4.QtCore import * |
11 from PyQt4.QtGui import * |
11 from PyQt4.QtGui import * |
12 |
12 |
13 from .Ui_SvnSwitchDialog import Ui_SvnSwitchDialog |
13 from .Ui_SvnSwitchDialog import Ui_SvnSwitchDialog |
14 |
14 |
|
15 |
15 class SvnSwitchDialog(QDialog, Ui_SvnSwitchDialog): |
16 class SvnSwitchDialog(QDialog, Ui_SvnSwitchDialog): |
16 """ |
17 """ |
17 Class implementing a dialog to enter the data for a switch operation. |
18 Class implementing a dialog to enter the data for a switch operation. |
18 """ |
19 """ |
19 def __init__(self, taglist, reposURL, standardLayout, parent = None): |
20 def __init__(self, taglist, reposURL, standardLayout, parent=None): |
20 """ |
21 """ |
21 Constructor |
22 Constructor |
22 |
23 |
23 @param taglist list of previously entered tags (list of strings) |
24 @param taglist list of previously entered tags (list of strings) |
24 @param reposURL repository path (string) or None |
25 @param reposURL repository path (string) or None |
25 @param standardLayout flag indicating the layout of the |
26 @param standardLayout flag indicating the layout of the |
26 repository (boolean) |
27 repository (boolean) |
27 @param parent parent widget (QWidget) |
28 @param parent parent widget (QWidget) |
28 """ |
29 """ |
29 QDialog.__init__(self, parent) |
30 QDialog.__init__(self, parent) |
30 self.setupUi(self) |
31 self.setupUi(self) |