Results 1 to 10 of 10

Thread: Class name from QmetaProperty

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2014
    Posts
    60
    Thanks
    4
    Thanked 5 Times in 5 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Class name from QmetaProperty

    hi ,
    i am working on making my own designer widget that looks and functions like qt.But now i needed to know how the property is created.I knew we can get the properties of an widget using QmetaObject and QMetaProperty but my question is will i be able to get the class name of each property.Like object name property comes from QObject and geomentry property comes from QWidget.Is it so that i should hard code myself to model or is there a way to get the classInfo from property.I have attached the image which im trying to achieve any response or related post is appreciated.

    thanks,
    Attached Images Attached Images

Similar Threads

  1. Replies: 5
    Last Post: 13th January 2014, 09:24
  2. Replies: 2
    Last Post: 3rd June 2013, 16:45
  3. Replies: 4
    Last Post: 4th July 2012, 07:37
  4. Replies: 3
    Last Post: 27th December 2008, 19:34
  5. Replies: 3
    Last Post: 18th May 2008, 18:36

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.