pub struct RenderFlag(/* private fields */);
Expand description
This enum describes how to render the widget when calling QWidget::render().
C++ enum: QWidget::RenderFlag
.
This enum describes how to render the widget when calling QWidget::render().
This enum was introduced or modified in Qt 4.3.
The RenderFlags type is a typedef for QFlags<RenderFlag>. It stores an OR combination of RenderFlag values.
Implementations§
Source§impl RenderFlag
impl RenderFlag
Sourcepub const DrawWindowBackground: RenderFlag
pub const DrawWindowBackground: RenderFlag
If you enable this option, the widget’s background is rendered into the target even if autoFillBackground is not set. By default, this option is enabled. (C++ enum variant: DrawWindowBackground = 1
)
Sourcepub const DrawChildren: RenderFlag
pub const DrawChildren: RenderFlag
If you enable this option, the widget’s children are rendered recursively into the target. By default, this option is enabled. (C++ enum variant: DrawChildren = 2
)
Sourcepub const IgnoreMask: RenderFlag
pub const IgnoreMask: RenderFlag
If you enable this option, the widget’s QWidget::mask() is ignored when rendering into the target. By default, this option is disabled. (C++ enum variant: IgnoreMask = 4
)
Trait Implementations§
Source§impl<T: Into<QFlags<RenderFlag>>> BitOr<T> for RenderFlag
impl<T: Into<QFlags<RenderFlag>>> BitOr<T> for RenderFlag
Source§impl Clone for RenderFlag
impl Clone for RenderFlag
Source§fn clone(&self) -> RenderFlag
fn clone(&self) -> RenderFlag
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more