*** frinring_ is now known as frinring | 09:29 | |
Mister_Magister | hi i want to push page on app startup but im getting error from pagestack that operation is in progress | 13:26 |
---|---|---|
Mister_Magister | can someone help me resolve that? | 13:26 |
DylanVanAssche | Mister_Magister: Just an idea, not really tested since I never done that before. What about watching the pageStack signals (something like progressChanged or finished/ready?) and pushing then your page on launch. | 13:28 |
Mister_Magister | ye im trying that | 13:30 |
DylanVanAssche | Combine it with the busy property of the pageStack: onProgressChanged and not busy then push | 13:31 |
Mister_Magister | im trying onBusyChanged | 13:31 |
Mister_Magister | but that doesnt seem to work | 13:31 |
DylanVanAssche | Even when you use an if statement where you check that busy is set to false? | 13:31 |
DylanVanAssche | in the signal handler | 13:32 |
elros1 | push it in : onStatusChanged: { | 13:33 |
elros1 | if (status == PageStatus.Active) { | 13:33 |
r0kk3rz | where are you pushing the page from? | 13:34 |
Mister_Magister | pageStack have status property? | 13:34 |
elros1 | .. you know you can explore Page.qml source? | 13:35 |
Mister_Magister | elros1: it doesnt | 13:35 |
elros1 | but Page have | 13:36 |
DylanVanAssche | completeAnimation() works too (if called before pushing your new page). The PageStack is then forced to go directly to the end of the push sequence allowing you to push directly a new page. | 13:36 |
Mister_Magister | nah complete animation doesnt work | 13:36 |
DylanVanAssche | Oh maybe not at launch :p | 13:36 |
elros1 | it's first comment in Page.qml | 13:36 |
Mister_Magister | thanks elros1 | 13:39 |
r0kk3rz | tbh id use component.oncomplete | 13:39 |
elros1 | you can't push 2 pages simultaneously | 13:40 |
Mister_Magister | r0kk3rz: component.oncomplete is to early | 13:43 |
Mister_Magister | this was my first try | 13:43 |
r0kk3rz | maybe that was worth mentioning :P | 13:47 |
DylanVanAssche | Anyone experience with Qt SQL? | 14:48 |
antis | Almindor: hi u available for talk? | 14:51 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!