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. Property Access In Designer
Qt 6.11 is out! See what's new in the release blog

Property Access In Designer

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

    Hi,
    I am currently developping an applycation base on QML component. I already developpe some compnents, on is called TPL. I am using:

    • QTQuick 1.1,
    • QTcreator 2.5.82
    • QT 4.8

    Inside this component there are many "Variable" defined as "Property int/real/string".
    I would like to only access some of them in the designer interface, because moste of them are only necessary internally.
    I would say something like Private and Public component. Can someone tell me how to do this??
    see the illustration of the designer below:
    !http://img339.imageshack.us/img339/8986/propertiesaccess.jpg(Designer interface)!

    1 Reply Last reply
    0
    • _ Offline
      _ Offline
      _rmn
      wrote on last edited by
      #2

      Hello,
      in qml private properties should begin with "__". This properties won't be shown in QML designer.
      See more here: http://doc.qt.digia.com/qt/qml-coding-conventions.html#private-properties

      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