[maemo-developers] Diablo Qt: how to hook into zoomin / zoomout hw keys
From: Ville M. Vainio vivainio at gmail.comDate: Thu Oct 22 13:05:59 EEST 2009
- Previous message: Diablo Qt: how to hook into zoomin / zoomout hw keys
- Next message: GStreamer playbin + MP3 playback on the N900
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Oct 21, 2009 at 4:36 PM, Ville M. Vainio <vivainio at gmail.com> wrote: > I have (in my MainWindow) > > QQQ > > QShortcut* zIn = new QShortcut(QKeySequence::ZoomIn, this); > QShortcut* zOut = new QShortcut(QKeySequence::ZoomOut, this); > > connect(zIn, SIGNAL(activated()), this, SLOT(zoomInPressed())); > connect(zOut, SIGNAL(activated()), this, SLOT(zoomOutPressed())); > > QQQ > > > This works fine on desktop (ctrl +/-). However, on device it doesn't > work. Any ideas what I'm doing wrong? And to spice up the discussion, using simple shortcuts like "a" / "z" works fine on device. So it seems QKeySequence::ZoomIn is not up to scratch. -- Ville M. Vainio http://tinyurl.com/vainio
- Previous message: Diablo Qt: how to hook into zoomin / zoomout hw keys
- Next message: GStreamer playbin + MP3 playback on the N900
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]