Results 1 to 2 of 2

Thread: resize qtable according to frame

  1. #1
    Join Date
    Aug 2012
    Posts
    19
    Thanks
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default resize qtable according to frame

    Screenshot-1.jpg

    I have a qtabe which i inserted in a frame. but when i maximize the window, the qtable inside the window doesnt resize accordingly...help..
    Qt Code:
    1. table=new Q3Table(25000,10,ui->bframe);
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: resize qtable according to frame

    What is with the spate of people using Qt3/Qt3 support widgets lately?
    From the Q3Table docs (emphasis mine):
    This class is part of the Qt 3 support library. It is provided to keep old source code working. We strongly advise against using it in new code. See Porting to Qt 4 for more information.

    The answer is the same anyway: use a layout to manage the content of the frame.

  3. The following user says thank you to ChrisW67 for this useful post:

    decipher (31st August 2012)

Similar Threads

  1. Video Parsing - Frame by Frame
    By ctote in forum Qt Programming
    Replies: 3
    Last Post: 15th February 2010, 18:30
  2. Simple frame control doesn't resize when I hide()
    By MrGarbage in forum Qt Programming
    Replies: 2
    Last Post: 29th August 2007, 22:32
  3. Previous frame inner to this frame(corrupt stack?)
    By coralbird in forum Qt Programming
    Replies: 1
    Last Post: 28th May 2007, 01:35
  4. QTable resize problem with large tables
    By Robzzz in forum Newbie
    Replies: 3
    Last Post: 22nd May 2006, 14:13
  5. Previous frame inner to this frame(corrupt stack?)
    By coralbird in forum Qt Programming
    Replies: 17
    Last Post: 29th April 2006, 01:42

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.