Re: [SailfishDevel] show/hide pulley menu items
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 properties etc. Yes there is a danger of link rot, and it is not that hard to find the same information via google, but a direct link to the correct version of the Qt Docs would make life a little easier. Zitat von Andrey Kozhevnikov coderusin...@gmail.com: 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 is a good thing to keep in mind. Strangely, https://sailfishos.org/sailfish-silica/qml-sailfishsilica-menuitem-members.html does not reference this attribute. 2014-03-10 13:05 GMT+01:00 dcali...@free.fr mailto:dcali...@free.fr: 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 : 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. -- Vivian Brégier http://www.are-ata.org/Vivian.vcf ___ SailfishOS.org Devel mailing list -- Vivian Brégier http://www.are-ata.org/Vivian.vcf ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
[SailfishDevel] Infinity count of pages
Hello. How I can realize in sailfish infinity pages loop. For example: MyProfilePage - MyFriendsList - MyFriendProfilePage - MyFriend'sFriendsList - MyFriend'sFriendProfilePage - (...) But there are about 8 menus in profile and each can be opened (in this case using horizontal listview with snap mode to one item doesn't give profit). Thank you. ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Infinity count of pages
Den 11. mars 2014 21:18, skrev Oleg Linkin: Hello. How I can realize in sailfish infinity pages loop. For example: MyProfilePage - MyFriendsList - MyFriendProfilePage - MyFriend'sFriendsList - MyFriend'sFriendProfilePage - (...) But there are about 8 menus in profile and each can be opened (in this case using horizontal listview with snap mode to one item doesn't give profit). I don't understand the question. What's wrong with using, e.g., pageStack.push(profilepage.qml, profileproperties) and such? Or don't you want people to be able to backtrack? If not, you could use replace/replaceAbove instead of push, would that work? ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Infinity count of pages
How much pages will be in stack If I want to open profile of friend of friend of friend of my friend? В письме от 11 марта 2014 22:19:24 пользователь Ove Kåven написал: Den 11. mars 2014 21:18, skrev Oleg Linkin: Hello. How I can realize in sailfish infinity pages loop. For example: MyProfilePage - MyFriendsList - MyFriendProfilePage - MyFriend'sFriendsList - MyFriend'sFriendProfilePage - (...) But there are about 8 menus in profile and each can be opened (in this case using horizontal listview with snap mode to one item doesn't give profit). I don't understand the question. What's wrong with using, e.g., pageStack.push(profilepage.qml, profileproperties) and such? Or don't you want people to be able to backtrack? If not, you could use replace/replaceAbove instead of push, would that work? ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list