Results 1 to 2 of 2

Thread: Qt Widget opens in new window

  1. #1
    Join Date
    Sep 2012
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Qt Widget opens in new window

    Im using Qt creator and i have placed a QWidget in a tab. I promoted the widget to a custom widget. The problem is every time i select the tab, widget opens in a new window and is not embedded into the tab. Does anyone have any advice on how to go about this?

  2. #2
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt Widget opens in new window

    set the parent of that widget.
    Heavy Metal Rules. For those about to rock, we salute you.
    HIT THANKS IF I HELPED.

Similar Threads

  1. How to load file when program opens
    By TomJoad in forum Newbie
    Replies: 1
    Last Post: 10th April 2011, 21:57
  2. Call to QDialog opens 2 windows
    By rdjenner in forum Newbie
    Replies: 5
    Last Post: 14th August 2010, 00:54
  3. Dialog opens twice
    By ulmly in forum Qt Programming
    Replies: 9
    Last Post: 30th June 2009, 19:25
  4. how to set the widget window aways on the top ?
    By tsuibin in forum Qt Programming
    Replies: 2
    Last Post: 14th April 2009, 07:41
  5. Shell opens when start Qt app
    By giusepped in forum Qt Programming
    Replies: 15
    Last Post: 2nd February 2009, 06:20

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.