Results 1 to 16 of 16

Thread: Cannot resize QTableView within a QWidget

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #14
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Cannot resize QTableView within a QWidget

    If you change a file containing Qt code and start the build process, "Qt" doesn't "touch" your file, the C++ compiler does. It is completely no difference whether your project uses Qt or not. If changes made in the file are not reflected then it means the file was not recompiled or that what you see doesn't come from the file you thought it comes from. Sometimes people have two files with the same name and simply change the wrong one or they have two copies of code producing some result in their project and they are changing one but then looking at results of the other. To verify whether any of these is the case, the simplest way is to make a syntax error in the file. If the project builds afterwards then it means the compiler didn't even parse the source file (again, Qt having nothing to do with that as it is only used runtime).

    The code in your initial post looks correct and should provide a valid layout setup.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. The following user says thank you to wysota for this useful post:

    ZikO (10th September 2012)

Similar Threads

  1. how to resize Qmainwindow with Qwidget ?
    By zeynepb.bil in forum Qt Programming
    Replies: 10
    Last Post: 28th September 2017, 23:48
  2. Replies: 1
    Last Post: 1st May 2010, 23:03
  3. Replies: 3
    Last Post: 1st April 2010, 23:56
  4. Qwidget resize delay problem
    By zl2k in forum Qt Programming
    Replies: 2
    Last Post: 10th November 2008, 14:02
  5. Resize QWidget in QMainWindow
    By aamer4yu in forum Qt Programming
    Replies: 1
    Last Post: 8th March 2007, 12:16

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.