Results 1 to 14 of 14

Thread: Can't create my custom QGraphicsView for QDesigner

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Oct 2006
    Posts
    279
    Thanks
    6
    Thanked 40 Times in 39 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Can't create my custom QGraphicsView for QDesigner

    AFAICT you have to add
    Qt Code:
    1. QWidget *customgvPlugin::createWidget(QWidget *parent)
    2. {
    3. return new customgv(0, parent);
    4. }
    To copy to clipboard, switch view to plain text mode 

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

    sincnarf (12th October 2007)

Similar Threads

  1. How to create Custom Slot upon widgets
    By ashukla in forum Qt Programming
    Replies: 6
    Last Post: 8th September 2007, 14:07
  2. Replies: 2
    Last Post: 12th July 2007, 09:55
  3. create custom widgets
    By nimmyj in forum General Discussion
    Replies: 1
    Last Post: 20th November 2006, 08:24
  4. Example HowTo create custom view
    By dexjam in forum Newbie
    Replies: 6
    Last Post: 12th July 2006, 11:06
  5. How to create custom slot in Qt Designer 4.1?
    By jamadagni in forum Qt Tools
    Replies: 31
    Last Post: 18th January 2006, 20:46

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.