ProjectDjangoTagsMenu/IeCommentDialog.py

changeset 26
b21b4fc418bc
parent 23
070a6c65c8a9
child 30
4ff7495f67b1
equal deleted inserted replaced
24:200ccb1e083c 26:b21b4fc418bc
7 Module implementing a dialog to enter data for an IE comment. 7 Module implementing a dialog to enter data for an IE comment.
8 """ 8 """
9 9
10 from __future__ import unicode_literals 10 from __future__ import unicode_literals
11 11
12 from PyQt4.QtGui import QDialog 12 from PyQt5.QtWidgets import QDialog
13 13
14 from .Ui_IeCommentDialog import Ui_IeCommentDialog 14 from .Ui_IeCommentDialog import Ui_IeCommentDialog
15 15
16 16
17 class IeCommentDialog(QDialog, Ui_IeCommentDialog): 17 class IeCommentDialog(QDialog, Ui_IeCommentDialog):
45 self.versionSpinBox.value()) 45 self.versionSpinBox.value())
46 46
47 @staticmethod 47 @staticmethod
48 def getTag(selectedText): 48 def getTag(selectedText):
49 """ 49 """
50 Static method to get the formatted tag. 50 Public static method to get the formatted tag.
51 51
52 @param selectedText selected text to embed (string) 52 @param selectedText selected text to embed (string)
53 @return formatted tag (string) and a flag indicating the acceptance 53 @return formatted tag (string) and a flag indicating the acceptance
54 state (boolean) 54 state (boolean)
55 """ 55 """

eric ide

mercurial