Results 1 to 3 of 3

Thread: Use QWidget derived class in Dialog

  1. #1

    Default Use QWidget derived class in Dialog

    Hello, i have a problem:

    i have created a dialog in qt designer and i want a QWidget derived class to be shown there in a box, how can i do that?

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Use QWidget derived class in Dialog

    Place a QWidget on the form and promote it as your custom widget.
    J-P Nurmi

  3. #3

    Default Re: Use QWidget derived class in Dialog

    thanks, that works great. you really saved my day, have been trying for hours and now its all ok with a few clicks and like 3 lines of code

Similar Threads

  1. class QHBoxLayout
    By csvivek in forum Installation and Deployment
    Replies: 2
    Last Post: 10th April 2008, 08:57
  2. Replies: 2
    Last Post: 20th September 2007, 13:27
  3. Delayed Rendering of QTabWidget Tabs
    By mclark in forum Qt Tools
    Replies: 13
    Last Post: 14th May 2007, 23:53
  4. Signal/slot looking in base class, not derived class
    By georgie in forum Qt Programming
    Replies: 2
    Last Post: 12th May 2006, 08:36
  5. Replies: 1
    Last Post: 2nd May 2006, 22:11

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.