Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Variant properties in Design mode

$
0
0
I intend to use a variant property like: property variant target property string changeStateTo and change target in Design mode by “SetExpression”. In order to change its state later on a button click: onClicked: {     target.state = changeStateTo } This would help to enable a user to build sufficiently complex GUIs in Design mode. Unfortunately variants are not editable or even visible in design mode. Does anyone know if this is intended or “workaroudable”? I am using QtQuick 1.1 (GUI needs to run on crappy hardware) with QtCreator 2.7.2. Thanks

Viewing all articles
Browse latest Browse all 4972

Trending Articles