Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-6689

improve generated code style

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • None

    Description

      Currently we generate one line per property for each property added. So we end up with code like this:

      Button

      { baseProperties.opacity: 1 normalProperties.bevel: true baseProperties.radius: 20 ...... }

      Which can get very messy when you generate a lot of properties. We should group the property sets together in the code to improve readability for Developers.

       

      Button {

      baseProperties

      {     opacity: 1     radius: 20     }

      ......

      }

      Attachments

        Activity

          People

            henning Henning Gründl
            brook_cronin_qt Brook Cronin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: