10 from PyQt4.QtCore import pyqtSlot |
10 from PyQt4.QtCore import pyqtSlot |
11 from PyQt4.QtGui import QDialog, QDialogButtonBox |
11 from PyQt4.QtGui import QDialog, QDialogButtonBox |
12 |
12 |
13 from .Ui_HgTagDialog import Ui_HgTagDialog |
13 from .Ui_HgTagDialog import Ui_HgTagDialog |
14 |
14 |
|
15 |
15 class HgTagDialog(QDialog, Ui_HgTagDialog): |
16 class HgTagDialog(QDialog, Ui_HgTagDialog): |
16 """ |
17 """ |
17 Class implementing a dialog to enter the data for a tagging operation. |
18 Class implementing a dialog to enter the data for a tagging operation. |
18 """ |
19 """ |
19 CreateRegularTag = 1 |
20 CreateRegularTag = 1 |
20 CreateLocalTag = 2 |
21 CreateLocalTag = 2 |
21 DeleteTag = 3 |
22 DeleteTag = 3 |
22 CreateBranch = 4 |
23 CreateBranch = 4 |
23 |
24 |
24 def __init__(self, taglist, parent = None): |
25 def __init__(self, taglist, parent=None): |
25 """ |
26 """ |
26 Constructor |
27 Constructor |
27 |
28 |
28 @param taglist list of previously entered tags (list of strings) |
29 @param taglist list of previously entered tags (list of strings) |
29 @param parent parent widget (QWidget) |
30 @param parent parent widget (QWidget) |