Re: QStackedWidget question
Event functions? Why do you need that? What do these pages contain?
Re: QStackedWidget question
Three of them have graphicview and two ones have treewidgets.Using keypressevent I wanted to control them.
Re: QStackedWidget question
Don't you think you should inherit from the standard widgets and implement the events in those subclasses (you can promote the standard widgets to your subclasses in Designer if you want)? You can also try applying an event filter on those widgets or handle key presses in the stacked widget itself (just make sure it has a proper focus policy set to receive events at all).