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

no easy way to customize FileDialog of QtQuick.Dialogs

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.8
    • None

    Description

      I wrote a new style, and select it using qtquiconcontrols2.conf, and provide FileDialog.qml (copied from QtQuick/Dialogs/Material/FileDialog.qml

      when executing, it will report 'namefilters' is read-only.

      after check qt's code, import QtQuick.Dialogs, the 'FileDialog' is not FileDialog.qml, but from C+, and the C+ class will select FileDialog.qml or native by options. the namefilters property is the wrapper's, but not FileDialog.qml's.

      Is there any easy way to override FileDialog of QtQuick.Dialogs in custom style, (copy from official qml and make minor change)?

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes