Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

[SOLVED] Problems adding components dynamically

$
0
0
Hi Dheerendra, It’s not in the documentation itself, but in one of the developer guides: http://qt-project.org/wiki/Developer-Guides More precisely: Qt Quick Application Developer Guide for Desktop on page 40 Tool { id: newNoteTool source: "images/add.png" // using the currentPage property of PagePanel and // calling newNoteObject() function without any arguments. onClicked: pagePanel.currentPage.newNoteObject() } However, now that I finished the guide, in page 40 it does call the construction of new note without providing args, but later on it will introduce a new function which will use the args and different function will be called from that place. I guess the writer stripped a little bit too much code out. Good guide nonetheless. Or maybe I just misunderstood something.

Viewing all articles
Browse latest Browse all 4972

Trending Articles