Results 1 to 2 of 2

Thread: qwtplot wont resize

  1. #1
    Join Date
    Apr 2011
    Posts
    58
    Thanks
    1

    Default qwtplot wont resize

    Hi.

    I've a main application.
    In the main application, there are menus. For one of the menus, user can click to open up a qwtplot window to show the spectrogram (i extracted the spectrogram codes from qwt example).

    I can see the spectrogram. But the problem is, it does not fill up the window. When I resize the window etc. the qwt plot (i.e. the spectrogram) simply wont refresh and fill the window. How could I solve this problem? I already have the setCentralWidget for my main window, so I cant use this setCentralWidget again on this separately opened spectrogram window.

    Please help. Thanks!

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,312
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qwtplot wont resize

    Use Qt layouts.

    Uwe

  3. The following user says thank you to Uwe for this useful post:

    marc2050 (1st August 2011)

Similar Threads

  1. Program wont start - Wont even enter main()
    By ComServant in forum General Programming
    Replies: 5
    Last Post: 8th January 2011, 03:44
  2. Qt Opensource 4.5.2 wont compile
    By MarkoSan in forum Installation and Deployment
    Replies: 8
    Last Post: 26th November 2009, 06:56
  3. Replies: 6
    Last Post: 14th May 2009, 12:02
  4. OSX App wont run on other machines
    By December in forum Qt Programming
    Replies: 3
    Last Post: 13th April 2007, 02:23
  5. freebsd 6 -> kdevelop wont uic
    By soul_rebel in forum KDE Forum
    Replies: 0
    Last Post: 5th January 2006, 22:00

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.