Results 1 to 2 of 2

Thread: Qt5 auto repeat

  1. #1
    Join Date
    Dec 2015
    Posts
    1
    Thanks
    1
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Qt5 auto repeat

    Hi,

    We are using a keypad as input device for a project.

    When using Qt4 we created a QWSKeyboardHandler derived class and used the beginAutoRepeat() to periodically send a specified key press until endAutoRepeat() was called. In Qt5, it seems like QPA has replaced QWS so I can no longer use these functions.

    Could anyone suggest any other solution to this problem? Or point me in the right direction to porting my code, please?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,419
    Thanks
    37
    Thanked 1,546 Times in 1,496 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt5 auto repeat

    I think the QPA system uses input plugins http://doc.qt.io/qt-5/embedded-linux.html#input

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    chocoleet (29th December 2015)

Similar Threads

  1. QMediaPlayer repeat sound
    By alenn.masic in forum Qt Programming
    Replies: 0
    Last Post: 21st February 2013, 14:46
  2. Replies: 1
    Last Post: 3rd May 2010, 17:31
  3. keyPressEvent - auto-repeat immediately
    By Macok in forum Qt Programming
    Replies: 1
    Last Post: 16th March 2009, 05:31
  4. Keyboard auto repeat
    By akiross in forum Qt Programming
    Replies: 7
    Last Post: 4th March 2007, 16:05
  5. How to disable auto-repeat?
    By lumber44 in forum Qt Programming
    Replies: 1
    Last Post: 24th February 2006, 09:20

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.