[Qt-interest] A design problem

Gabriel M. Beddingfield gabrbedd at gmail.com
Sun May 2 23:47:15 CEST 2010



On Mon, 3 May 2010, lists4pghanghas wrote:

> When I do implement subclasses for my particular use. I find it hard to 
> decide where to handle qt keypress events. Say I have a small gui component 
> that will need some drawable elements as its children and sometimes the 
> parent child hierarchy can go deeper. Now I am faced with the task of 
[snip]

I didn't totally understand what you're trying to do... but 
I think what you want is to use QAction.

     http://doc.qt.nokia.com/4.6/qaction.html
     http://doc.qt.nokia.com/4.6/mainwindows-application.html

-gabriel



More information about the Qt-interest-old mailing list