Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
Description
The following example will instantiate both the IntValidator and the RegExpValidator when running OverrideTest:
// MyText.qml import QtQuick 2.0 TextInput { validator: IntValidator {} } // OverrideTest.qml import QtQuick 2.0 MyText { validator: RegExpValidator {} }
From a performance perspective, it would be nice if we didn't have to ever pay the cost of constructing the IntValidator.
Attachments
Issue Links
- is required for
-
QTBUG-72085 Rethink how we manage the lifetime of controls' building blocks
- Closed
-
QTBUG-72164 Deprecate grouped properties
- Closed
- relates to
-
QTBUG-76319 Add expected properties
- Closed
-
QTBUG-82766 Uncontrolled aliasing of data via grouped properties and aliases
- Open