Gh0str1d3r
19th July 2010, 15:42
Hi,
I am using a QTreeView and want to jump to the last selected item at startup. This, unfortunately, does not work as I want it to, because the item is selected before the widget is painted and therefore, during the filling and reordering of the related QFileSystemModel, the selection moves out of the visible area. Any suggestions how to achieve the wanted behavior (i.e. the selection being in the view after the GUI is fully shown)?
Thanks for help.
I am using a QTreeView and want to jump to the last selected item at startup. This, unfortunately, does not work as I want it to, because the item is selected before the widget is painted and therefore, during the filling and reordering of the related QFileSystemModel, the selection moves out of the visible area. Any suggestions how to achieve the wanted behavior (i.e. the selection being in the view after the GUI is fully shown)?
Thanks for help.