PDA

View Full Version : [Solved] How to access tableView from delegate?



selli69
9th January 2016, 21:56
Hi there,

I've searched a lot, but i cant find anything usefull for C++, only for QtQuick. Maybe its too obvious and i do not see the wood for the trees. If so, i apologize forward...

My question:

Is it possible to get a pointer to the tableView inside the code of a delegate that this view uses? I want to alter the view from within the delegate.

Thanks in advance!
selli

selli69
9th January 2016, 23:58
Solved this problem by passing a pointer to the tableViev in the constructor.

Thanks anyway...