Results 1 to 3 of 3

Thread: Qwt : 2 plot on the same widget

  1. #1
    Join Date
    May 2008
    Posts
    276
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qwt : 2 plot on the same widget

    I have a widget, with a vertical layout.
    I build two qwtPlot and add them to the layout.
    All works fine but I am unable to resize the window.
    I can only resize horizontally but not vertically.
    Why?

  2. #2
    Join Date
    Apr 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qwt : 2 plot on the same widget

    Quote Originally Posted by giusepped View Post
    I have a widget, with a vertical layout.
    I build two qwtPlot and add them to the layout.
    All works fine but I am unable to resize the window.
    I can only resize horizontally but not vertically.
    Why?
    Sorry to post a "fake" answer but I'm trying to embed a qwt plot in a QGridLayout.
    The GridLayout is itself constructed when I call the constructor for my class of type QWidget.

    I would like to know how can I embed the plot in my QWidget in order to have it displayed together with buttons and edit lines...

    Could you please pst some code if you can?!

    Thanks you in advance and sorry if I cannot answer to your question.

    R

  3. #3
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,241
    Thanked 860 Times in 809 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qwt : 2 plot on the same widget

    QwtPlot is a QWidget and there is nothing special about organizing it in Qt layouts.

    Uwe

Similar Threads

  1. QDockWidget inside another widget in the center?
    By Antebios in forum Qt Programming
    Replies: 1
    Last Post: 16th February 2010, 07:06
  2. Replies: 4
    Last Post: 10th October 2009, 17:59
  3. Qwt overrides Widget background
    By garfield in forum Qwt
    Replies: 1
    Last Post: 18th December 2007, 08:16
  4. Qwt plot problem on compile
    By sincnarf in forum Qwt
    Replies: 2
    Last Post: 14th October 2007, 11:36
  5. My own scale widget in Qwt
    By igrms in forum Qwt
    Replies: 7
    Last Post: 15th June 2006, 21:18

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.