[vlc-devel] QDockWidget and resizing.

Jean-Baptiste Kempf jb at videolan.org
Wed Dec 19 19:47:37 CET 2007


On Mon, Dec 17, 2007, Andrew Medico wrote :
> On Dec 16, 2007 3:09 PM, Benjamin Sergeant <bsergean at gmail.com> wrote:
> > Just trying to guess:
> >
> > What you could try: overwrite resizeEvent and tell it to don't resize
> > horizontally.
> > http://doc.trolltech.com/4.3/qwidget.html#resizeEvent
> 
> >From the documentation:
> "When resizeEvent() is called, the widget already has its new geometry."
> 
> Overriding QWidget::resizeEvent() to prevent resizing won't work,
> because, per above, the widget has already been resized when the
Yeah, I couln't find yet a solution, I am a bit stucked on that part...

Best Regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/



More information about the vlc-devel mailing list