Mon, 28 Oct 2024 16:51:09 +0100
- changed to the new style header
- ensured proper parent relationship of modal dialogs
- included compiled form files
--- a/.hgignore Sat Dec 23 16:54:25 2023 +0100 +++ b/.hgignore Mon Oct 28 16:51:09 2024 +0100 @@ -1,5 +1,4 @@ glob:.eric7project -glob:.eric6project glob:.ropeproject glob:.jedi glob:.directory @@ -13,4 +12,3 @@ glob:tmp glob:__pycache__ glob:**.DS_Store -glob:Ui_*.py
--- a/ChangeLog Sat Dec 23 16:54:25 2023 +0100 +++ b/ChangeLog Mon Oct 28 16:51:09 2024 +0100 @@ -1,5 +1,10 @@ ChangeLog --------- +Version 10.2.1 +- changed to the new style header +- ensured proper parent relationship of modal dialogs +- included compiled form files + Version 10.2.0 - adapted some import statements to eric 23.1 and newer
--- a/PKGLIST Sat Dec 23 16:54:25 2023 +0100 +++ b/PKGLIST Mon Oct 28 16:51:09 2024 +0100 @@ -14,6 +14,12 @@ ProjectDjangoTagsMenu/MultiLineInputDialog.ui ProjectDjangoTagsMenu/TimezoneSelectionDialog.py ProjectDjangoTagsMenu/TimezoneSelectionDialog.ui +ProjectDjangoTagsMenu/Ui_FindTemplateTagDialog.py +ProjectDjangoTagsMenu/Ui_IeCommentDialog.py +ProjectDjangoTagsMenu/Ui_IfTagInputDialog.py +ProjectDjangoTagsMenu/Ui_LoremTagInputDialog.py +ProjectDjangoTagsMenu/Ui_MultiLineInputDialog.py +ProjectDjangoTagsMenu/Ui_TimezoneSelectionDialog.py ProjectDjangoTagsMenu/__init__.py ProjectDjangoTagsMenu/i18n/djangotagsmenu_de.qm ProjectDjangoTagsMenu/i18n/djangotagsmenu_en.qm
--- a/PluginDjangoTagsMenu.epj Sat Dec 23 16:54:25 2023 +0100 +++ b/PluginDjangoTagsMenu.epj Mon Oct 28 16:51:09 2024 +0100 @@ -1,7 +1,7 @@ { "header": { "comment": "eric project file for project PluginDjangoTagsMenu", - "copyright": "Copyright (C) 2023 Detlev Offenbach, detlev@die-offenbachs.de" + "copyright": "Copyright (C) 2024 Detlev Offenbach, detlev@die-offenbachs.de" }, "project": { "AUTHOR": "Detlev Offenbach", @@ -27,6 +27,7 @@ "OverloadDecorators": [ "overload" ], + "RespectTypeIgnore": false, "SuppressDummyArgs": false, "SuppressNoneReturning": true }, @@ -68,7 +69,7 @@ "DocstringType": "eric_black", "EnabledCheckerCategories": "C, D, E, I, L, M, NO, N, Y, U, W", "ExcludeFiles": "*/Ui_*.py, */*_rc.py", - "ExcludeMessages": "C101,E265,E266,E305,E402,M201,M301,M302,M303,M304,M305,M306,M307,M308,M311,M312,M313,M314,M315,M321,M701,M702,M811,M834,M852,N802,N803,N807,N808,N821,W293,W503,Y119,Y401,Y402", + "ExcludeMessages": "C101,E265,E266,E305,E402,M251,M301,M302,M303,M304,M305,M306,M307,M308,M311,M312,M313,M314,M315,M321,M701,M702,M811,M834,M852,N802,N803,N807,N808,N821,W293,W503,Y119,Y401,Y402", "FixCodes": "", "FixIssues": false, "FutureChecker": "", @@ -188,7 +189,6 @@ "Makefile": "OTHERS", "README": "OTHERS", "README.*": "OTHERS", - "Ui_*.py": "__IGNORE__", "makefile": "OTHERS" }, "FORMS": [ @@ -231,13 +231,14 @@ "OTHERTOOLSPARMS": { "Black": { "exclude": "/(\\.direnv|\\.eggs|\\.git|\\.hg|\\.ipynb_checkpoints|\\.mypy_cache|\\.nox|\\.pytest_cache|\\.ruff_cache|\\.tox|\\.svn|\\.venv|\\.vscode|__pypackages__|_build|buck-out|build|dist|venv)/", - "extend-exclude": "", + "extend-exclude": "Ui_.*\\.py", "force-exclude": "", "line-length": 88, "skip-magic-trailing-comma": false, "skip-string-normalization": false, "source": "project", "target-version": [ + "py313", "py312", "py311", "py310", @@ -286,6 +287,12 @@ "ProjectDjangoTagsMenu/LoremTagInputDialog.py", "ProjectDjangoTagsMenu/MultiLineInputDialog.py", "ProjectDjangoTagsMenu/TimezoneSelectionDialog.py", + "ProjectDjangoTagsMenu/Ui_FindTemplateTagDialog.py", + "ProjectDjangoTagsMenu/Ui_IeCommentDialog.py", + "ProjectDjangoTagsMenu/Ui_IfTagInputDialog.py", + "ProjectDjangoTagsMenu/Ui_LoremTagInputDialog.py", + "ProjectDjangoTagsMenu/Ui_MultiLineInputDialog.py", + "ProjectDjangoTagsMenu/Ui_TimezoneSelectionDialog.py", "ProjectDjangoTagsMenu/__init__.py", "__init__.py" ], @@ -355,4 +362,4 @@ "VCSOTHERDATA": {}, "VERSION": "" } -} \ No newline at end of file +}
--- a/PluginProjectDjangoTagsMenu.py Sat Dec 23 16:54:25 2023 +0100 +++ b/PluginProjectDjangoTagsMenu.py Mon Oct 28 16:51:09 2024 +0100 @@ -17,20 +17,23 @@ from ProjectDjangoTagsMenu.DjangoTagsMenuHandler import DjangoTagsMenuHandler # Start-of-Header -name = "Django Tags Menu Plugin" -author = "Detlev Offenbach <detlev@die-offenbachs.de>" -autoactivate = True -deactivateable = True -version = "10.2.0" -className = "ProjectDjangoTagsMenuPlugin" -packageName = "ProjectDjangoTagsMenu" -shortDescription = "Tags menu for Django projects." -longDescription = ( - """This plug-in adds a menu to select various tag templates to the""" - """ Django menu.""" -) -needsRestart = False -pyqtApi = 2 +__header__ = { + "name": "Django Tags Menu Plugin", + "author": "Detlev Offenbach <detlev@die-offenbachs.de>", + "autoactivate": True, + "deactivateable": True, + "version": "10.2.1", + "className": "ProjectDjangoTagsMenuPlugin", + "packageName": "ProjectDjangoTagsMenu", + "shortDescription": "Tags menu for Django projects.", + "longDescription": ( + "This plug-in adds a menu to select various tag templates to the" + " Django menu." + ), + "needsRestart": False, + "hasCompiledForms": True, + "pyqtApi": 2, +} # End-of-Header error = ""
--- a/ProjectDjangoTagsMenu/DjangoTagInputDialog.py Sat Dec 23 16:54:25 2023 +0100 +++ b/ProjectDjangoTagsMenu/DjangoTagInputDialog.py Mon Oct 28 16:51:09 2024 +0100 @@ -90,7 +90,7 @@ if defaults is None: defaults = [] - dlg = DjangoTagInputDialog(labels, defaults, parent) + dlg = DjangoTagInputDialog(labels, defaults=defaults, parent=parent) dlg.setWindowTitle(title) if dlg.exec() == QDialog.DialogCode.Accepted: return dlg.getData(), True
--- a/ProjectDjangoTagsMenu/DjangoTagsMenuHandler.py Sat Dec 23 16:54:25 2023 +0100 +++ b/ProjectDjangoTagsMenu/DjangoTagsMenuHandler.py Mon Oct 28 16:51:09 2024 +0100 @@ -860,7 +860,7 @@ replace = True elif tag == "block": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Named Block"), [self.tr("Enter block name:")], ["block_name"], @@ -874,7 +874,7 @@ templateText = "{% csrf_token %}" elif tag == "cycle": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Cycle Variables"), [self.tr("Enter items to cycle, space separated")], ["item1 item2 item3"], @@ -885,7 +885,7 @@ templateText = "{% debug %}" elif tag == "extendsvariable": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Extends"), [self.tr("Enter variable name:")], ["variable"], @@ -894,7 +894,7 @@ templateText = "{{% extends {0} %}}".format(data[0]) elif tag == "extendsfile": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Extends"), [self.tr("Enter parent file name:")], ["base.html"], @@ -903,7 +903,7 @@ templateText = '{{% extends "{0}" %}}'.format(data[0]) elif tag == "filter": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Tag Filters"), [self.tr("Multiple filters with arguments, pipes separated:")], ["lower|safe"], @@ -915,7 +915,7 @@ replace = True elif tag == "firstof": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("First Of"), [ self.tr("Enter multiple variables, space separated:"), @@ -931,7 +931,7 @@ replace = True elif tag == "for": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("For Loop"), [ self.tr("Enter variable to use for iteration:"), @@ -946,7 +946,7 @@ replace = True elif tag == "for...empty": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("For Loop"), [ self.tr("Enter variable to use for iteration:"), @@ -962,12 +962,12 @@ ) replace = True elif tag == "if": - dlg = IfTagInputDialog() + dlg = IfTagInputDialog(parent=self.__ui) if dlg.exec() == QDialog.DialogCode.Accepted: templateText = dlg.getTag() elif tag == "ifchanged": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Check Variables for Changes"), [self.tr("Enter variables to check (space separated):")], ["variable1 variable2"], @@ -979,7 +979,7 @@ replace = True elif tag == "ifequal": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Check If Equal"), [ self.tr("Enter first variable or string to check:"), @@ -994,7 +994,7 @@ replace = True elif tag == "ifnotequal": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Check If Not Equal"), [ self.tr("Enter first variable or string to check:"), @@ -1011,7 +1011,7 @@ replace = True elif tag == "includevariable": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Include"), [self.tr("Enter variable name:")], ["variable"], @@ -1020,13 +1020,16 @@ templateText = "{{% include {0} %}}".format(data[0]) elif tag == "includefile": data, ok = DjangoTagInputDialog.getText( - None, self.tr("Include"), [self.tr("Enter file name:")], ["other.html"] + self.__ui, + self.tr("Include"), + [self.tr("Enter file name:")], + ["other.html"], ) if ok: templateText = '{{% include "{0}" %}}'.format(data[0]) elif tag == "load": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Load"), [self.tr("Enter template tag set to load:")], ["foo bar"], @@ -1051,7 +1054,7 @@ templateText = '{{% now "{0}" %}}'.format(dateformat) elif tag == "regroup": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Regroup List"), [ self.tr("List Variable:"), @@ -1071,7 +1074,7 @@ replace = True elif tag == "ssi": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("SSI"), [self.tr("Full path to template:")], ["/tmp/ssi_template.html"], @@ -1101,7 +1104,7 @@ replace = True elif tag == "url": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("URL"), [ self.tr("View method name:"), @@ -1115,7 +1118,7 @@ templateText = '{{% url "{0}"{1} %}}'.format(data[0], data[1]) elif tag == "urlas": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("URL...as"), [ self.tr("View method name:"), @@ -1137,7 +1140,7 @@ replace = True elif tag == "widthratio": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Width Ratio"), [ self.tr("Variable:"), @@ -1152,7 +1155,7 @@ ) elif tag == "with": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Cache Variables"), [self.tr("Variables to cache as key=value (space separated):")], ["variable1=foo.bar variable2=bar.baz"], @@ -1168,7 +1171,7 @@ elif tag == "add": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Add Variable or String"), [self.tr("Variables or String to add:")], ["variable"], @@ -1193,7 +1196,10 @@ templateText = '|center:"{0}"'.format(width) elif tag == "cut": data, ok = DjangoTagInputDialog.getText( - None, self.tr("Cut Characters"), [self.tr("Characters to cut:")], [" "] + self.__ui, + self.tr("Cut Characters"), + [self.tr("Characters to cut:")], + [" "], ) if ok: templateText = '|cut:"{0}"'.format(data[0]) @@ -1218,7 +1224,7 @@ templateText = "|date" elif tag == "default": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Default Value if False"), [self.tr("Enter default value if result is False:")], ["nothing"], @@ -1227,7 +1233,7 @@ templateText = '|default:"{0}"'.format(data[0]) elif tag == "default_if_none": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Default Value if None"), [self.tr("Enter default value if result is None:")], ["nothing"], @@ -1236,7 +1242,7 @@ templateText = '|default:"{0}"'.format(data[0]) elif tag == "dictsort": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Sort Dictionaries"), [self.tr("Enter key to sort on:")], ["key"], @@ -1245,7 +1251,7 @@ templateText = '|dictsort:"{0}"'.format(data[0]) elif tag == "dictsortreversed": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Sort Dictionaries reversed"), [self.tr("Enter key to sort on:")], ["key"], @@ -1304,7 +1310,7 @@ templateText = "|iriencode" elif tag == "join": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Join List"), [self.tr("Enter string to join by:")], ["//"], @@ -1353,7 +1359,7 @@ templateText = "|phone2numeric" elif tag == "pluralize": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Plural Suffix"), [self.tr("Enter plural suffix (nothing for default):")], [""], @@ -1369,7 +1375,7 @@ templateText = "|random" elif tag == "removetags": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Remove HTML Tags"), [self.tr("Enter HTML tags to remove (space separated):")], ["b span"], @@ -1394,7 +1400,7 @@ templateText = "|safeseq" elif tag == "slice": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Extract slice of a list"), [self.tr("Enter Python like slice expression:")], ["1:5"], @@ -1405,7 +1411,7 @@ templateText = "|slugify" elif tag == "stringformat": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Perform String Formatting"), [self.tr("Enter Python like string format:")], [""], @@ -1430,7 +1436,7 @@ templateText = "|time" elif tag == "timesince": data[0], ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Time Since"), [self.tr("Enter variable containing time reference:")], ["comment_date"], @@ -1442,7 +1448,7 @@ templateText = "|timesince" elif tag == "timeuntil": data[0], ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Time Until"), [self.tr("Enter variable containing time reference:")], ["from_date"], @@ -1526,7 +1532,7 @@ templateText = "|wordwrap:{0}".format(characters) elif tag == "yesno": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Map True, False and None"), [self.tr("Enter mapping (comma separated):")], ["yeah,no,maybe"], @@ -1563,7 +1569,7 @@ elif tag == "loadweb": templateText = "{% load webdesign %}" elif tag == "lorem": - dlg = LoremTagInputDialog() + dlg = LoremTagInputDialog(parent=self.__ui) if dlg.exec() == QDialog.DialogCode.Accepted: templateText = "{{% {0} %}}".format(dlg.getTag()) @@ -1575,7 +1581,7 @@ templateText = "{% load static %}" elif tag == "staticfile": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Link to static file"), [self.tr("Enter relative path of static file:")], ["images/hi.jpg"], @@ -1584,7 +1590,7 @@ templateText = '{{% static "{0}" %}}'.format(data[0]) elif tag == "staticvariable": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Link to static file"), [self.tr("Enter variable containing relative path of static file:")], ["user_stylesheet"], @@ -1608,13 +1614,16 @@ replace = True elif tag == "singlelinecommentdialog": data, ok = DjangoTagInputDialog.getText( - None, self.tr("Single Line Comment"), [self.tr("Enter comment:")], [""] + self.__ui, + self.tr("Single Line Comment"), + [self.tr("Enter comment:")], + [""], ) if ok: templateText = "{{# {0} #}}".format(data[0]) elif tag == "multilinecommentdialog": comment, ok = MultiLineInputDialog.getText( - None, self.tr("Multi Line Comment"), self.tr("Enter comment:"), "" + self.__ui, self.tr("Multi Line Comment"), self.tr("Enter comment:"), "" ) if ok: templateText = "{{% comment %}} {0} {{% endcomment %}}".format(comment) @@ -1655,7 +1664,7 @@ templateText = "<!-- {0} -->".format(selectedText) replace = True elif tag == "iecomment": - tag, ok = IeCommentDialog.getTag(selectedText) + tag, ok = IeCommentDialog.getTag(selectedText, parent=self.__ui) if ok: templateText = "<!--{0}-->".format(tag) replace = True @@ -1674,7 +1683,7 @@ replace = True elif tag == "trans..as": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Translate String into Variable"), [self.tr("Enter variable receiving translation:")], ["translation"], @@ -1691,7 +1700,7 @@ replace = True elif tag == "blocktrans..with": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Translate Block with Attributes"), [self.tr("Enter attribute binding expressions (space separated):")], ["myvar1=value1 myvar2=value2"], @@ -1708,7 +1717,10 @@ replace = True elif tag == "language": data, ok = DjangoTagInputDialog.getText( - None, self.tr("Switch language"), [self.tr("Enter language:")], ["en"] + self.__ui, + self.tr("Switch language"), + [self.tr("Enter language:")], + ["en"], ) if ok: templateText = "{{% language '{0}' %}}{1}{{% endlanguage %}}".format( @@ -1723,7 +1735,7 @@ templateText = "{% get_current_language_bidi as LANGUAGE_BIDI %}" elif tag == "get_language_info": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Language Information"), [ self.tr( @@ -1742,7 +1754,7 @@ templateText = "{% get_language_info for LANGUAGE_CODE as lang %}" elif tag == "get_language_info_list": data, ok = DjangoTagInputDialog.getText( - None, + self.__ui, self.tr("Language Information for a list of languages"), [self.tr("Enter language list variable (empty for LANGUAGES):")], ["available_languages"], @@ -1805,7 +1817,7 @@ ) replace = True elif tag == "timezone_set": - timezone, ok = TimezoneSelectionDialog.getTimezone() + timezone, ok = TimezoneSelectionDialog.getTimezone(parent=self.__ui) if ok: templateText = '{{% timezone "{0}" %}}{1}{{% endtimezone %}}'.format( timezone, selectedText @@ -1824,7 +1836,7 @@ elif tag == "utc": templateText = "|utc" elif tag == "timezone": - timezone, ok = TimezoneSelectionDialog.getTimezone() + timezone, ok = TimezoneSelectionDialog.getTimezone(parent=self.__ui) if ok: templateText = '|timezone:"{0}"'.format(timezone)
--- a/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.PluginProjectDjangoTagsMenu.html Sat Dec 23 16:54:25 2023 +0100 +++ b/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.PluginProjectDjangoTagsMenu.html Mon Oct 28 16:51:09 2024 +0100 @@ -7,53 +7,51 @@ <body> <a NAME="top" ID="top"></a> <h1>Plugin_Project_Django_Tags_Menu.PluginProjectDjangoTagsMenu</h1> - <p> Module implementing the Django tags menu plugin. </p> + <h3>Global Attributes</h3> - <table> -<tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>needsRestart</td></tr><tr><td>packageName</td></tr><tr><td>pyqtApi</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr> +<tr><td>__header__</td></tr> +<tr><td>error</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#ProjectDjangoTagsMenuPlugin">ProjectDjangoTagsMenuPlugin</a></td> <td>Class implementing the Django tags menu plugin.</td> </tr> </table> + <h3>Functions</h3> - <table> <tr><td>None</td></tr> </table> + <hr /> <hr /> <a NAME="ProjectDjangoTagsMenuPlugin" ID="ProjectDjangoTagsMenuPlugin"></a> <h2>ProjectDjangoTagsMenuPlugin</h2> - <p> Class implementing the Django tags menu plugin. </p> + <h3>Derived from</h3> QObject <h3>Class Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#ProjectDjangoTagsMenuPlugin.__init__">ProjectDjangoTagsMenuPlugin</a></td> <td>Constructor</td> @@ -95,19 +93,20 @@ <td>Public method to deactivate this plugin.</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="ProjectDjangoTagsMenuPlugin.__init__" ID="ProjectDjangoTagsMenuPlugin.__init__"></a> <h4>ProjectDjangoTagsMenuPlugin (Constructor)</h4> <b>ProjectDjangoTagsMenuPlugin</b>(<i>ui</i>) - <p> Constructor </p> + <dl> <dt><i>ui</i> (UserInterface)</dt> @@ -118,38 +117,38 @@ <a NAME="ProjectDjangoTagsMenuPlugin.__attachMenu" ID="ProjectDjangoTagsMenuPlugin.__attachMenu"></a> <h4>ProjectDjangoTagsMenuPlugin.__attachMenu</h4> <b>__attachMenu</b>(<i></i>) - <p> Private method to attach the menu to the Django menu. </p> + <a NAME="ProjectDjangoTagsMenuPlugin.__detachMenu" ID="ProjectDjangoTagsMenuPlugin.__detachMenu"></a> <h4>ProjectDjangoTagsMenuPlugin.__detachMenu</h4> <b>__detachMenu</b>(<i></i>) - <p> Private method to detach the menu from the Django menu. </p> + <a NAME="ProjectDjangoTagsMenuPlugin.__initMenu" ID="ProjectDjangoTagsMenuPlugin.__initMenu"></a> <h4>ProjectDjangoTagsMenuPlugin.__initMenu</h4> <b>__initMenu</b>(<i></i>) - <p> Private slot to initialize the tags menu. </p> + <a NAME="ProjectDjangoTagsMenuPlugin.__loadTranslator" ID="ProjectDjangoTagsMenuPlugin.__loadTranslator"></a> <h4>ProjectDjangoTagsMenuPlugin.__loadTranslator</h4> <b>__loadTranslator</b>(<i></i>) - <p> Private method to load the translation file. </p> + <a NAME="ProjectDjangoTagsMenuPlugin.__pluginAboutToBeDeactivated" ID="ProjectDjangoTagsMenuPlugin.__pluginAboutToBeDeactivated"></a> <h4>ProjectDjangoTagsMenuPlugin.__pluginAboutToBeDeactivated</h4> <b>__pluginAboutToBeDeactivated</b>(<i>moduleName, pluginObject</i>) - <p> Private slot to react on the Django plugin about to be deactivated. </p> + <dl> <dt><i>moduleName</i> (str)</dt> @@ -165,10 +164,10 @@ <a NAME="ProjectDjangoTagsMenuPlugin.__pluginActivated" ID="ProjectDjangoTagsMenuPlugin.__pluginActivated"></a> <h4>ProjectDjangoTagsMenuPlugin.__pluginActivated</h4> <b>__pluginActivated</b>(<i>moduleName, pluginObject</i>) - <p> Private slot to react on plugin activation of the Django plugin. </p> + <dl> <dt><i>moduleName</i> (str)</dt> @@ -183,17 +182,17 @@ <a NAME="ProjectDjangoTagsMenuPlugin.__projectClosed" ID="ProjectDjangoTagsMenuPlugin.__projectClosed"></a> <h4>ProjectDjangoTagsMenuPlugin.__projectClosed</h4> <b>__projectClosed</b>(<i></i>) - <p> Private slot to handle the projectClosed signal. </p> + <a NAME="ProjectDjangoTagsMenuPlugin.activate" ID="ProjectDjangoTagsMenuPlugin.activate"></a> <h4>ProjectDjangoTagsMenuPlugin.activate</h4> <b>activate</b>(<i></i>) - <p> Public method to activate this plugin. </p> + <dl> <dt>Return:</dt> <dd> @@ -209,10 +208,10 @@ <a NAME="ProjectDjangoTagsMenuPlugin.deactivate" ID="ProjectDjangoTagsMenuPlugin.deactivate"></a> <h4>ProjectDjangoTagsMenuPlugin.deactivate</h4> <b>deactivate</b>(<i></i>) - <p> Public method to deactivate this plugin. </p> + <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>
--- a/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.DjangoTagInputDialog.html Sat Dec 23 16:54:25 2023 +0100 +++ b/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.DjangoTagInputDialog.html Mon Oct 28 16:51:09 2024 +0100 @@ -7,53 +7,50 @@ <body> <a NAME="top" ID="top"></a> <h1>Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.DjangoTagInputDialog</h1> - <p> Module implementing a dialog to enter data for the creation of a tag. </p> + <h3>Global Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#DjangoTagInputDialog">DjangoTagInputDialog</a></td> <td>Class implementing a dialog to enter data for the creation of a tag.</td> </tr> </table> + <h3>Functions</h3> - <table> <tr><td>None</td></tr> </table> + <hr /> <hr /> <a NAME="DjangoTagInputDialog" ID="DjangoTagInputDialog"></a> <h2>DjangoTagInputDialog</h2> - <p> Class implementing a dialog to enter data for the creation of a tag. </p> + <h3>Derived from</h3> QDialog <h3>Class Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#DjangoTagInputDialog.__init__">DjangoTagInputDialog</a></td> <td>Constructor</td> @@ -63,23 +60,23 @@ <td>Public method to retrieve the entered data.</td> </tr> </table> + <h3>Static Methods</h3> - <table> - <tr> <td><a href="#DjangoTagInputDialog.getText">getText</a></td> <td>Public static method to create the dialog and return the entered data.</td> </tr> </table> + <a NAME="DjangoTagInputDialog.__init__" ID="DjangoTagInputDialog.__init__"></a> <h4>DjangoTagInputDialog (Constructor)</h4> <b>DjangoTagInputDialog</b>(<i>labels, defaults=None, parent=None</i>) - <p> Constructor </p> + <dl> <dt><i>labels</i> (list of str)</dt> @@ -105,10 +102,10 @@ <a NAME="DjangoTagInputDialog.getData" ID="DjangoTagInputDialog.getData"></a> <h4>DjangoTagInputDialog.getData</h4> <b>getData</b>(<i></i>) - <p> Public method to retrieve the entered data. </p> + <dl> <dt>Return:</dt> <dd> @@ -124,10 +121,10 @@ <a NAME="DjangoTagInputDialog.getText" ID="DjangoTagInputDialog.getText"></a> <h4>DjangoTagInputDialog.getText (static)</h4> <b>getText</b>(<i>title, labels, defaults=None</i>) - <p> Public static method to create the dialog and return the entered data. </p> + <dl> <dt><i>parent</i> (QWidget)</dt> @@ -162,4 +159,4 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>
--- a/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.DjangoTagsMenuHandler.html Sat Dec 23 16:54:25 2023 +0100 +++ b/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.DjangoTagsMenuHandler.html Mon Oct 28 16:51:09 2024 +0100 @@ -7,53 +7,50 @@ <body> <a NAME="top" ID="top"></a> <h1>Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.DjangoTagsMenuHandler</h1> - <p> Module implementing the Django tags menu handler. </p> + <h3>Global Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#DjangoTagsMenuHandler">DjangoTagsMenuHandler</a></td> <td>Class implementing the Django tags menu handler.</td> </tr> </table> + <h3>Functions</h3> - <table> <tr><td>None</td></tr> </table> + <hr /> <hr /> <a NAME="DjangoTagsMenuHandler" ID="DjangoTagsMenuHandler"></a> <h2>DjangoTagsMenuHandler</h2> - <p> Class implementing the Django tags menu handler. </p> + <h3>Derived from</h3> QObject <h3>Class Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#DjangoTagsMenuHandler.__init__">DjangoTagsMenuHandler</a></td> <td>Constructor</td> @@ -115,19 +112,20 @@ <td>Public method to initialize the various menus.</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="DjangoTagsMenuHandler.__init__" ID="DjangoTagsMenuHandler.__init__"></a> <h4>DjangoTagsMenuHandler (Constructor)</h4> <b>DjangoTagsMenuHandler</b>(<i>ui, parent=None</i>) - <p> Constructor </p> + <dl> <dt><i>ui</i> (UserInterface)</dt> @@ -142,10 +140,10 @@ <a NAME="DjangoTagsMenuHandler.__applyTemplate" ID="DjangoTagsMenuHandler.__applyTemplate"></a> <h4>DjangoTagsMenuHandler.__applyTemplate</h4> <b>__applyTemplate</b>(<i>tag</i>) - <p> Private slot to generate and insert the template text. </p> + <dl> <dt><i>tag</i> (str)</dt> @@ -156,17 +154,17 @@ <a NAME="DjangoTagsMenuHandler.__findTemplateTag" ID="DjangoTagsMenuHandler.__findTemplateTag"></a> <h4>DjangoTagsMenuHandler.__findTemplateTag</h4> <b>__findTemplateTag</b>(<i></i>) - <p> Private slot to find a template tag and insert its text. </p> + <a NAME="DjangoTagsMenuHandler.__generateTemplateText" ID="DjangoTagsMenuHandler.__generateTemplateText"></a> <h4>DjangoTagsMenuHandler.__generateTemplateText</h4> <b>__generateTemplateText</b>(<i>tag, selectedText</i>) - <p> Private slot to generate the template text. </p> + <dl> <dt><i>tag</i> (str)</dt> @@ -194,10 +192,10 @@ <a NAME="DjangoTagsMenuHandler.__initCommentsMenu" ID="DjangoTagsMenuHandler.__initCommentsMenu"></a> <h4>DjangoTagsMenuHandler.__initCommentsMenu</h4> <b>__initCommentsMenu</b>(<i></i>) - <p> Private method to initialize the comments menu. </p> + <dl> <dt>Return:</dt> <dd> @@ -213,10 +211,10 @@ <a NAME="DjangoTagsMenuHandler.__initFiltersMenu" ID="DjangoTagsMenuHandler.__initFiltersMenu"></a> <h4>DjangoTagsMenuHandler.__initFiltersMenu</h4> <b>__initFiltersMenu</b>(<i></i>) - <p> Private method to initialize the filters menu. </p> + <dl> <dt>Return:</dt> <dd> @@ -232,10 +230,10 @@ <a NAME="DjangoTagsMenuHandler.__initHumanizeMenu" ID="DjangoTagsMenuHandler.__initHumanizeMenu"></a> <h4>DjangoTagsMenuHandler.__initHumanizeMenu</h4> <b>__initHumanizeMenu</b>(<i></i>) - <p> Private method to initialize the humanize menu. </p> + <dl> <dt>Return:</dt> <dd> @@ -251,10 +249,10 @@ <a NAME="DjangoTagsMenuHandler.__initInternationalizationMenu" ID="DjangoTagsMenuHandler.__initInternationalizationMenu"></a> <h4>DjangoTagsMenuHandler.__initInternationalizationMenu</h4> <b>__initInternationalizationMenu</b>(<i></i>) - <p> Private method to initialize the static menu. </p> + <dl> <dt>Return:</dt> <dd> @@ -270,10 +268,10 @@ <a NAME="DjangoTagsMenuHandler.__initLocalizationMenu" ID="DjangoTagsMenuHandler.__initLocalizationMenu"></a> <h4>DjangoTagsMenuHandler.__initLocalizationMenu</h4> <b>__initLocalizationMenu</b>(<i></i>) - <p> Private method to initialize the static menu. </p> + <dl> <dt>Return:</dt> <dd> @@ -289,10 +287,10 @@ <a NAME="DjangoTagsMenuHandler.__initStaticMenu" ID="DjangoTagsMenuHandler.__initStaticMenu"></a> <h4>DjangoTagsMenuHandler.__initStaticMenu</h4> <b>__initStaticMenu</b>(<i></i>) - <p> Private method to initialize the static menu. </p> + <dl> <dt>Return:</dt> <dd> @@ -308,10 +306,10 @@ <a NAME="DjangoTagsMenuHandler.__initTagsMenu" ID="DjangoTagsMenuHandler.__initTagsMenu"></a> <h4>DjangoTagsMenuHandler.__initTagsMenu</h4> <b>__initTagsMenu</b>(<i></i>) - <p> Private method to initialize the tags menu. </p> + <dl> <dt>Return:</dt> <dd> @@ -327,10 +325,10 @@ <a NAME="DjangoTagsMenuHandler.__initTimezoneMenu" ID="DjangoTagsMenuHandler.__initTimezoneMenu"></a> <h4>DjangoTagsMenuHandler.__initTimezoneMenu</h4> <b>__initTimezoneMenu</b>(<i></i>) - <p> Private method to initialize the static menu. </p> + <dl> <dt>Return:</dt> <dd> @@ -346,10 +344,10 @@ <a NAME="DjangoTagsMenuHandler.__initWebDesignMenu" ID="DjangoTagsMenuHandler.__initWebDesignMenu"></a> <h4>DjangoTagsMenuHandler.__initWebDesignMenu</h4> <b>__initWebDesignMenu</b>(<i></i>) - <p> Private method to initialize the web design menu. </p> + <dl> <dt>Return:</dt> <dd> @@ -365,17 +363,17 @@ <a NAME="DjangoTagsMenuHandler.closeAllWindows" ID="DjangoTagsMenuHandler.closeAllWindows"></a> <h4>DjangoTagsMenuHandler.closeAllWindows</h4> <b>closeAllWindows</b>(<i></i>) - <p> Public method to close all dialogs managed by the handler. </p> + <a NAME="DjangoTagsMenuHandler.initMenus" ID="DjangoTagsMenuHandler.initMenus"></a> <h4>DjangoTagsMenuHandler.initMenus</h4> <b>initMenus</b>(<i>mainMenu</i>) - <p> Public method to initialize the various menus. </p> + <dl> <dt><i>mainMenu</i> (QMenu)</dt> @@ -385,4 +383,4 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>
--- a/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.FindTemplateTagDialog.html Sat Dec 23 16:54:25 2023 +0100 +++ b/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.FindTemplateTagDialog.html Mon Oct 28 16:51:09 2024 +0100 @@ -7,37 +7,36 @@ <body> <a NAME="top" ID="top"></a> <h1>Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.FindTemplateTagDialog</h1> - <p> Module implementing a dialog to search foe template tags. </p> + <h3>Global Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#FindTemplateTagDialog">FindTemplateTagDialog</a></td> <td>Class implementing a dialog to search foe template tags.</td> </tr> </table> + <h3>Functions</h3> - <table> <tr><td>None</td></tr> </table> + <hr /> <hr /> <a NAME="FindTemplateTagDialog" ID="FindTemplateTagDialog"></a> <h2>FindTemplateTagDialog</h2> - <p> Class implementing a dialog to search foe template tags. </p> + <h3>Signals</h3> <dl> @@ -50,19 +49,17 @@ <h3>Derived from</h3> QDialog, Ui_FindTemplateTagDialog <h3>Class Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#FindTemplateTagDialog.__init__">FindTemplateTagDialog</a></td> <td>Constructor</td> @@ -76,19 +73,20 @@ <td>Private slot handling the user pressing the return key.</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="FindTemplateTagDialog.__init__" ID="FindTemplateTagDialog.__init__"></a> <h4>FindTemplateTagDialog (Constructor)</h4> <b>FindTemplateTagDialog</b>(<i>parent=None</i>) - <p> Constructor </p> + <dl> <dt><i>parent</i> (QWidget)</dt> @@ -99,17 +97,17 @@ <a NAME="FindTemplateTagDialog.on_createButton_clicked" ID="FindTemplateTagDialog.on_createButton_clicked"></a> <h4>FindTemplateTagDialog.on_createButton_clicked</h4> <b>on_createButton_clicked</b>(<i></i>) - <p> Private slot handling the user pressing the create button. </p> + <a NAME="FindTemplateTagDialog.on_tagEdit_returnPressed" ID="FindTemplateTagDialog.on_tagEdit_returnPressed"></a> <h4>FindTemplateTagDialog.on_tagEdit_returnPressed</h4> <b>on_tagEdit_returnPressed</b>(<i></i>) - <p> Private slot handling the user pressing the return key. </p> + <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>
--- a/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.IeCommentDialog.html Sat Dec 23 16:54:25 2023 +0100 +++ b/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.IeCommentDialog.html Mon Oct 28 16:51:09 2024 +0100 @@ -7,53 +7,50 @@ <body> <a NAME="top" ID="top"></a> <h1>Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.IeCommentDialog</h1> - <p> Module implementing a dialog to enter data for an IE comment. </p> + <h3>Global Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#IeCommentDialog">IeCommentDialog</a></td> <td>Class implementing a dialog to enter data for an IE comment.</td> </tr> </table> + <h3>Functions</h3> - <table> <tr><td>None</td></tr> </table> + <hr /> <hr /> <a NAME="IeCommentDialog" ID="IeCommentDialog"></a> <h2>IeCommentDialog</h2> - <p> Class implementing a dialog to enter data for an IE comment. </p> + <h3>Derived from</h3> QDialog, Ui_IeCommentDialog <h3>Class Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#IeCommentDialog.__init__">IeCommentDialog</a></td> <td>Constructor</td> @@ -63,23 +60,23 @@ <td>Public method to retrieve the entered data.</td> </tr> </table> + <h3>Static Methods</h3> - <table> - <tr> <td><a href="#IeCommentDialog.getTag">getTag</a></td> <td>Public static method to get the formatted tag.</td> </tr> </table> + <a NAME="IeCommentDialog.__init__" ID="IeCommentDialog.__init__"></a> <h4>IeCommentDialog (Constructor)</h4> <b>IeCommentDialog</b>(<i>parent=None</i>) - <p> Constructor </p> + <dl> <dt><i>parent</i> (QWidget)</dt> @@ -90,10 +87,10 @@ <a NAME="IeCommentDialog.getData" ID="IeCommentDialog.getData"></a> <h4>IeCommentDialog.getData</h4> <b>getData</b>(<i></i>) - <p> Public method to retrieve the entered data. </p> + <dl> <dt>Return:</dt> <dd> @@ -108,17 +105,21 @@ </dl> <a NAME="IeCommentDialog.getTag" ID="IeCommentDialog.getTag"></a> <h4>IeCommentDialog.getTag (static)</h4> -<b>getTag</b>(<i></i>) - +<b>getTag</b>(<i>parent=None</i>) <p> Public static method to get the formatted tag. </p> + <dl> <dt><i>selectedText</i> (str)</dt> <dd> selected text to embed </dd> +<dt><i>parent</i> (QWidget (optional))</dt> +<dd> +reference to the parent widget (defaults to None) +</dd> </dl> <dl> <dt>Return:</dt> @@ -134,4 +135,4 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>
--- a/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.IfTagInputDialog.html Sat Dec 23 16:54:25 2023 +0100 +++ b/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.IfTagInputDialog.html Mon Oct 28 16:51:09 2024 +0100 @@ -7,53 +7,50 @@ <body> <a NAME="top" ID="top"></a> <h1>Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.IfTagInputDialog</h1> - <p> Module implementing a dialog to enter the parameters for the if tag. </p> + <h3>Global Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#IfTagInputDialog">IfTagInputDialog</a></td> <td>Class implementing a dialog to enter the parameters for the if tag.</td> </tr> </table> + <h3>Functions</h3> - <table> <tr><td>None</td></tr> </table> + <hr /> <hr /> <a NAME="IfTagInputDialog" ID="IfTagInputDialog"></a> <h2>IfTagInputDialog</h2> - <p> Class implementing a dialog to enter the parameters for the if tag. </p> + <h3>Derived from</h3> QDialog, Ui_IfTagInputDialog <h3>Class Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#IfTagInputDialog.__init__">IfTagInputDialog</a></td> <td>Constructor</td> @@ -67,19 +64,20 @@ <td>Private slot to handle changes of the 'if' expression.</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="IfTagInputDialog.__init__" ID="IfTagInputDialog.__init__"></a> <h4>IfTagInputDialog (Constructor)</h4> <b>IfTagInputDialog</b>(<i>parent=None</i>) - <p> Constructor </p> + <dl> <dt><i>parent</i> (QWidget)</dt> @@ -90,10 +88,10 @@ <a NAME="IfTagInputDialog.getTag" ID="IfTagInputDialog.getTag"></a> <h4>IfTagInputDialog.getTag</h4> <b>getTag</b>(<i></i>) - <p> Public method to retrieve the tag. </p> + <dl> <dt>Return:</dt> <dd> @@ -109,10 +107,10 @@ <a NAME="IfTagInputDialog.on_ifEdit_textChanged" ID="IfTagInputDialog.on_ifEdit_textChanged"></a> <h4>IfTagInputDialog.on_ifEdit_textChanged</h4> <b>on_ifEdit_textChanged</b>(<i>txt</i>) - <p> Private slot to handle changes of the 'if' expression. </p> + <dl> <dt><i>txt</i> (str)</dt> @@ -122,4 +120,4 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>
--- a/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.LoremTagInputDialog.html Sat Dec 23 16:54:25 2023 +0100 +++ b/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.LoremTagInputDialog.html Mon Oct 28 16:51:09 2024 +0100 @@ -7,53 +7,50 @@ <body> <a NAME="top" ID="top"></a> <h1>Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.LoremTagInputDialog</h1> - <p> Module implementing a dialog to enter the parameters for the lorem tag. </p> + <h3>Global Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#LoremTagInputDialog">LoremTagInputDialog</a></td> <td>Class implementing a dialog to enter the parameters for the lorem tag.</td> </tr> </table> + <h3>Functions</h3> - <table> <tr><td>None</td></tr> </table> + <hr /> <hr /> <a NAME="LoremTagInputDialog" ID="LoremTagInputDialog"></a> <h2>LoremTagInputDialog</h2> - <p> Class implementing a dialog to enter the parameters for the lorem tag. </p> + <h3>Derived from</h3> QDialog, Ui_LoremTagInputDialog <h3>Class Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#LoremTagInputDialog.__init__">LoremTagInputDialog</a></td> <td>Constructor</td> @@ -63,19 +60,20 @@ <td>Public method to get the generated tag string.</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="LoremTagInputDialog.__init__" ID="LoremTagInputDialog.__init__"></a> <h4>LoremTagInputDialog (Constructor)</h4> <b>LoremTagInputDialog</b>(<i>parent=None</i>) - <p> Constructor </p> + <dl> <dt><i>parent</i> (QWidget)</dt> @@ -86,10 +84,10 @@ <a NAME="LoremTagInputDialog.getTag" ID="LoremTagInputDialog.getTag"></a> <h4>LoremTagInputDialog.getTag</h4> <b>getTag</b>(<i></i>) - <p> Public method to get the generated tag string. </p> + <dl> <dt>Return:</dt> <dd> @@ -104,4 +102,4 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>
--- a/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.MultiLineInputDialog.html Sat Dec 23 16:54:25 2023 +0100 +++ b/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.MultiLineInputDialog.html Mon Oct 28 16:51:09 2024 +0100 @@ -7,53 +7,50 @@ <body> <a NAME="top" ID="top"></a> <h1>Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.MultiLineInputDialog</h1> - <p> Module implementing a dialog for the input of multi line text. </p> + <h3>Global Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#MultiLineInputDialog">MultiLineInputDialog</a></td> <td>Class implementing a dialog for the input of multi line text.</td> </tr> </table> + <h3>Functions</h3> - <table> <tr><td>None</td></tr> </table> + <hr /> <hr /> <a NAME="MultiLineInputDialog" ID="MultiLineInputDialog"></a> <h2>MultiLineInputDialog</h2> - <p> Class implementing a dialog for the input of multi line text. </p> + <h3>Derived from</h3> QDialog, Ui_MultiLineInputDialog <h3>Class Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#MultiLineInputDialog.__init__">MultiLineInputDialog</a></td> <td>Constructor</td> @@ -63,23 +60,23 @@ <td>Public method to retrieve the multi line text.</td> </tr> </table> + <h3>Static Methods</h3> - <table> - <tr> <td><a href="#MultiLineInputDialog.getText">getText</a></td> <td>Public static method to create the dialog and return the multi line text.</td> </tr> </table> + <a NAME="MultiLineInputDialog.__init__" ID="MultiLineInputDialog.__init__"></a> <h4>MultiLineInputDialog (Constructor)</h4> <b>MultiLineInputDialog</b>(<i>label, default, parent=None</i>) - <p> Constructor </p> + <dl> <dt><i>label</i> (str)</dt> @@ -98,10 +95,10 @@ <a NAME="MultiLineInputDialog.getData" ID="MultiLineInputDialog.getData"></a> <h4>MultiLineInputDialog.getData</h4> <b>getData</b>(<i></i>) - <p> Public method to retrieve the multi line text. </p> + <dl> <dt>Return:</dt> <dd> @@ -117,11 +114,11 @@ <a NAME="MultiLineInputDialog.getText" ID="MultiLineInputDialog.getText"></a> <h4>MultiLineInputDialog.getText (static)</h4> <b>getText</b>(<i>title, label, default=""</i>) - <p> Public static method to create the dialog and return the multi line text. </p> + <dl> <dt><i>parent</i> (QWidget)</dt> @@ -155,4 +152,4 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>
--- a/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.TimezoneSelectionDialog.html Sat Dec 23 16:54:25 2023 +0100 +++ b/ProjectDjangoTagsMenu/Documentation/source/Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.TimezoneSelectionDialog.html Mon Oct 28 16:51:09 2024 +0100 @@ -7,53 +7,50 @@ <body> <a NAME="top" ID="top"></a> <h1>Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.TimezoneSelectionDialog</h1> - <p> Module implementing a dialog to select a time zone. </p> + <h3>Global Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#TimezoneSelectionDialog">TimezoneSelectionDialog</a></td> <td>Class implementing a dialog to select a time zone.</td> </tr> </table> + <h3>Functions</h3> - <table> <tr><td>None</td></tr> </table> + <hr /> <hr /> <a NAME="TimezoneSelectionDialog" ID="TimezoneSelectionDialog"></a> <h2>TimezoneSelectionDialog</h2> - <p> Class implementing a dialog to select a time zone. </p> + <h3>Derived from</h3> QDialog, Ui_TimezoneSelectionDialog <h3>Class Attributes</h3> - <table> <tr><td>Timezones</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#TimezoneSelectionDialog.__init__">TimezoneSelectionDialog</a></td> <td>Constructor</td> @@ -75,23 +72,23 @@ <td>Private slot handling the selection of a time zone region.</td> </tr> </table> + <h3>Static Methods</h3> - <table> - <tr> <td><a href="#TimezoneSelectionDialog.getTimezone">getTimezone</a></td> <td>Public static method to select a time zone.</td> </tr> </table> + <a NAME="TimezoneSelectionDialog.__init__" ID="TimezoneSelectionDialog.__init__"></a> <h4>TimezoneSelectionDialog (Constructor)</h4> <b>TimezoneSelectionDialog</b>(<i>parent=None</i>) - <p> Constructor </p> + <dl> <dt><i>parent</i> (QWidget)</dt> @@ -102,17 +99,17 @@ <a NAME="TimezoneSelectionDialog.__updateOK" ID="TimezoneSelectionDialog.__updateOK"></a> <h4>TimezoneSelectionDialog.__updateOK</h4> <b>__updateOK</b>(<i></i>) - <p> Private method to update the OK button. </p> + <a NAME="TimezoneSelectionDialog.getData" ID="TimezoneSelectionDialog.getData"></a> <h4>TimezoneSelectionDialog.getData</h4> <b>getData</b>(<i></i>) - <p> Public method to retrieve the data. </p> + <dl> <dt>Return:</dt> <dd> @@ -128,17 +125,17 @@ <a NAME="TimezoneSelectionDialog.on_cityList_itemSelectionChanged" ID="TimezoneSelectionDialog.on_cityList_itemSelectionChanged"></a> <h4>TimezoneSelectionDialog.on_cityList_itemSelectionChanged</h4> <b>on_cityList_itemSelectionChanged</b>(<i></i>) - <p> Private slot handling a change of the city selection. </p> + <a NAME="TimezoneSelectionDialog.on_regionCombo_currentTextChanged" ID="TimezoneSelectionDialog.on_regionCombo_currentTextChanged"></a> <h4>TimezoneSelectionDialog.on_regionCombo_currentTextChanged</h4> <b>on_regionCombo_currentTextChanged</b>(<i>region</i>) - <p> Private slot handling the selection of a time zone region. </p> + <dl> <dt><i>region</i> (str)</dt> @@ -149,10 +146,10 @@ <a NAME="TimezoneSelectionDialog.getTimezone" ID="TimezoneSelectionDialog.getTimezone"></a> <h4>TimezoneSelectionDialog.getTimezone (static)</h4> <b>getTimezone</b>(<i></i>) - <p> Public static method to select a time zone. </p> + <dl> <dt><i>parent</i> (QWidget)</dt> @@ -175,4 +172,4 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>
--- a/ProjectDjangoTagsMenu/Documentation/source/index-Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.html Sat Dec 23 16:54:25 2023 +0100 +++ b/ProjectDjangoTagsMenu/Documentation/source/index-Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu.html Mon Oct 28 16:51:09 2024 +0100 @@ -6,12 +6,12 @@ </head> <body> <h1>Plugin_Project_Django_Tags_Menu.ProjectDjangoTagsMenu</h1> - <p> Package implementing the Django tags menu handler and associated dialogs. </p> + <h3>Modules</h3> <table> @@ -48,4 +48,4 @@ <td>Module implementing a dialog to select a time zone.</td> </tr> </table> -</body></html> \ No newline at end of file +</body></html>
--- a/ProjectDjangoTagsMenu/Documentation/source/index-Plugin_Project_Django_Tags_Menu.html Sat Dec 23 16:54:25 2023 +0100 +++ b/ProjectDjangoTagsMenu/Documentation/source/index-Plugin_Project_Django_Tags_Menu.html Mon Oct 28 16:51:09 2024 +0100 @@ -6,11 +6,11 @@ </head> <body> <h1>Plugin_Project_Django_Tags_Menu</h1> - <p> Package implementing the Django tags menu plugin. </p> + <h3>Packages</h3> <table> @@ -28,4 +28,4 @@ <td>Module implementing the Django tags menu plugin.</td> </tr> </table> -</body></html> \ No newline at end of file +</body></html>
--- a/ProjectDjangoTagsMenu/Documentation/source/index.html Sat Dec 23 16:54:25 2023 +0100 +++ b/ProjectDjangoTagsMenu/Documentation/source/index.html Mon Oct 28 16:51:09 2024 +0100 @@ -17,4 +17,4 @@ </tr> </table> -</body></html> \ No newline at end of file +</body></html>
--- a/ProjectDjangoTagsMenu/IeCommentDialog.py Sat Dec 23 16:54:25 2023 +0100 +++ b/ProjectDjangoTagsMenu/IeCommentDialog.py Mon Oct 28 16:51:09 2024 +0100 @@ -52,16 +52,18 @@ ) @staticmethod - def getTag(selectedText): + def getTag(selectedText, parent=None): """ Public static method to get the formatted tag. @param selectedText selected text to embed @type str + @param parent reference to the parent widget (defaults to None) + @type QWidget (optional) @return formatted tag and a flag indicating the acceptance state @rtype tuple of (str, bool) """ - dlg = IeCommentDialog() + dlg = IeCommentDialog(parent=parent) if dlg.exec() == QDialog.DialogCode.Accepted: condition, version = dlg.getData() tag = "[if{0} IE {1}]> {2} <![endif]".format(
--- a/ProjectDjangoTagsMenu/MultiLineInputDialog.py Sat Dec 23 16:54:25 2023 +0100 +++ b/ProjectDjangoTagsMenu/MultiLineInputDialog.py Mon Oct 28 16:51:09 2024 +0100 @@ -57,7 +57,7 @@ @return multi line text and a flag indicating the acceptance state @rtype tuple of (str, bool) """ - dlg = MultiLineInputDialog(label, default, parent) + dlg = MultiLineInputDialog(label, default, parent=parent) dlg.setWindowTitle(title) if dlg.exec() == QDialog.DialogCode.Accepted: return dlg.getData(), True
--- a/ProjectDjangoTagsMenu/TimezoneSelectionDialog.py Sat Dec 23 16:54:25 2023 +0100 +++ b/ProjectDjangoTagsMenu/TimezoneSelectionDialog.py Mon Oct 28 16:51:09 2024 +0100 @@ -671,7 +671,7 @@ state @rtype tuple of (str, bool) """ - dlg = TimezoneSelectionDialog(parent) + dlg = TimezoneSelectionDialog(parent=parent) tz = "" if dlg.exec() == QDialog.DialogCode.Accepted: tz = dlg.getData()
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ProjectDjangoTagsMenu/Ui_FindTemplateTagDialog.py Mon Oct 28 16:51:09 2024 +0100 @@ -0,0 +1,57 @@ +# Form implementation generated from reading ui file 'ProjectDjangoTagsMenu/FindTemplateTagDialog.ui' +# +# Created by: PyQt6 UI code generator 6.7.1 +# +# WARNING: Any manual changes made to this file will be lost when pyuic6 is +# run again. Do not edit this file unless you know what you are doing. + + +from PyQt6 import QtCore, QtGui, QtWidgets + + +class Ui_FindTemplateTagDialog(object): + def setupUi(self, FindTemplateTagDialog): + FindTemplateTagDialog.setObjectName("FindTemplateTagDialog") + FindTemplateTagDialog.resize(500, 134) + FindTemplateTagDialog.setSizeGripEnabled(True) + self.verticalLayout = QtWidgets.QVBoxLayout(FindTemplateTagDialog) + self.verticalLayout.setObjectName("verticalLayout") + self.label = QtWidgets.QLabel(parent=FindTemplateTagDialog) + self.label.setObjectName("label") + self.verticalLayout.addWidget(self.label) + self.tagEdit = QtWidgets.QLineEdit(parent=FindTemplateTagDialog) + self.tagEdit.setClearButtonEnabled(True) + self.tagEdit.setObjectName("tagEdit") + self.verticalLayout.addWidget(self.tagEdit) + self.horizontalLayout = QtWidgets.QHBoxLayout() + self.horizontalLayout.setObjectName("horizontalLayout") + spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) + self.horizontalLayout.addItem(spacerItem) + self.createButton = QtWidgets.QPushButton(parent=FindTemplateTagDialog) + self.createButton.setMinimumSize(QtCore.QSize(250, 0)) + self.createButton.setObjectName("createButton") + self.horizontalLayout.addWidget(self.createButton) + spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) + self.horizontalLayout.addItem(spacerItem1) + self.verticalLayout.addLayout(self.horizontalLayout) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=FindTemplateTagDialog) + self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) + self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close) + self.buttonBox.setObjectName("buttonBox") + self.verticalLayout.addWidget(self.buttonBox) + + self.retranslateUi(FindTemplateTagDialog) + self.buttonBox.accepted.connect(FindTemplateTagDialog.accept) # type: ignore + self.buttonBox.rejected.connect(FindTemplateTagDialog.reject) # type: ignore + QtCore.QMetaObject.connectSlotsByName(FindTemplateTagDialog) + FindTemplateTagDialog.setTabOrder(self.tagEdit, self.createButton) + FindTemplateTagDialog.setTabOrder(self.createButton, self.buttonBox) + + def retranslateUi(self, FindTemplateTagDialog): + _translate = QtCore.QCoreApplication.translate + FindTemplateTagDialog.setWindowTitle(_translate("FindTemplateTagDialog", "Find Template Tag")) + self.label.setText(_translate("FindTemplateTagDialog", "<b>Find Tags and Filters while Typing:</b>")) + self.tagEdit.setToolTip(_translate("FindTemplateTagDialog", "Type to find tag")) + self.tagEdit.setPlaceholderText(_translate("FindTemplateTagDialog", "Type to find tag")) + self.createButton.setToolTip(_translate("FindTemplateTagDialog", "Press to create the entered template tag")) + self.createButton.setText(_translate("FindTemplateTagDialog", "Create Template Tag"))
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ProjectDjangoTagsMenu/Ui_IeCommentDialog.py Mon Oct 28 16:51:09 2024 +0100 @@ -0,0 +1,67 @@ +# Form implementation generated from reading ui file 'ProjectDjangoTagsMenu/IeCommentDialog.ui' +# +# Created by: PyQt6 UI code generator 6.7.1 +# +# WARNING: Any manual changes made to this file will be lost when pyuic6 is +# run again. Do not edit this file unless you know what you are doing. + + +from PyQt6 import QtCore, QtGui, QtWidgets + + +class Ui_IeCommentDialog(object): + def setupUi(self, IeCommentDialog): + IeCommentDialog.setObjectName("IeCommentDialog") + IeCommentDialog.resize(295, 114) + IeCommentDialog.setSizeGripEnabled(True) + self.verticalLayout = QtWidgets.QVBoxLayout(IeCommentDialog) + self.verticalLayout.setObjectName("verticalLayout") + self.gridLayout = QtWidgets.QGridLayout() + self.gridLayout.setObjectName("gridLayout") + self.label = QtWidgets.QLabel(parent=IeCommentDialog) + self.label.setObjectName("label") + self.gridLayout.addWidget(self.label, 0, 0, 1, 1) + self.horizontalLayout = QtWidgets.QHBoxLayout() + self.horizontalLayout.setObjectName("horizontalLayout") + self.conditionalComboBox = QtWidgets.QComboBox(parent=IeCommentDialog) + self.conditionalComboBox.setObjectName("conditionalComboBox") + self.horizontalLayout.addWidget(self.conditionalComboBox) + spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) + self.horizontalLayout.addItem(spacerItem) + self.gridLayout.addLayout(self.horizontalLayout, 0, 1, 1, 1) + self.label_2 = QtWidgets.QLabel(parent=IeCommentDialog) + self.label_2.setObjectName("label_2") + self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) + self.horizontalLayout_2 = QtWidgets.QHBoxLayout() + self.horizontalLayout_2.setObjectName("horizontalLayout_2") + self.versionSpinBox = QtWidgets.QSpinBox(parent=IeCommentDialog) + self.versionSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) + self.versionSpinBox.setMinimum(5) + self.versionSpinBox.setMaximum(12) + self.versionSpinBox.setProperty("value", 7) + self.versionSpinBox.setObjectName("versionSpinBox") + self.horizontalLayout_2.addWidget(self.versionSpinBox) + spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) + self.horizontalLayout_2.addItem(spacerItem1) + self.gridLayout.addLayout(self.horizontalLayout_2, 1, 1, 1, 1) + self.verticalLayout.addLayout(self.gridLayout) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=IeCommentDialog) + self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) + self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) + self.buttonBox.setObjectName("buttonBox") + self.verticalLayout.addWidget(self.buttonBox) + + self.retranslateUi(IeCommentDialog) + self.buttonBox.accepted.connect(IeCommentDialog.accept) # type: ignore + self.buttonBox.rejected.connect(IeCommentDialog.reject) # type: ignore + QtCore.QMetaObject.connectSlotsByName(IeCommentDialog) + IeCommentDialog.setTabOrder(self.conditionalComboBox, self.versionSpinBox) + IeCommentDialog.setTabOrder(self.versionSpinBox, self.buttonBox) + + def retranslateUi(self, IeCommentDialog): + _translate = QtCore.QCoreApplication.translate + IeCommentDialog.setWindowTitle(_translate("IeCommentDialog", "IE Comment")) + self.label.setText(_translate("IeCommentDialog", "Conditional Format:")) + self.conditionalComboBox.setToolTip(_translate("IeCommentDialog", "Select the conditional")) + self.label_2.setText(_translate("IeCommentDialog", "MS IE Version:")) + self.versionSpinBox.setToolTip(_translate("IeCommentDialog", "Enter the IE Version"))
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ProjectDjangoTagsMenu/Ui_IfTagInputDialog.py Mon Oct 28 16:51:09 2024 +0100 @@ -0,0 +1,57 @@ +# Form implementation generated from reading ui file 'ProjectDjangoTagsMenu/IfTagInputDialog.ui' +# +# Created by: PyQt6 UI code generator 6.7.1 +# +# WARNING: Any manual changes made to this file will be lost when pyuic6 is +# run again. Do not edit this file unless you know what you are doing. + + +from PyQt6 import QtCore, QtGui, QtWidgets + + +class Ui_IfTagInputDialog(object): + def setupUi(self, IfTagInputDialog): + IfTagInputDialog.setObjectName("IfTagInputDialog") + IfTagInputDialog.resize(500, 400) + IfTagInputDialog.setSizeGripEnabled(True) + self.verticalLayout = QtWidgets.QVBoxLayout(IfTagInputDialog) + self.verticalLayout.setObjectName("verticalLayout") + self.label = QtWidgets.QLabel(parent=IfTagInputDialog) + self.label.setObjectName("label") + self.verticalLayout.addWidget(self.label) + self.ifEdit = QtWidgets.QLineEdit(parent=IfTagInputDialog) + self.ifEdit.setClearButtonEnabled(True) + self.ifEdit.setObjectName("ifEdit") + self.verticalLayout.addWidget(self.ifEdit) + self.label_2 = QtWidgets.QLabel(parent=IfTagInputDialog) + self.label_2.setObjectName("label_2") + self.verticalLayout.addWidget(self.label_2) + self.elifEdit = QtWidgets.QPlainTextEdit(parent=IfTagInputDialog) + self.elifEdit.setObjectName("elifEdit") + self.verticalLayout.addWidget(self.elifEdit) + self.elseCheckBox = QtWidgets.QCheckBox(parent=IfTagInputDialog) + self.elseCheckBox.setObjectName("elseCheckBox") + self.verticalLayout.addWidget(self.elseCheckBox) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=IfTagInputDialog) + self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) + self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) + self.buttonBox.setObjectName("buttonBox") + self.verticalLayout.addWidget(self.buttonBox) + + self.retranslateUi(IfTagInputDialog) + self.buttonBox.accepted.connect(IfTagInputDialog.accept) # type: ignore + self.buttonBox.rejected.connect(IfTagInputDialog.reject) # type: ignore + QtCore.QMetaObject.connectSlotsByName(IfTagInputDialog) + IfTagInputDialog.setTabOrder(self.ifEdit, self.elifEdit) + IfTagInputDialog.setTabOrder(self.elifEdit, self.elseCheckBox) + IfTagInputDialog.setTabOrder(self.elseCheckBox, self.buttonBox) + + def retranslateUi(self, IfTagInputDialog): + _translate = QtCore.QCoreApplication.translate + IfTagInputDialog.setWindowTitle(_translate("IfTagInputDialog", "If Tag Template")) + self.label.setText(_translate("IfTagInputDialog", "\'if\' expression:")) + self.ifEdit.setStatusTip(_translate("IfTagInputDialog", "Enter the \'if\' expression")) + self.label_2.setText(_translate("IfTagInputDialog", "\'elif\' expressions (one per line):")) + self.elifEdit.setToolTip(_translate("IfTagInputDialog", "Enter \'elif\' expressions one per line")) + self.elseCheckBox.setToolTip(_translate("IfTagInputDialog", "Select to include an \'else\' part")) + self.elseCheckBox.setText(_translate("IfTagInputDialog", "Include \'else\'"))
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ProjectDjangoTagsMenu/Ui_LoremTagInputDialog.py Mon Oct 28 16:51:09 2024 +0100 @@ -0,0 +1,63 @@ +# Form implementation generated from reading ui file 'ProjectDjangoTagsMenu/LoremTagInputDialog.ui' +# +# Created by: PyQt6 UI code generator 6.7.1 +# +# WARNING: Any manual changes made to this file will be lost when pyuic6 is +# run again. Do not edit this file unless you know what you are doing. + + +from PyQt6 import QtCore, QtGui, QtWidgets + + +class Ui_LoremTagInputDialog(object): + def setupUi(self, LoremTagInputDialog): + LoremTagInputDialog.setObjectName("LoremTagInputDialog") + LoremTagInputDialog.resize(400, 137) + LoremTagInputDialog.setSizeGripEnabled(True) + self.gridLayout = QtWidgets.QGridLayout(LoremTagInputDialog) + self.gridLayout.setObjectName("gridLayout") + self.label = QtWidgets.QLabel(parent=LoremTagInputDialog) + self.label.setObjectName("label") + self.gridLayout.addWidget(self.label, 0, 0, 1, 1) + self.countSpinBox = QtWidgets.QSpinBox(parent=LoremTagInputDialog) + self.countSpinBox.setMinimum(1) + self.countSpinBox.setMaximum(9) + self.countSpinBox.setObjectName("countSpinBox") + self.gridLayout.addWidget(self.countSpinBox, 0, 1, 1, 1) + spacerItem = QtWidgets.QSpacerItem(272, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) + self.gridLayout.addItem(spacerItem, 0, 2, 1, 1) + self.label_2 = QtWidgets.QLabel(parent=LoremTagInputDialog) + self.label_2.setObjectName("label_2") + self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) + self.methodComboBox = QtWidgets.QComboBox(parent=LoremTagInputDialog) + self.methodComboBox.setObjectName("methodComboBox") + self.methodComboBox.addItem("") + self.methodComboBox.addItem("") + self.methodComboBox.addItem("") + self.gridLayout.addWidget(self.methodComboBox, 1, 1, 1, 2) + self.randomCheckBox = QtWidgets.QCheckBox(parent=LoremTagInputDialog) + self.randomCheckBox.setObjectName("randomCheckBox") + self.gridLayout.addWidget(self.randomCheckBox, 2, 0, 1, 3) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=LoremTagInputDialog) + self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) + self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) + self.buttonBox.setObjectName("buttonBox") + self.gridLayout.addWidget(self.buttonBox, 3, 0, 1, 3) + + self.retranslateUi(LoremTagInputDialog) + self.buttonBox.accepted.connect(LoremTagInputDialog.accept) # type: ignore + self.buttonBox.rejected.connect(LoremTagInputDialog.reject) # type: ignore + QtCore.QMetaObject.connectSlotsByName(LoremTagInputDialog) + LoremTagInputDialog.setTabOrder(self.countSpinBox, self.methodComboBox) + LoremTagInputDialog.setTabOrder(self.methodComboBox, self.randomCheckBox) + LoremTagInputDialog.setTabOrder(self.randomCheckBox, self.buttonBox) + + def retranslateUi(self, LoremTagInputDialog): + _translate = QtCore.QCoreApplication.translate + LoremTagInputDialog.setWindowTitle(_translate("LoremTagInputDialog", "Lorem Tag Template")) + self.label.setText(_translate("LoremTagInputDialog", "Count:")) + self.label_2.setText(_translate("LoremTagInputDialog", "Method:")) + self.methodComboBox.setItemText(0, _translate("LoremTagInputDialog", "Plain text paragraphs")) + self.methodComboBox.setItemText(1, _translate("LoremTagInputDialog", "HTML paragraphs")) + self.methodComboBox.setItemText(2, _translate("LoremTagInputDialog", "Words")) + self.randomCheckBox.setText(_translate("LoremTagInputDialog", "Generate random text"))
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ProjectDjangoTagsMenu/Ui_MultiLineInputDialog.py Mon Oct 28 16:51:09 2024 +0100 @@ -0,0 +1,39 @@ +# Form implementation generated from reading ui file 'ProjectDjangoTagsMenu/MultiLineInputDialog.ui' +# +# Created by: PyQt6 UI code generator 6.7.1 +# +# WARNING: Any manual changes made to this file will be lost when pyuic6 is +# run again. Do not edit this file unless you know what you are doing. + + +from PyQt6 import QtCore, QtGui, QtWidgets + + +class Ui_MultiLineInputDialog(object): + def setupUi(self, MultiLineInputDialog): + MultiLineInputDialog.setObjectName("MultiLineInputDialog") + MultiLineInputDialog.resize(600, 400) + MultiLineInputDialog.setSizeGripEnabled(True) + self.verticalLayout = QtWidgets.QVBoxLayout(MultiLineInputDialog) + self.verticalLayout.setObjectName("verticalLayout") + self.entryLabel = QtWidgets.QLabel(parent=MultiLineInputDialog) + self.entryLabel.setText("") + self.entryLabel.setObjectName("entryLabel") + self.verticalLayout.addWidget(self.entryLabel) + self.multiLineEdit = QtWidgets.QPlainTextEdit(parent=MultiLineInputDialog) + self.multiLineEdit.setObjectName("multiLineEdit") + self.verticalLayout.addWidget(self.multiLineEdit) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=MultiLineInputDialog) + self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) + self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) + self.buttonBox.setObjectName("buttonBox") + self.verticalLayout.addWidget(self.buttonBox) + + self.retranslateUi(MultiLineInputDialog) + self.buttonBox.accepted.connect(MultiLineInputDialog.accept) # type: ignore + self.buttonBox.rejected.connect(MultiLineInputDialog.reject) # type: ignore + QtCore.QMetaObject.connectSlotsByName(MultiLineInputDialog) + MultiLineInputDialog.setTabOrder(self.multiLineEdit, self.buttonBox) + + def retranslateUi(self, MultiLineInputDialog): + pass
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ProjectDjangoTagsMenu/Ui_TimezoneSelectionDialog.py Mon Oct 28 16:51:09 2024 +0100 @@ -0,0 +1,55 @@ +# Form implementation generated from reading ui file 'ProjectDjangoTagsMenu/TimezoneSelectionDialog.ui' +# +# Created by: PyQt6 UI code generator 6.7.1 +# +# WARNING: Any manual changes made to this file will be lost when pyuic6 is +# run again. Do not edit this file unless you know what you are doing. + + +from PyQt6 import QtCore, QtGui, QtWidgets + + +class Ui_TimezoneSelectionDialog(object): + def setupUi(self, TimezoneSelectionDialog): + TimezoneSelectionDialog.setObjectName("TimezoneSelectionDialog") + TimezoneSelectionDialog.resize(400, 394) + TimezoneSelectionDialog.setSizeGripEnabled(True) + self.verticalLayout = QtWidgets.QVBoxLayout(TimezoneSelectionDialog) + self.verticalLayout.setObjectName("verticalLayout") + self.gridLayout = QtWidgets.QGridLayout() + self.gridLayout.setObjectName("gridLayout") + self.label = QtWidgets.QLabel(parent=TimezoneSelectionDialog) + self.label.setObjectName("label") + self.gridLayout.addWidget(self.label, 0, 0, 1, 1) + self.regionCombo = QtWidgets.QComboBox(parent=TimezoneSelectionDialog) + self.regionCombo.setObjectName("regionCombo") + self.gridLayout.addWidget(self.regionCombo, 0, 1, 1, 1) + self.label_2 = QtWidgets.QLabel(parent=TimezoneSelectionDialog) + self.label_2.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeading|QtCore.Qt.AlignmentFlag.AlignLeft|QtCore.Qt.AlignmentFlag.AlignTop) + self.label_2.setObjectName("label_2") + self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) + self.cityList = QtWidgets.QListWidget(parent=TimezoneSelectionDialog) + self.cityList.setAlternatingRowColors(True) + self.cityList.setObjectName("cityList") + self.gridLayout.addWidget(self.cityList, 1, 1, 1, 1) + self.verticalLayout.addLayout(self.gridLayout) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=TimezoneSelectionDialog) + self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) + self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) + self.buttonBox.setObjectName("buttonBox") + self.verticalLayout.addWidget(self.buttonBox) + + self.retranslateUi(TimezoneSelectionDialog) + self.buttonBox.accepted.connect(TimezoneSelectionDialog.accept) # type: ignore + self.buttonBox.rejected.connect(TimezoneSelectionDialog.reject) # type: ignore + QtCore.QMetaObject.connectSlotsByName(TimezoneSelectionDialog) + TimezoneSelectionDialog.setTabOrder(self.regionCombo, self.cityList) + TimezoneSelectionDialog.setTabOrder(self.cityList, self.buttonBox) + + def retranslateUi(self, TimezoneSelectionDialog): + _translate = QtCore.QCoreApplication.translate + TimezoneSelectionDialog.setWindowTitle(_translate("TimezoneSelectionDialog", "Select Time Zone")) + self.label.setText(_translate("TimezoneSelectionDialog", "Region:")) + self.regionCombo.setToolTip(_translate("TimezoneSelectionDialog", "Select the time zone region")) + self.label_2.setText(_translate("TimezoneSelectionDialog", "City:")) + self.cityList.setToolTip(_translate("TimezoneSelectionDialog", "Select the time zone city"))