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

improve generated code style

XMLWordPrintable

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

      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     }

      ......

      }

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

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

              Created:
              Updated:

                There are no open Gerrit changes