Results 1 to 10 of 10

Thread: QWidget::resizeEvent is not called

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2007
    Posts
    29
    Thanks
    8

    Lightbulb Re: QWidget::resizeEvent is not called

    so, to sum it up, that means when subclassing QAbstractItemView, i shouldn't set the viewport, but instead add the content as a child to the viewport, right?

    ok, obviously many things have gone wrong at once in my code *goes refactoring*

  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: QWidget::resizeEvent is not called

    Quote Originally Posted by maximAL View Post
    so, to sum it up, that means when subclassing QAbstractItemView, i shouldn't set the viewport, but instead add the content as a child to the viewport, right?
    I'm not sure what kind of content do you mean, but for QAbstractItemView there are index widgets, editors, persistent editors, custom delegates... but of course, some kind of overlays could be implemented as children of viewport too.
    J-P Nurmi

Similar Threads

  1. connect() returns true but slot not called
    By OriginalCopy in forum Qt Programming
    Replies: 6
    Last Post: 4th November 2007, 18:54
  2. QAbstractTableModel::data not being called...
    By steg90 in forum Qt Programming
    Replies: 1
    Last Post: 5th June 2007, 09:52
  3. Drag and Drop, dropEvent not being called?
    By steg90 in forum Qt Programming
    Replies: 36
    Last Post: 22nd May 2007, 07:03
  4. Replies: 4
    Last Post: 10th March 2007, 18:01
  5. QWidget::paintEngine() should no longer be called
    By Greeny in forum Qt Programming
    Replies: 7
    Last Post: 7th February 2007, 10:12

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.