Results 1 to 12 of 12

Thread: Switching tabs with table views , the grid does not disappear.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Switching tabs with table views , the grid does not disappear.

    The redraw happens after endInsert/RemoveRows/Columns() and then the internal data structure is used to draw the cells, rowCount() must then match the internal rowCount().

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

    d_stranz (11th May 2019)

  3. #2
    Join Date
    Apr 2017
    Posts
    8
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: Switching tabs with table views , the grid does not disappear.

    Hi everyone,

    finally I found some time to work on the Qt application again.
    (When customers needs new functionality then every thing else has to be put on hold.)

    I fixed the bad behavior of my model implementation and now it works as intended.
    This strange looking error, the grid I mean, and the real problem behind it gave me a lot
    of headache (figurative).
    Thanks to all of you, the problem could be solved.

    Maybe some else can benefit from this thread.

    Many thanks
    Dax

Similar Threads

  1. Replies: 1
    Last Post: 12th June 2014, 07:27
  2. Replies: 4
    Last Post: 10th December 2013, 16:00
  3. Deselect lines in table views
    By miraks in forum Newbie
    Replies: 12
    Last Post: 14th August 2010, 23:16
  4. Replies: 4
    Last Post: 11th September 2006, 14:13
  5. Switching off all tabs in QTabWidget
    By Gopala Krishna in forum Qt Programming
    Replies: 7
    Last Post: 30th August 2006, 17:10

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.