AU
Size: a a a
W
МВ
МВ
我
class MyEvent : public QEvent {
}
QMainWindow* win = new QMainWindow();
QApplication::postEvent(win, new MyEvent())
T
Adds the event event, with the object receiver as the receiver of the event, to an event queue and returns immediately.
...
When control returns to the main event loop, all events that are stored in the queue will be sent using the notify() function.
Sends event to receiver: receiver->event(event). Returns the value that is returned from the receiver's event handler. Note that this function is called for all events sent to any object in any thread.
AU
我
Т8
W
AS
W