Results 1 to 2 of 2

Thread: Q_property

  1. #1
    Join Date
    Nov 2015
    Posts
    67

    Default Q_property

    Qt Code:
    1. Q_PROPERTY(QList<int> myList MEMBER myList)
    To copy to clipboard, switch view to plain text mode 

    How can i write with QMetaProperty .write() function in this list? I mean append something with this .write function to the list.

    returning the metaProperty is no problem, programm is what to type in WRITE in the property. Nothing works.

    Any help?

    thx

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,418
    Thanks
    37
    Thanked 1,545 Times in 1,495 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Q_property

    Maybe you could show some of the "nothing works" instead of letting everyone guess what you have actually tried.

    Cheers,
    _

Similar Threads

  1. Pointer in Q_PROPERTY
    By pkorzeniewski in forum Qt Programming
    Replies: 3
    Last Post: 20th September 2012, 09:32
  2. Q_property
    By micky in forum Qt Programming
    Replies: 2
    Last Post: 23rd April 2012, 18:51
  3. Why and when to use Q_PROPERTY
    By Vanir in forum Qt Programming
    Replies: 4
    Last Post: 22nd November 2007, 09:25
  4. How to Use Q_PROPERTY
    By mitesh_modi in forum Qt Programming
    Replies: 7
    Last Post: 20th June 2006, 14:49
  5. Pointers and Q_PROPERTY
    By andersin in forum Qt Programming
    Replies: 3
    Last Post: 1st March 2006, 14:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.