Originally Posted by foxyproxy QAbstractItemModel * QAbstractItemView::model () const Then you have to cast it eventually. That's no problem, but somewhere you create the model and set it to the view, so just store that pointer to a local member and you can access it everywhere very easy.
View Tag Cloud
Forum Rules
Bookmarks