Results 1 to 3 of 3

Thread: Form Size on WinCE

  1. #1
    Join Date
    May 2007
    Posts
    106
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Form Size on WinCE

    Hi,

    How can we resize a Qt form (designed in QT Designer) to fit on Windows Mobile Screen? I need to show a dialog in not maximized state and movable but it should fit in the screen. I tried to make widgets small but I am unable to make pueshbuttons and graphicsView smaller than a fixed size. How can I achieve this?

    Regards,
    Manoj

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    258
    Thanks
    22
    Thanked 19 Times in 16 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Form Size on WinCE

    Maybe setting the sizehints will help you.
    http://doc.trolltech.com/4.3/qsizepolicy.html

  3. #3
    Join Date
    May 2007
    Posts
    106
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Form Size on WinCE

    Hi Thanks

    QSizePolicy::Ignored worked for me.

Similar Threads

  1. Qt Designer - Fixed size main form
    By nleverin in forum Newbie
    Replies: 3
    Last Post: 25th April 2008, 19:54
  2. QLabel size policy
    By Caius Aérobus in forum Qt Programming
    Replies: 3
    Last Post: 7th December 2007, 17:57
  3. Simple custom widget won't size properly
    By MrGarbage in forum Qt Tools
    Replies: 2
    Last Post: 9th August 2007, 13:12
  4. Replies: 1
    Last Post: 24th October 2006, 16:40
  5. Qt 4.1.1 linker warnings
    By Matt Smith in forum Installation and Deployment
    Replies: 0
    Last Post: 26th February 2006, 22:14

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.