From fab6d290cc1a94a351a12418373c3690cc8f0e43 Mon Sep 17 00:00:00 2001 From: JT Pennington Date: Sat, 31 Dec 2016 15:34:09 -0800 Subject: Add basic keyboard shortcuts --- src-qt5/desktop-utils/lumina-archiver/MainUI.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src-qt5/desktop-utils/lumina-archiver/MainUI.cpp') diff --git a/src-qt5/desktop-utils/lumina-archiver/MainUI.cpp b/src-qt5/desktop-utils/lumina-archiver/MainUI.cpp index c98b64fb..e465cdf8 100644 --- a/src-qt5/desktop-utils/lumina-archiver/MainUI.cpp +++ b/src-qt5/desktop-utils/lumina-archiver/MainUI.cpp @@ -43,6 +43,12 @@ MainUI::MainUI() : QMainWindow(), ui(new Ui::MainUI){ connect(ui->tree_contents, SIGNAL(itemDoubleClicked(QTreeWidgetItem*, int)), this, SLOT(ViewFile(QTreeWidgetItem*)) ); connect(ui->actionUSB_Image, SIGNAL(triggered()), this, SLOT(BurnImgToUSB()) ); + //Set Keyboard Shortcuts + ui->action_New->setShortcut(tr("CTRL+N")); + ui->action_Open->setShortcut(tr("CTRL+O")); + ui->action_Quit->setShortcut(tr("CTRL+Q")); + ui->actionExtract_All->setShortcut(tr("CTRL+E")); + ui->progressBar->setVisible(false); ui->label_progress->setVisible(false); ui->label_progress_icon->setVisible(false); -- cgit