Results 1 to 14 of 14

Thread: EXtend functionality of QListWidget by making a plugin and use it in designer?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #10
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: EXtend functionality of QListWidget by making a plugin and use it in designer?

    Quote Originally Posted by Sisyfos View Post
    Here is onehttp://www.qtforum.org/thread.php?th...ght=Q+PROPERTY), that is asking exactly what i am asking.
    It's not exactly what you are asking. The poster there can't add any properties, and you can't see the ones which are already there.

    So i am starting to think it is not possible.
    I assure you it's possible.

    I think that it is only possible to edit the properties of the base class QWidget even though the documentation vaguely suggests that it is supposed to be possible to make the properties editable in designer by declaring Q_PROPERTY() in the class declaration.
    SO if someone can prove me wrong i will jump with joy.
    Of course it's possible to add new properties and to see existing ones.

    Here you go, you may base your widget on the code attached.
    Attached Files Attached Files
    Last edited by wysota; 13th December 2006 at 23:18. Reason: Added the example code

  2. The following user says thank you to wysota for this useful post:

    Sisyfos (14th December 2006)

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.