Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-118240

QMetaEnum::key(s)ToValue() should handle fully qualified enum/flag strings

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P2: Important
    • 6.7.0 FF
    • 6.6.0
    • Core: Object Model
    • None
    • All
    • 38994ab9a (dev), bd242a7d2 (6.6), f47a9d72e (tqtc/lts-6.5), 5bb7c46e7 (tqtc/lts-6.2), 9acc2df00 (dev), 091487d67 (6.6), a9fce8fef (tqtc/lts-6.5), d12e347b6 (tqtc/lts-5.15), 9e6c9eda6 (dev), 25ab2a7cb (dev)

    Description

      Currently:

      QFrame::Shape::Box -0x1
      QFrame::Box 0x1
      Box 0x1
      
      QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok -0x1
      QDialogButtonBox::Cancel|QDialogButtonBox::Ok 0x400400
      Cancel|Ok 0x400400
      

      Handling fully qualified strings would make it easier to port Designer to use fully qualified values always to accommodate scoped enums and Qt for Python.

      Attachments

        1. qtbug118240.zip
          1 kB
          Friedemann Kleint

        Issue Links

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

          Activity

            People

              ahmad.samir Ahmad Samir
              kleint Friedemann Kleint
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: