|
a/src/qtgui/preview/preview.ui.h |
|
b/src/qtgui/preview/preview.ui.h |
|
... |
|
... |
93 |
LOGDEB1(("Preview::eventFilter: keyEvent\n"));
|
93 |
LOGDEB1(("Preview::eventFilter: keyEvent\n"));
|
94 |
QKeyEvent *keyEvent = (QKeyEvent *)event;
|
94 |
QKeyEvent *keyEvent = (QKeyEvent *)event;
|
95 |
if (keyEvent->key() == Key_Q && (keyEvent->state() & ControlButton)) {
|
95 |
if (keyEvent->key() == Key_Q && (keyEvent->state() & ControlButton)) {
|
96 |
recollNeedsExit = 1;
|
96 |
recollNeedsExit = 1;
|
97 |
return true;
|
97 |
return true;
|
98 |
} else if (keyEvent->key() ==Key_W &&(keyEvent->state() & ControlButton)) {
|
98 |
} else if (keyEvent->key() == Key_Escape) {
|
|
|
99 |
close();
|
|
|
100 |
return true;
|
|
|
101 |
} else if (keyEvent->key() == Key_W &&
|
|
|
102 |
(keyEvent->state() & ControlButton)) {
|
99 |
// LOGDEB(("Preview::eventFilter: got ^W\n"));
|
103 |
// LOGDEB(("Preview::eventFilter: got ^W\n"));
|
100 |
closeCurrentTab();
|
104 |
closeCurrentTab();
|
101 |
return true;
|
105 |
return true;
|
102 |
} else if (dynSearchActive) {
|
106 |
} else if (dynSearchActive) {
|
103 |
if (keyEvent->key() == Key_F3) {
|
107 |
if (keyEvent->key() == Key_F3) {
|