Sunday, July 6th 2008, 2:05pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, May 12th 2008, 9:10pm

How to add Ctrl+Up and Ctrl+Down bindings to QTextEdit?

Hello, all,
I'm new to Qt, and I noticed that the editor (QTextEdit), unlike many others editors, doesn't support single-line scrolling via Ctrl+Up/Down.
What's the easiest way to add this feature? I suspect it should be fairly easy to do?

TIA
  • Go to the top of the page

2

Tuesday, May 13th 2008, 12:23am

RE: How to add Ctrl+Up and Ctrl+Down bindings to QTextEdit?

try QWidget::addAction
Nicolas
  • Go to the top of the page

Rate this thread