Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Question about Row element in NoteToolbar.qml of developer guide "QtQuickApplicationGuide4Desktop.pdf"
Forum Updated to NodeBB v4.3 + New Features

Question about Row element in NoteToolbar.qml of developer guide "QtQuickApplicationGuide4Desktop.pdf"

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.1k 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.
  • J Offline
    J Offline
    jinlin
    wrote on last edited by
    #1

    Hi guys, I'm a newbie to Qt and I'm following the developer guide to ramp up on it.

    The developer guide I'm referring to is:
    http://get.qt.nokia.com/developerguides/qtquickdesktop/QtQuickApplicationGuide4Desktop.pdf

    On page 52, where we suppose to implement the animation effect for the little red X for the NoteToolBar,
    there is this thing we need to do(it's missing from the actual pdf, but the attached source has it, so it's no big deal):
    @// this default property enables us to
    // create QML Items that will be automatically
    // laid out in the Row element and considered as toolItems
    default property alias toolItems: layout.children@

    My question is,, how does the "deleteItem" object we created in Note become the child of Row element "layout"??

    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