Hi,

I never tried it, but I guess If you don't want an cover to be shown,
comment out the cover property in main.qml. No cover set, should mean no
cover can be seen. :)


Or you create a cover with a timer and it's also update, like on your real
page.


Gabriel.



--



Von meinem Nokia N9 gesendet



Joona Petrell schrieb am 14.06.13 07:26:
Hi João,

 Application cover should have it's own UI, because it has different
layout dimensions
than the full-screen application page, different background (often
CoverBackground) and in most cases should have cover actions. Cover and a
page can share an UI component, provided that UI component somehow handles
the layout differences, e.g. CoverBackground { TimerItem { coverMode: true
} CoverActionList { ... } } vs. Page { TimerItem { coverMode: false } }.

 Binding initialPage property to cover property is not ok.

 Cheers,


Joona


 ------------------------------
*From:* devel-boun...@lists.sailfishos.org [
devel-boun...@lists.sailfishos.org] on behalf of joao morgado [
joaodeusmorg...@yahoo.com]
*Sent:* 14 June 2013 05:38
*To:* devel@lists.sailfishos.org
*Subject:* [SailfishDevel] Make cover page equal to First page

  Hi again

 The app that I'm portin from Meego, it's a timer, so I need the cover to
look the same has the first page, so the user can see the time running in
the cover, just like in the first page.

 So, I did:

  ApplicationWindow

{

    initialPage: FirstPage { }

    cover: initialPage //Qt.resolvedUrl("cover/CoverPage.qml")

}


This works but when the app is in cover mode, the timer freezes,
(unlike the meego N9 version, who keep running) and something gets
messed up in the simulator, because when clicking the cover to return
to first page,  the app doesnt appear anymore, only the sailfish
background.

Any ideias ?


Regards

João de Deus


_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to