widget:
bool event(QEvent *e)
{
qDebug()<<e->type();
}
state :(1) begining:
type name func
203 QEvent::WinIdChange The window system identifer for this native widget has changed
75 QEvent::Polish(修正) The widget is polished
13 QEvent::Move Widget's position changed (QMoveEvent).
14 QEvent::Resize Widget's size changed (QResizeEvent).
17 QEvent::Show Widget was shown on screen (QShowEvent).
24 QEvent::WindowActivate Window was activated.
99 QEvent::ActivationChange A widget's top-level window activation state has changed.
26 QEvent::ShowToParent A child widget has been shown.
74 QEvent::PolishRequest The widget should be polished.
77 QEvent::UpdateRequest The widget should be update
12 QEvent::ApplicationActivated(meybe:doc has no type of 12) This enum has been deprecated. Use ApplicationActivate instead.
state:(2) window missing forcs
25 QEvent::WindowDeactivate(解散) Window was deactivated.
99 QEvent::ActivationChange A widget's top-level window activation state has changed
state:(3) ccome back
24 QEvent::WindowActivate Window was activated
99 QEvent::ActivationChange A widget's top-level window activation state has changed
COMING SOON: about key event ,mouse event, doubledk.. comtext ....................