i [
> jpnu...@gmail.com]
> Sent: Thursday, July 17, 2014 7:45 AM
> To: Sailfish OS Developers
> Subject: Re: [SailfishDevel] A welcome dialog and pageStack's operation in
> progress.
>
> On Wed, Jul 16, 2014 at 11:25 PM, Matthew Vogt
> wrote:
> >
> > Hi,
urmi [jpnu...@gmail.com]
Sent: Thursday, July 17, 2014 7:45 AM
To: Sailfish OS Developers
Subject: Re: [SailfishDevel] A welcome dialog and pageStack's operation in
progress.
On Wed, Jul 16, 2014 at 11:25 PM, Matthew Vogt wrote:
>
> Hi, 'Page.status' is the correct prop
On Wed, Jul 16, 2014 at 11:25 PM, Matthew Vogt wrote:
>
> Hi, 'Page.status' is the correct property to watch for avoiding this problem.
>
> Here is an example of what you could do:
>
> import QtQuick 2.0
> import Sailfish.Silica 1.0
>
> ApplicationWindow {
>
> initialPage: Component {
>
_
From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org]
on behalf of Andrey Kozhevnikov [coderusin...@gmail.com]
Sent: Wednesday, July 16, 2014 7:01 PM
To: devel@lists.sailfishos.org
Subject: Re: [SailfishDevel] A welcome dialog and pageStack's operation in
Sorry Marcin, misread the name :)
2014-07-16 18:55 GMT+06:00 Dmitriy Purgin :
> Hi Martin,
>
> I had the same issue while dealing with a similar problem where start
> page was showing BusyIndicator while the application is loading. What
> I did is connected to Component.onCompleted in ApplicationW
Hi Martin,
I had the same issue while dealing with a similar problem where start
page was showing BusyIndicator while the application is loading. What
I did is connected to Component.onCompleted in ApplicationWindow,
start the initialization procedure and replace the page after
initialization is d
In this case you'd better connect to pageStack.busyChanged :) and wait
while pageStack.busy
16.07.2014 18:42, Marcin M. ?:
This way the dialog opens after closing the dialog. Worked it around by
Component.onCompleted:
{
while (status != PageStatus.Active) {}
openWe
Take back what I said. The workaround doesn't work. :P
--
Marcin
2014-07-16 14:42 GMT+02:00 Marcin M. :
> This way the dialog opens after closing the dialog. Worked it around by
>
>
> Component.onCompleted:
> {
> while (status != PageStatus.Active) {}
> openWelcomeDialog
This way the dialog opens after closing the dialog. Worked it around by
Component.onCompleted:
{
while (status != PageStatus.Active) {}
openWelcomeDialog()
}
--
Marcin
2014-07-16 11:01 GMT+02:00 Andrey Kozhevnikov :
> do not use onCompleted in this case. use statu
do not use onCompleted in this case. use status == PageStatus.Active instead
16.07.2014 14:58, Marcin M. ?:
I'd like to open a welcome dialog at startup which can be disabled by
a user.
Page
{
id: mainPage
function openWelcomeDialog()
{
var component = Qt.createComponen
I'd like to open a welcome dialog at startup which can be disabled by a
user.
Page
{
id: mainPage
function openWelcomeDialog()
{
var component = Qt.createComponent("WelcomeDialog.qml")
var popup = component.createObject(mainPage)
popup.open()
}
Componen
11 matches
Mail list logo