Project

General

Profile

Actions

Support #1329

open

Prevent "Back"-Navigation

Added by Max Quatember almost 12 years ago. Updated almost 12 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
Target version:
-
Start date:
06/19/2012
Due date:
% Done:

0%

Estimated time:

Description

Hi all!

I have an applcation which sometimes shows a dialog with readonly form-widgets.

If, at this situation, the "backspace"-key is pressed the browser navigates "back".

Maybe you can give me a hint to avoid this.

I tried "globalKeyPressed().preventDefaultAction()" but this had no affect.

Best regards,

Max Quatember

Actions #1

Updated by Koen Deforche almost 12 years ago

  • Status changed from New to Feedback
  • Assignee set to Koen Deforche

Hey,

I'm not sure whether you can override this browser behaviour --- I sometimes am caught by it too on sites like GMail.

Perhaps you could work around it with a hidden (or absolutely positioned off-screen) WLineEdit that you give focus ?

Regards,

koen

Actions #2

Updated by Max Quatember almost 12 years ago

Hi Koen!

Thanks for your quick answer, I'll work around it.

Closed ;-)

Best regards,

Max

Actions

Also available in: Atom PDF