ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #19983
Re: QML Guru wanted
El día Friday, April 22, 2016 a las 06:24:01PM +0200, Matthias Apitz escribió:
> Yes it works now on the BQ. It did not worked on my FreeBSD netbook, where
> I tried it first. And perhaps while poking around I made this typo because
> The original from where I cut&pasted it is fine too.
It works now in my netbook too. The problem was there, that this has no
real mouse buttons, one uses "tapping" in some area left/right on the
touchpad. I modified the example to turn the text already on mouse-over
with:
...
// hoverEnabled: true to catch mouse over
MouseArea { id: mouseArea; anchors.fill: parent ; hoverEnabled: true }
states: State {
// name: "down"; when: mouseArea.pressed == true
name: "down"; when: mouseArea.containsMouse == true
PropertyChanges { target: helloText; y: 160; rotation: 180; color: "red" }
}
...
and this works nicely.
matthias
--
Matthias Apitz, ✉ guru@xxxxxxxxxxx, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045
¡Dios querido denos otra vez los problemas de ayer, los que tuvimos en la RDA!
My Lord, give us back the problems of yesterday, those we have had in the GDR.
References