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. Accesing property from outside the List View
QtWS25 Last Chance

Accesing property from outside the List View

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

    hello people, basically i have these same scenario

    QT-DIR/declarative/modelviews/visualitemmodel/visualitemmodel.qml
    (But instead of rectangles i have GridViews in the VisualItemModel)

    If i declare a property in each rectangle like these "property string year: "2008"

    How can i put these property string inside the small buttons on the bottom (assuming that are bigger) as a label?

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rperezalejo
      wrote on last edited by
      #2

      hello people i need a little help with these....

      In these example:
      QT-DIR/declarative/modelviews/visualitemmodel/visualitemmodel.qml

      Who can i put a custom text inside each rectangle as a name in each button.

      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