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

Qt::WA_ShowModal claims to be deprecated buts its alleged replacement needs it

    XMLWordPrintable

Details

    • User Story
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.5.1, 5.0.0, 5.15.0
    • None
    • All

    Description

      Chasing up deprecations prior to Qt6, I find that Qt::WA_ShowModal and Qt::WQ_GroupLeader have been documented as deprecated since 4.5.1; however, the QWidget::windowModality that they say to use instead is implemented in terms of setting these properties; and there is severely non-trivial code in the property management implementation, that's triggered by setting them.
      These properties should be either eliminated (preferably in time for Qt6 FF) or un-deprecated and properly documented (in qnamespace.qdoc).

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-85816
          # Subject Branch Project Status CR V

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Eddy Edward Welbourne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes