Quote Originally Posted by ChrisW67 View Post
Put the graph widget and table widget into a QStackedWidget, which is the central widget of the QMainWindow, and have your menu actions switch between the two pages in the stack.
Thank you for your reply. Do you mind giving me at bit more details (I am really new to Qt/Qwt/NightCharts). If you look at my code earlier I have used plotData() (a data plot with Qwt) and paint() (a pie chart with NightCharts) as two slots which are to be activated with two different menu-clicks.
Thank you for your time.