pub struct SizeMode(/* private fields */);
Expand description
This enum is used by QPainter::drawRoundedRect() and QPainterPath::addRoundedRect() functions to specify the radii of rectangle corners with respect to the dimensions of the bounding rectangles specified.
C++ enum: Qt::SizeMode
.
This enum is used by QPainter::drawRoundedRect() and QPainterPath::addRoundedRect() functions to specify the radii of rectangle corners with respect to the dimensions of the bounding rectangles specified.
This enum was introduced or modified in Qt 4.4.
Implementations§
source§impl SizeMode
impl SizeMode
sourcepub const AbsoluteSize: SizeMode = _
pub const AbsoluteSize: SizeMode = _
Specifies the size using absolute measurements. (C++ enum variant: AbsoluteSize = 0
)
sourcepub const RelativeSize: SizeMode = _
pub const RelativeSize: SizeMode = _
Specifies the size relative to the bounding rectangle, typically using percentage measurements. (C++ enum variant: RelativeSize = 1
)
Trait Implementations§
source§impl PartialEq for SizeMode
impl PartialEq for SizeMode
impl Copy for SizeMode
impl Eq for SizeMode
impl StructuralEq for SizeMode
impl StructuralPartialEq for SizeMode
Auto Trait Implementations§
impl RefUnwindSafe for SizeMode
impl Send for SizeMode
impl Sync for SizeMode
impl Unpin for SizeMode
impl UnwindSafe for SizeMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more