hi,
i'd like to have shortcuts to change between the tabs of a tabwidget. after some searching through the fine manual and some posts i came up with:
which i hope will callCode:
connect(page1, SIGNAL(triggered()), this, SLOT(openPage1()));
(and obviously two other, similar actions and functions for the other two tabs.Code:
void MainWindow::openPage1() { tabWidget->setCurrentIndex(0); }
nothing happens. i also tried to set the translation to Strg+F1 in linguist as i am using the app in german. Where am i going wrong?