Results 1 to 4 of 4

Thread: recize window application and all the content

  1. #1
    Join Date
    Jul 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Question recize window application and all the content

    hi. im not a good english speaker or writer. im from venezuela.

    but im here, because i need to know what i have to do to:
    1. recize all the content of my app when users use the recize option of the default window.
    see this pic, for more details:sreenshot
    2. if i can not do it, how can i disable that option of the window. made it invisible, inexistent, delete it!
    3. what is the way of recize the content of my app with the window maximize button.

    here is my proyect( if u need code):
    Ventas_tarjetas.rar


    sorry for my english!!

    and thanks for the answers!

  2. #2
    Join Date
    Feb 2008
    Posts
    153
    Thanks
    40
    Thanked 8 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: recize window application and all the content

    Ok, what you need to learn to use is Qt's grid system. This will automatically resize and fit the application. Look for the button that looks like 3x3 squares.

    Better yet: focus on your whole dialog, and press Ctrl+G. Right click on the part you don't want and click on Remove.
    [WIKI]Building Qt on Windows CE[/WIKI]

  3. #3
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: recize window application and all the content

    Hi,

    first, please attach your images direct at the forum that your post stays consistent and also please use the default font.

    #1: Catchword "Layout". Look in the documentation for "Layout Management".
    #2: See QStatusBar::sizeGripEnabled
    #3: See #1

  4. #4
    Join Date
    Jul 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Thumbs up Re: recize window application and all the content

    thanks to all u. i.ve done what the first answers says and...i realize that the status bar was my problem. i dont need it...by know.
    furthermore, i didnt know that the status bar was an object apart with it own metods.

    thnks to the second reply for remember the rules (i didnt on purpose). and for his answers...i will read the documentation about status bar.

    thanks all you again, my problem is solved!!!

Similar Threads

  1. Replies: 1
    Last Post: 11th June 2010, 09:47
  2. window on top of an application
    By siddhu in forum Qt Programming
    Replies: 9
    Last Post: 16th December 2009, 14:53
  3. Replies: 2
    Last Post: 10th December 2009, 07:01
  4. Multi Window Application in QT/C++
    By pshah.mumbai in forum Newbie
    Replies: 8
    Last Post: 8th July 2008, 17:21
  5. ResizeEvent frame vs window content
    By bitChanger in forum Newbie
    Replies: 2
    Last Post: 14th March 2006, 17:34

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