coderbob
21st February 2008, 08:10
When upArrow, downArrow, scrolling etc in applications such as konqueor, Nautilus, Windows explorer, etc there appears to be a mechanism that if you do not spend approx 1 sec on the item as you scroll it will not load the corresponding contents in the view pane.
This stops loading views that will not be seen anyways due to quick scrolling through items in the tree. I have not looked at the QDirModel code yet to see how Qt implemented this functionality and will ultimately look there if I cannot find a simple answer.
So my questions is there any mechanism I can use in Qt to provide the same functionality as stated above. I figured I could use single shot timers to acheive a similar effect but it did not seem like a very clean solution.
Bob
This stops loading views that will not be seen anyways due to quick scrolling through items in the tree. I have not looked at the QDirModel code yet to see how Qt implemented this functionality and will ultimately look there if I cannot find a simple answer.
So my questions is there any mechanism I can use in Qt to provide the same functionality as stated above. I figured I could use single shot timers to acheive a similar effect but it did not seem like a very clean solution.
Bob