Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [BUG: QTCOMPONENTS-841] Qt SDK beta Meego 1.2: wrong behavior of the ToolBarLayout properties

[BUG: QTCOMPONENTS-841] Qt SDK beta Meego 1.2: wrong behavior of the ToolBarLayout properties

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • AlicemirrorA Offline
    AlicemirrorA Offline
    Alicemirror
    wrote on last edited by
    #1

    Hi to all,

    developing a native application for N9 I need to show the toolbar with the Back button (arrow icon) to swipe-back some pages but this should be shown only in the 2nd level pages, not on the main page. I tried to adopt two different strategies:

    Setup the toolbar not visible in the PageStackWindow component

    @ ToolBarLayout {
    id: commonTools

        visible: false
        ToolIcon { 
            iconId: "toolbar-back";
            onClicked: {
                pageStack.pop();
            }
        }
    

    @

    Then in all the 2nd level pages I put immediately under the Page main construct

    @ ToolBarLayout {
    visibile: true
    }
    @

    The other check is the opposite way: ToolBarLayout is declared @visible: true@ in the PageStackWindow and set to false only in the page where it should be hidden.

    In both cases the toolbar is always present in the application on both the emulator and the device. What I am not sure is if the process is correct because the documentation is a bit poor.

    Thanks to all for any suggestion. Actually, depending on a system component, I suppose that is a bug. Not sure if a software bug or a lack in documentation. Anyway, here there is the bug report link: http://bugreports.qt.nokia.com/browse/QTCOMPONENTS-841

    Enrico Miglino (aka Alicemirror)
    Balearic Dynamics
    Islas Baleares, Ibiza (Spain)
    www.balearicdynamics.com

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved