[Qt-interest] How to make a top level window unresizable?
chandrasekar wagmare
sekarwagmare at gmail.com
Wed Feb 25 05:17:58 CET 2009
thank you very much .. i get it .. it works fine i try simply like this
(graphicsView)
*setFixedSize( QSize())*
On Tue, Feb 24, 2009 at 7:38 PM, Brad Howes <howes at ll.mit.edu> wrote:
> On Feb 24, 2009, at 12:52 AM, chandrasekar wagmare wrote:
>
> > but how can i use it in QGraphicsView() where there is no layout();
>
>
> This works for me:
>
> void
> MyWindow::setFixedSize()
> {
> setSizeGripEnabled( false );
> if ( layout() ) layout()-
> >setSizeConstraint( QLayout::SetFixedSize );
> }
>
> --
> Brad Howes
> Group 42
> MIT Lincoln Laboratory • 244 Wood St. • Lexington, MA 02173
> Phone: 781.981.5292 • Fax: 781.981.3495 • Secretary: 781.981.7420
>
>
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
--
CHANDRU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090225/bbeb97de/attachment.html
More information about the Qt-interest-old
mailing list