Results 1 to 7 of 7

Thread: scrollbars strange behavior

Threaded View

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

    Default Re: scrollbars strange behavior

    Quote Originally Posted by siniy View Post
    I don't think so beacouse I'm just using standart QSqlRelationTabelModel.
    Whenever this model submits its data to the storage, it is also being refreshed (which does a reset of the model), so if you use any other edit strategy than QSqlTableModel::OnManualSubmit, then you experience the behaviour I described in my previous post. Try changing the edit strategy and you'll see the view starts to behave properly. I suggest you use manual submit and submit the data just before you exit the application (or when all views using the model are closed).

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

    siniy (29th December 2006)

Similar Threads

  1. very strange behaviour
    By regix in forum Qt Programming
    Replies: 23
    Last Post: 20th July 2006, 17:38
  2. QComboBox +SUSE10.0 +qt4.1 strange behavior
    By antonio.r.tome in forum Qt Programming
    Replies: 6
    Last Post: 20th March 2006, 17:49

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.