blob: 84b465c565d5bbfc327a8a1af8245be0f9bcec43 [file] [log] [blame]
import Test 1.0
import QtQuick 2.0
BindingsSpliceCorrectlyType {
property bool test: false
property bool italicProperty: false
font.italic: italicProperty
font.bold: false
Component.onCompleted: {
// Test initial state
if (font.italic != false) return;
if (font.bold != false) return;
// Test italic binding worked
italicProperty = true;
if (font.italic != true) return;
if (font.bold != false) return;
// Test bold binding was removed by constant write
boldProperty = true;
if (font.italic != true) return;
if (font.bold != false) return;
test = true;
}
}