Results 1 to 3 of 3

Thread: setFixedSize() not working

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2012
    Posts
    23
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default setFixedSize() not working

    I tried using
    Qt Code:
    1. QWidget::setFixedSize(463, 251);
    To copy to clipboard, switch view to plain text mode 
    but when I run my program it's still resizable. I also tried different things like setting the minimumSize and maximumSize and changing the sizePolicy to fixed but the result is still the same.

    I attached the file for reference.
    Attached Files Attached Files

Similar Threads

  1. Show/Hide height animation with SetFixedSize
    By mnunberg in forum Qt Programming
    Replies: 7
    Last Post: 24th November 2010, 11:11
  2. Resize of main window without setFixedSize
    By ElyBeta in forum Qt Programming
    Replies: 2
    Last Post: 15th July 2010, 15:09
  3. MVC example not working
    By yyiu002 in forum Newbie
    Replies: 1
    Last Post: 30th June 2010, 00:07
  4. Docking widgets setFixedSize and setBaseSize Problem
    By forrestfsu in forum Qt Programming
    Replies: 2
    Last Post: 16th October 2006, 18:20
  5. setFixedSize
    By raphaelf in forum Qt Programming
    Replies: 3
    Last Post: 22nd February 2006, 11:32

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.