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

class="..." attribute in <conversion-rule /> ambiguos

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 6.2.2
    • Documentation
    • None
    • Linux/X11
    • c1e64f5e55 (pyside/pyside-setup/dev) 1682afa981 (pyside/pyside-setup/6.2) 1682afa981 (pyside/tqtc-pyside-setup/6.2) c1e64f5e55 (pyside/tqtc-pyside-setup/dev) c1e64f5e55 (pyside/tqtc-pyside-setup/tqtc/dev) 1682afa981 (pyside/pyside-setup/6.2.3)

    Description

      It was noticed that the class="..." attribute used in the <conversion-rule class="" /> is dissimilar to the 'class attribute' used in the <inject-code class=""/> tag.

      Essentially it was noticed that, <conversion-rule class="native"> is synonymous with <inject-code class="target">. This contrasting use of 'class' attribute creates confusion among user.

      How is it now?

      <conversion-rule class="native"> is synonymous with <conversion rule> <target-to-native /> </conversion-rule>

      <inject-code class="native" /> is synonymous with <inject-code "native-to-target" />

      Solution:

      For the moment, the solution is to add in the documentation for <conversion-rule> what each 'class' values mean.

      Note:

      It is probably best to have the same meaning for the 'class' attribute across all tags.

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            shpremna Shyamnath Premnadh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes