Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2444

Use Qt scoped enums

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.5.1
    • Component/s: Framework

      Description

      Since PyQt5 v5.11 (2018-06-19) Qt enums sould be accessed to their scope object rather than the top-level Qt, e. g.:

      Qt.AlignVCenter -> Qt.AlignmentFlag.AlignVCenter
      

      The behavior change will be blocker when moing to PyQt6.

      An interesting work has been done for qutebrowser, let's use it too.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d