Results 1 to 2 of 2

Thread: SizeHint problem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2011
    Posts
    9
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Default SizeHint problem

    Hi
    I'm learning Qt.
    I was trying a test program from a book, but I've got an error:

    Qt Code:
    1. QWidget::setMinimumSize: (/findDialog) Negative sizes (0,-1) are not possible
    2. QWidget::setMaximumSize: (/findDialog) Negative sizes (16777215,-1) are not possible
    To copy to clipboard, switch view to plain text mode 

    the code's in attachment

    How to fix it?
    Attached Files Attached Files

Similar Threads

  1. How to reimplement sizeHint()?
    By Septi in forum Qt Programming
    Replies: 0
    Last Post: 6th July 2010, 13:07
  2. sizeHint() and heightForWidth(int) problem
    By nifei in forum Qt Programming
    Replies: 1
    Last Post: 12th March 2009, 13:36
  3. sizeHint()
    By sm in forum Newbie
    Replies: 11
    Last Post: 22nd January 2008, 03:59
  4. sizeHint
    By eric in forum Newbie
    Replies: 1
    Last Post: 8th January 2008, 16:18
  5. invalid sizeHint()
    By roleroz in forum Qt Programming
    Replies: 2
    Last Post: 25th August 2006, 22:11

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.