815 args.append("--from-imports") |
815 args.append("--from-imports") |
816 elif self.project.getProjectType() == "PySide6": |
816 elif self.project.getProjectType() == "PySide6": |
817 # PySide6 |
817 # PySide6 |
818 if Preferences.getQt("PySide6FromImports"): |
818 if Preferences.getQt("PySide6FromImports"): |
819 args.append("--from-imports") |
819 args.append("--from-imports") |
820 elif self.project.getProjectType() == "PyQt6": |
820 elif self.project.getProjectType() in ("PyQt6", "E7Plugin"): |
821 # PyQt6 |
821 # PyQt6 and E7Plugin |
822 if Preferences.getQt("Pyuic6Execute"): |
822 if Preferences.getQt("Pyuic6Execute"): |
823 args.append("-x") |
823 args.append("-x") |
824 indentWidth = Preferences.getQt("Pyuic6Indent") |
824 indentWidth = Preferences.getQt("Pyuic6Indent") |
825 if indentWidth != self.Pyuic6IndentDefault: |
825 if indentWidth != self.Pyuic6IndentDefault: |
826 args.append("--indent={0}".format(indentWidth)) |
826 args.append("--indent={0}".format(indentWidth)) |