[Qt-interest] Get Qt Document from source by hand?

Kermit Mei kermit.mei at gmail.com
Mon Jan 18 10:40:30 CET 2010


Dear all, 

    I found that Qt's line comment always wrote like this:
------------------------------------------------------------
/*!                                                                             
    This event handler, for event \a event, can be reimplemented in
a           
    subclass to receive key press events for the
widget.                        
                                                                                
    A widget must call setFocusPolicy() to accept focus initially
and           
    have focus in order to receive a key press
event.                           
                                                                                
    If you reimplement this handler, it is very important that
you              
    \link QKeyEvent ignore()\endlink the event if you do
not                    
    understand it, so that the widget's parent can interpret
it.                
                                                                                
    The default implementation closes popup widgets if the
user                 
    presses Esc. Otherwise the event is
ignored.                                
                                                                                
    \sa keyReleaseEvent(), QKeyEvent::ignore(),
setFocusPolicy(),               
    focusInEvent(), focusOutEvent(), event(), QKeyEvent, {Tetrix
Example}       
*/

void QWidget::keyPressEvent(QKeyEvent *event)
{
......
}
-----------------------------------------------------

So I wonder know that is there any tools to get the html document from
the source directly, just as Linux Kernel do.

Thanks
Kermit Mei







More information about the Qt-interest-old mailing list