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. Data property in QDeclarativeItem. what is it?

Data property in QDeclarativeItem. what is it?

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

    Hello

    Can some one please explain to me what is the data property in QDeclarativeItem
    and if it possible how can i change it to have a different content
    anf if i change the content is it change in the view automatically

    thanks Moti

    1 Reply Last reply
    0
    • V Offline
      V Offline
      veeeee_d
      wrote on last edited by
      #2

      Hello. The data method is used to retrieve data that you have yourself set beforehand with setData.

      You can find more information here: http://doc.qt.nokia.com/4.7/qgraphicsitem.html#data

      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