I have a number of QGraphicsItems set up to form a tvguide as so:
I would like to capture the users action on the graphicsitem and change the parent QwidgetStack index to a page with details for the selected program.
I have set up a mouseDoubleClickEvent that captures the mouse click, the problem i am having is changing the qwidgetstack index as i cant make a new mainwindow object and connect to a public function as the constructer for the mainwindow controls all the database and downloading, so if i:
newMW = new mainwindow;
newMW.showProgramInfo();
it causes me all sorts of problems.
can anyone suggest a better approach to achieving the desired functionality?
Thanks,
Dubstar_04
Bookmarks