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)?