ProjectDjangoTagsMenu/MultiLineInputDialog.py

branch
eric7
changeset 72
529f1c17c93e
parent 70
ce1c2effa0e0
child 74
a25b858e18a7
equal deleted inserted replaced
71:fc1ab84c242f 72:529f1c17c93e
55 @param default default value for the entry field 55 @param default default value for the entry field
56 @type str 56 @type str
57 @return multi line text and a flag indicating the acceptance state 57 @return multi line text and a flag indicating the acceptance state
58 @rtype tuple of (str, bool) 58 @rtype tuple of (str, bool)
59 """ 59 """
60 dlg = MultiLineInputDialog(label, default, parent) 60 dlg = MultiLineInputDialog(label, default, parent=parent)
61 dlg.setWindowTitle(title) 61 dlg.setWindowTitle(title)
62 if dlg.exec() == QDialog.DialogCode.Accepted: 62 if dlg.exec() == QDialog.DialogCode.Accepted:
63 return dlg.getData(), True 63 return dlg.getData(), True
64 else: 64 else:
65 return "", False 65 return "", False

eric ide

mercurial