Results 1 to 3 of 3

Thread: QTableView contents change when QDialog is executed

  1. #1
    Join Date
    Jan 2012
    Location
    Canary Islands, Spain
    Posts
    86
    Thanks
    4
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default QTableView contents change when QDialog is executed

    I'm having an strange (I think is strange), my app has a QTableView whit a lot f rows, when a row is double clicked (row contains zip files), a QDialog opens and shows the zip file contentes in a QTableWidget. All seems work well, but while the QDialog is open, the app's QTableView's icons are hidden, some column's text dissapear.... when the QDialog is closed, all is ok again, the icons are visible again, the text came back....

    Any idea of what could be the reason?

    Thanks and sorry if there is not code posted, the QTableView is involved in a lot of code.

    Sorry for my english.

  2. #2
    Join Date
    May 2012
    Posts
    136
    Thanks
    2
    Thanked 27 Times in 24 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QTableView contents change when QDialog is executed

    Is there a parent set for the QDialog?

  3. #3
    Join Date
    Jan 2012
    Location
    Canary Islands, Spain
    Posts
    86
    Thanks
    4
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: QTableView contents change when QDialog is executed

    Ok, i've foun the problem, a temporally QDir::setCurren() was buggin the path
    Last edited by aguayro; 5th November 2012 at 16:04.

Similar Threads

  1. scaling all contents of a QTableView
    By JoZCaVaLLo in forum Qt Programming
    Replies: 0
    Last Post: 9th March 2012, 15:47
  2. Replies: 3
    Last Post: 19th December 2011, 16:09
  3. QTableView resizing to contents.
    By chris_helloworld in forum Qt Programming
    Replies: 2
    Last Post: 24th November 2010, 13:43
  4. update tab's title when contents change
    By alexei in forum Newbie
    Replies: 3
    Last Post: 27th September 2010, 07:10
  5. Qt::WA_DeleteOnClose while a child QDialog is executed
    By nooky59 in forum Qt Programming
    Replies: 4
    Last Post: 11th July 2008, 12:45

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.