Struct qt_core::q_event_loop::ProcessEventsFlag
source · 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
§type Output = QFlags<ProcessEventsFlag>
type Output = QFlags<ProcessEventsFlag>
|
operator.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 moresource§impl Debug for ProcessEventsFlag
impl Debug for ProcessEventsFlag
source§impl From<ProcessEventsFlag> for QFlags<ProcessEventsFlag>
impl From<ProcessEventsFlag> for QFlags<ProcessEventsFlag>
source§fn from(value: ProcessEventsFlag) -> Self
fn from(value: ProcessEventsFlag) -> Self
source§impl From<ProcessEventsFlag> for c_int
impl From<ProcessEventsFlag> for c_int
source§fn from(value: ProcessEventsFlag) -> Self
fn from(value: ProcessEventsFlag) -> Self
source§impl From<i32> for ProcessEventsFlag
impl From<i32> for ProcessEventsFlag
source§impl PartialEq for ProcessEventsFlag
impl PartialEq for ProcessEventsFlag
source§fn eq(&self, other: &ProcessEventsFlag) -> bool
fn eq(&self, other: &ProcessEventsFlag) -> bool
self
and other
values to be equal, and is used
by ==
.