Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Adding Hotkeys

$
0
0
Hey! So I am building my browser and I was wondering if there was a way that I could add hotkeys. For example option/alt would highlight the searchbar, or command-f makes the window fullscreen. I have the fullscreen code right here: void MainWindow::on_actionFullscreen_triggered() {     setWindowState(Qt::WindowFullScreen); } Is there a way to add hotkey functionality to this code? Thanks!

Viewing all articles
Browse latest Browse all 18427

Trending Articles