Results 1 to 3 of 3

Thread: Qt - catching interrupts

  1. #1
    Join Date
    Jan 2008
    Posts
    27
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt - catching interrupts

    I am using Qt on an embedded ARM dev board. It has a few push buttons that I would like to use as control for my Qt application.

    Does anyone have any ideas on how I can get Qt to catch interrupts and then do a slot action on it? I would like to basically map some of the buttons as the keyboard up-down-left-right arrows.

    For instance if I have a ListView, I would like to be able to use buttons to scroll up and down the list.

    If anyone has any suggestions or readings regarding this.

    Thanks for the help.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Qt - catching interrupts

    J-P Nurmi

  3. #3
    Join Date
    Jan 2006
    Location
    Socorro, NM, USA
    Posts
    29
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Qt - catching interrupts

    Quote Originally Posted by rishid View Post
    I am using Qt on an embedded ARM dev board. It has a few push buttons that I would like to use as control for my Qt application.

    Does anyone have any ideas on how I can get Qt to catch interrupts and then do a slot action on it? I would like to basically map some of the buttons as the keyboard up-down-left-right arrows.

    For instance if I have a ListView, I would like to be able to use buttons to scroll up and down the list.

    If anyone has any suggestions or readings regarding this.

    Thanks for the help.
    I assume you are talking about hardware interrupts. Qt is not an OS, so you cannot "catch interrupts" using Qt but have to install your own OS-base IRQ handler.
    There are 10 people in the world. Those who understand binary and those who don't.

Similar Threads

  1. Catching XEvents with x11EventFilter
    By colfax4 in forum Qt Programming
    Replies: 1
    Last Post: 21st May 2007, 05:27

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.