Qt/E中用这个
QWSServer
void QWSServer::windowEvent ( QWSWindow * window, QWSServer::WindowEvent eventType ) [signal]
This signal is emitted whenever something happens to a top-level window (e.g., it's created or destroyed), passing a pointer to the window and the event's type in the window and eventType parameters, respectively.