Hello

so i'am lil newbie and just started learning

I made main window with QStackedWidget, there is QTreeView and QColumnView inside it.

I managed to make QComboBox to swtich betwen pages (treeview and columnview) but i want to have 2 QActions in menubar: first to enable treeview, second to enable columnview.

How to write connection betwen QAction and QStackedWidget to switch pages?

thanks and sorry for meh eng