[scribus-dev] Handling *all* keystrokes in canvas modes not possible?

Andreas Vox andreas.vox at googlemail.com
Wed Aug 10 11:12:42 UTC 2011



> -----Ursprüngliche Nachricht-----
> Von: Elvis Stansvik [mailto:elvstone at gmail.com]
> Gesendet: Mittwoch, 10. August 2011 11:58
> An: Scribus Development Mailing List
> Betreff: [scribus-dev] Handling *all* keystrokes in canvas modes not
> possible?
...
> 
> I noticed:
> 
> //AV -> CanvasMode
> void ScribusMainWindow::keyPressEvent(QKeyEvent *k)
> 
> I guess "AV" is you avox? Does the comment mean that there's more work
> to be done here on CanvasMode-ifying the code, or was the comment just
> left as a "I was here" kind of comment?

That just means I think this method should be in class CanvasMode, not in 
class ScribusMainWindow.

Are global shortcuts handled here or by Qt itself? I always thought Qt did
that for us.

/Andreas




More information about the scribus-dev mailing list