Results 1 to 3 of 3

Thread: Problem in porting Main window on linux

  1. #1
    Join Date
    Apr 2006
    Posts
    28
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Problem in porting Main window on linux

    Created main window usting Qt Designer, added widgets in nested layouts.
    But when I am porting the code on bigger screen , the window size is increasing, but widgets are not scaling on the the bigger screen.
    Pls suggest

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Problem in porting Main window on linux

    Most propably you forgot to set the top level layout (for the main window itself).
    Open context menu over the main window: layout->layout [horizontally|vertically|in grid]..
    J-P Nurmi

  3. #3
    Join Date
    Apr 2006
    Posts
    28
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problem in porting Main window on linux

    Quote Originally Posted by jpn
    Most propably you forgot to set the top level layout (for the main window itself).
    Open context menu over the main window: layout->layout [horizontally|vertically|in grid]..

    Thanks a lot. Its working now.

Similar Threads

  1. accessing my main application window widget
    By jayw710 in forum Newbie
    Replies: 8
    Last Post: 15th November 2007, 19:33
  2. How to capture exit slot of main window
    By jyoti kumar in forum Newbie
    Replies: 2
    Last Post: 31st May 2006, 07:06
  3. problem of porting from windows to linux
    By jyoti kumar in forum Qt Programming
    Replies: 4
    Last Post: 22nd May 2006, 08:42
  4. cannot make a main window modal
    By Dark_Tower in forum Qt Programming
    Replies: 12
    Last Post: 23rd March 2006, 10:21
  5. Main window
    By Michiel in forum Qt Tools
    Replies: 1
    Last Post: 20th March 2006, 23:54

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.