Re: [Development] Qml draw pattern as password

2018-12-14 Thread Jason H
ong, you'll need to use a MouseArea and a Canvas, as the simpleest way to do it.     Sent: Friday, December 14, 2018 at 3:47 AM From: "Akın Gümüşkavak" To: "development@qt-project.org" Subject: [Development] Qml draw pattern as password Hello,   I'm trying to

Re: [Development] Qml draw pattern as password

2018-12-14 Thread Akın Gümüşkavak
That would be really nice to have a component like that and save lots of time. Security is not my first priority at the moment but I will spend some time to implement something useful :) Thanks anyway From: Edward Welbourne Sent: Friday, December 14, 2018 12:4

Re: [Development] Qml draw pattern as password

2018-12-14 Thread Edward Welbourne
Akin Gümüskavak (Friday, 14 December 2018 9:47 AM) wrote >> I'm trying to develop a drawing pattern area as password field in >> Qml. I've made some research but could not find anything useful. Mitch Curtis (14 December 2018 09:59) replied: > What do you mean by "drawing pattern area as password f

Re: [Development] Qml draw pattern as password

2018-12-14 Thread Mitch Curtis
> I mean just like mobile phones lock screen. I would like to define a pattern > as password and use it to login Oh, right. Then I think a single MouseArea or TapHandler is probably your best bet. You could use e.g. GridLayout with a Repeater to create a bunch of items that the input area uses

Re: [Development] Qml draw pattern as password

2018-12-14 Thread Mitch Curtis
> -Original Message- > From: Development On Behalf Of > Akin Gümüskavak > Sent: Friday, 14 December 2018 9:47 AM > To: development@qt-project.org > Subject: [Development] Qml draw pattern as password > > Hello, > > > > > I'm trying to deve

[Development] Qml draw pattern as password

2018-12-14 Thread Akın Gümüşkavak
Hello, I'm trying to develop a drawing pattern area as password field in Qml. I've made some research but could not find anything useful. Now, I am thinking to use MouseArea. I can identify points in this area and I can get mouse X and Y positions on pressed. But it is getting complicated. Is