maverick_pol
8th May 2007, 09:17
Hi guys,
I have created a graphics view in the designer. I also have a class that works with implementing some solutions for the view. So I create the class object(giving the ui.GraphicsView using refrence -> so the class could change it).
But when I try to set context Menu for the Scene(which is also a member of that class -> add to the graphicsView in the constructor) or the GraphicsView It doesn not show.
I have implemented it for the main window and it worked, but When I try to use context menu for the view it does not show. Maybe there is a problem with passing the ui.GraphicsView(created in the Designer) as a reference and then creating it's context menu? Yet I am looking for a solution. Maybe someone had this kind of dilema.
Beforehand thanks!
Maverick
P.S.
Passing the ui.GraphicsView as a reference should do the job, but doesn not work. Or maybe the problem is somewhere else. ANy hints appreciated.
I have created a graphics view in the designer. I also have a class that works with implementing some solutions for the view. So I create the class object(giving the ui.GraphicsView using refrence -> so the class could change it).
But when I try to set context Menu for the Scene(which is also a member of that class -> add to the graphicsView in the constructor) or the GraphicsView It doesn not show.
I have implemented it for the main window and it worked, but When I try to use context menu for the view it does not show. Maybe there is a problem with passing the ui.GraphicsView(created in the Designer) as a reference and then creating it's context menu? Yet I am looking for a solution. Maybe someone had this kind of dilema.
Beforehand thanks!
Maverick
P.S.
Passing the ui.GraphicsView as a reference should do the job, but doesn not work. Or maybe the problem is somewhere else. ANy hints appreciated.