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. C++ context properties and custom components.. how??
Forum Updated to NodeBB v4.3 + New Features

C++ context properties and custom components.. how??

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

    Hi, I have several instances of a c++ type set as context properties "zoneA", "zoneB", and "zoneC". I'd like to be able to create ZoneUi.qml with something like a "target" property and create them from the main ui qml file like "ZoneUi { target: zoneA }".

    If these weren't context properties created in c++ I could use a Loader, but they are.

    At this point I'd be happy to set zoneA to a variant property, but that doesn't even work..

    Suddenly after a year or more using qml I feel like I know nothing. :(

    Help!

    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