I took another stab and am calling setWindowRectangle() from the GLWidgets
parent resizeEvent() function and everything seems to be working.  So it
looks like we can leave GLWidget's resizeEvent() function as protected.

Thanks for the help,
Chuck

On Thu, Jun 9, 2011 at 5:43 AM, PC John <[email protected]> wrote:

> Hi Robert and Chuck,
>
> > What methods for resinging are you thinking of John?
>
> as we were speaking about Qt resizeEvent, I had in mind Qt methods like
> QWidget::resize(), QWidget::setGeometry(), QWidget::setFixedSize(),...
> But I am not sure at the moment what is the functionality that Chuck is
> trying
> to implement...
>
> > If it turns out that there isn't a sensible workaround for Chuck I'm
> > happy to move the resize back into
> > public scope, I don't want to do this if it isn't neccessary though.
>
> I very agree with this.
> John
>
>
> > ------------ Original message ------------
> > From:  Robert Osfield <[email protected]>
> > Subject:  Re: [osg-submissions] improved osgQt::GraphicsWindowQt
> > Date:  9. 6. 2011  13:15:07
> > ----------------------------------------
> > Hi John and Chuck,
> >
> > On Thu, Jun 9, 2011 at 8:30 AM, PC John <[email protected]> wrote:
> > > It looks like you are trying to resize the widget. But there are other
> > > methods for making the widget to change its size. Can these work for
> > > you? Or, what are you trying to do?
> >
> > What methods for resinging are you thinking of John?
> >
> > There is the GraphisWindowQt::setWindowRectangleImplementation(..)
> > implementation, that will
> > be invoked by GraphicsWindow::setWindowRectangle(..), might this be
> > sufficient?
> >
> > If it turns out that there isn't a sensible workaround for Chuck I'm
> > happy to move the resize back into
> > public scope, I don't want to do this if it isn't neccessary though.
> >
> > Robert.
> > _______________________________________________
> > osg-submissions mailing list
> > [email protected]
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph
> > .org
> _______________________________________________
> osg-submissions mailing list
> [email protected]
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to