Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-799

Typesystem organization/refactoring

    XMLWordPrintable

Details

    • User Story
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.11.1
    • PySide
    • None
    • All

    Description

      PySide2's typesystem need a refactoring because it's not too organized.

      Here are a couple of things that could be improved:

      • Store templates in one file (typesystem_templates.xml) which is included in each module's typesystem file.
      • Standardize the way of doing things: even the simple task of increase the ref count of a certain object is being done in different ways.
      • Reduce repeated code: there are many snippets that are literally the same, and we should avoid to replicate the same sections of code over and over.
      • Move raw-code to templates: it's better to understand the functionality of certain methods and conversions if we avoid having a mix of raw-code and templates, so leaving everything as a template sounds like a good idea.
      • Improve the current implementations/templates: the styling and way of achieving the final goal of the specific template need a little bit of love.

      Hopefully this could be achieved before the release.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            crmaurei Cristian Maureira-Fredes
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes