PDA

View Full Version : Qwt : 2 plot on the same widget



giusepped
29th November 2008, 04:34
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?

rikseventyseven
11th April 2010, 18:54
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

Uwe
11th April 2010, 20:10
QwtPlot is a QWidget and there is nothing special about organizing it in Qt layouts.

Uwe