Results 1 to 5 of 5

Thread: QDesigner plugin

  1. #1
    Join Date
    Aug 2008
    Posts
    60
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QDesigner plugin

    Hi,
    I have create a custom layout and would like to add it into the QDesigner as plugin.
    Can you please let me how can I achieve this.

    Thank you in advance.

  2. #2
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

  3. #3
    Join Date
    Aug 2008
    Posts
    60
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QDesigner plugin

    Hi yogeshgokul,

    I have already looked into that.
    And I am able to add my custom widget only if I inherit from QWidget.
    Here my question is I have my custom layout which inherits from QObject, so how can I add my custom layout in QDesigner as plugin.

    Thank you.

  4. #4
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QDesigner plugin

    Quote Originally Posted by h123 View Post
    Here my question is I have my custom layout which inherits from QObject, so how can I add my custom layout in QDesigner as plugin.
    I am not sure its possible, this is nowhere documented. According to docs, only QWidget sub classed components can be integrated in Designer.

  5. #5
    Join Date
    Aug 2008
    Posts
    60
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QDesigner plugin

    Hello people,

    Any idea on this?

    Thank you.

Similar Threads

  1. Trouble with plugin system's documentation
    By niklas in forum Qt Programming
    Replies: 8
    Last Post: 6th March 2009, 22:07
  2. QPluginLoader doesn't load plugin
    By BeS in forum Qt Programming
    Replies: 6
    Last Post: 26th November 2008, 19:12
  3. Plugin implementation question
    By JPNaude in forum Qt Programming
    Replies: 12
    Last Post: 27th August 2008, 20:24
  4. QPluginLoader not recognizing a plugin
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2007, 14:13
  5. plugin loading problem
    By naresh in forum Qt Programming
    Replies: 6
    Last Post: 9th June 2007, 19: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.