Re: [SailfishDevel] show/hide pulley menu items

2014-03-11 Thread christopher . lamb
It can be very difficult for the beginner to distinguish if a given QML element if "pure Qt", or from a component set like Silica. I remember struggling with this in the days of Harmattan. It would be very helpful if the Silica documentation linked the Qt Documentation, and showed inherited

Re: [SailfishDevel] show/hide pulley menu items

2014-03-10 Thread Matthew Vogt
Vivian Brégier [vivian.breg...@are-ata.org] Sent: Tuesday, March 11, 2014 5:43 AM To: Sailfish OS Developers Subject: Re: [SailfishDevel] show/hide pulley menu items Thank you, this works just fine. And I always have at least one menuitem visible, so there is no need to hide the menu itself, but

Re: [SailfishDevel] show/hide pulley menu items

2014-03-10 Thread Ove Kåven
Den 10. mars 2014 20:43, skrev Vivian Brégier: Thank you, this works just fine. And I always have at least one menuitem visible, so there is no need to hide the menu itself, but it is a good thing to keep in mind. Strangely, https://sailfishos.org/sailfish-silica/qml-sailfishsilica-menuitem-mem

Re: [SailfishDevel] show/hide pulley menu items

2014-03-10 Thread Andrey Kozhevnikov
Its QML basics Silica reference cant explain all standard properties and functions, you should learn it yourself. On 11.03.2014 01:43, Vivian Brégier wrote: Thank you, this works just fine. And I always have at least one menuitem visible, so there is no need to hide the menu itself, but it i

Re: [SailfishDevel] show/hide pulley menu items

2014-03-10 Thread Vivian Brégier
Thank you, this works just fine. And I always have at least one menuitem visible, so there is no need to hide the menu itself, but it is a good thing to keep in mind. Strangely, https://sailfishos.org/sailfish-silica/qml-sailfishsilica-menuitem-members.htmldoes not reference this attribute. 201

Re: [SailfishDevel] show/hide pulley menu items

2014-03-10 Thread dcaliste
There is the visible attribute that can be set of each menuitem. In addition, don't forget to put the visible attribute of the pulley menu itself to false if there is no visible menuitem, to avoid empty pulley menu. Damien. À Mon Mar 10 2014 11:29:13 GMT+0100 (CET), Vivian Brégier a écrit : >H

[SailfishDevel] show/hide pulley menu items

2014-03-10 Thread Vivian Brégier
Hi, I am trying to have the pulley menu of my app depend on the app context. I want some menuitem to be hidden when a certain condition is false. I did not find any attribute in MenuItem class to do this. Is it possible to do it in qml ? Maybe using javascript ? Thank you for your help. -- Viv