pub struct ProcessEventsFlag(/* private fields */);Expand description
This enum controls the types of events processed by the processEvents() functions.
C++ enum: QEventLoop::ProcessEventsFlag.
This enum controls the types of events processed by the processEvents() functions.
The ProcessEventsFlags type is a typedef for QFlags<ProcessEventsFlag>. It stores an OR combination of ProcessEventsFlag values.
See also processEvents().
Implementations§
Source§impl ProcessEventsFlag
impl ProcessEventsFlag
Sourcepub const AllEvents: ProcessEventsFlag
pub const AllEvents: ProcessEventsFlag
All events. Note that DeferredDelete events are processed specially. See QObject::deleteLater() for more details. (C++ enum variant: AllEvents = 0)
Sourcepub const ExcludeUserInputEvents: ProcessEventsFlag
pub const ExcludeUserInputEvents: ProcessEventsFlag
Do not process user input events, such as ButtonPress and KeyPress. Note that the events are not discarded; they will be delivered the next time processEvents() is called without the ExcludeUserInputEvents flag. (C++ enum variant: ExcludeUserInputEvents = 1)
Sourcepub const ExcludeSocketNotifiers: ProcessEventsFlag
pub const ExcludeSocketNotifiers: ProcessEventsFlag
Do not process socket notifier events. Note that the events are not discarded; they will be delivered the next time processEvents() is called without the ExcludeSocketNotifiers flag. (C++ enum variant: ExcludeSocketNotifiers = 2)
Sourcepub const WaitForMoreEvents: ProcessEventsFlag
pub const WaitForMoreEvents: ProcessEventsFlag
Wait for events if no pending events are available. (C++ enum variant: WaitForMoreEvents = 4)
Sourcepub const X11ExcludeTimers: ProcessEventsFlag
pub const X11ExcludeTimers: ProcessEventsFlag
C++ enum variant: X11ExcludeTimers = 8
Sourcepub const EventLoopExec: ProcessEventsFlag
pub const EventLoopExec: ProcessEventsFlag
C++ enum variant: EventLoopExec = 32
Sourcepub const DialogExec: ProcessEventsFlag
pub const DialogExec: ProcessEventsFlag
C++ enum variant: DialogExec = 64
Trait Implementations§
Source§impl<T: Into<QFlags<ProcessEventsFlag>>> BitOr<T> for ProcessEventsFlag
impl<T: Into<QFlags<ProcessEventsFlag>>> BitOr<T> for ProcessEventsFlag
Source§impl Clone for ProcessEventsFlag
impl Clone for ProcessEventsFlag
Source§fn clone(&self) -> ProcessEventsFlag
fn clone(&self) -> ProcessEventsFlag
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more