diff -r dba433b4f3d6 -r 85418cf03fdb ProjectDjangoTagsMenu/MultiLineInputDialog.py --- a/ProjectDjangoTagsMenu/MultiLineInputDialog.py Thu Dec 30 12:03:18 2021 +0100 +++ b/ProjectDjangoTagsMenu/MultiLineInputDialog.py Wed Sep 21 16:38:40 2022 +0200 @@ -16,10 +16,11 @@ """ Class implementing a dialog for the input of multi line text. """ + def __init__(self, label, default, parent=None): """ Constructor - + @param label label for the entry field @type str @param default default value for the entry field @@ -29,22 +30,22 @@ """ super().__init__(parent) self.setupUi(self) - + def getData(self): """ Public method to retrieve the multi line text. - + @return multi line text @rtype str """ return self.multiLineEdit.toPlainText() - + @staticmethod def getText(parent, title, label, default=""): """ Public static method to create the dialog and return the multi line text. - + @param parent reference to the parent widget @type QWidget @param title title of the dialog