Commit 432df10a authored by Arthur Crepin-Leblond's avatar Arthur Crepin-Leblond Committed by Guillaume Lazzara
Browse files

Add arrows shortcuts.

        * demo/viewer/browser_widget.cc: prev/next binded to Ctrl+Left/Right.
parent 1f5268f3
2010-08-06 Arthur Crepin-Leblond <crepin@lrde.epita.fr>
Add arrows shortcuts.
* demo/viewer/browser_widget.cc: prev/next binded to Ctrl+Left/Right.
2010-08-06 Arthur Crepin-Leblond <crepin@lrde.epita.fr>
Add shortcuts in Qt interface.
......
......@@ -36,6 +36,8 @@ BrowserWidget::BrowserWidget(QDirModel* files, QString dir)
prev->setIcon(style()->standardIcon(QStyle::SP_ArrowLeft));
next->setIcon(style()->standardIcon(QStyle::SP_ArrowRight));
next->setShortcut(QKeySequence("Ctrl+right"));
prev->setShortcut(QKeySequence("Ctrl+left"));
QLabel* title = new QLabel(tr("Images"));
title->setAlignment(Qt::AlignHCenter);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment