Results 1 to 2 of 2

Thread: Error in put one QWidget in another QWidget

  1. #1
    Join Date
    Apr 2008
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Question Error in put one QWidget in another QWidget

    When I write a QWidget to display a certain webpage ,just as a little web browser. If I just display the only Qwidget ,there is nothing wrong with it.
    But when I put the QWidget in another QWidget , It just not display.
    Any one can tell me why !

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Error in put one QWidget in another QWidget

    How are you putting one widget in another widget ??
    may be the widget u put i overriding the display.

    use layouts to add widgets and set the layout on the main window or widget.

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.