pub struct Stretch(/* private fields */);
Expand description
Predefined stretch values that follow the CSS naming convention. The higher the value, the more stretched the text is.
C++ enum: QFont::Stretch
.
Predefined stretch values that follow the CSS naming convention. The higher the value, the more stretched the text is.
See also setStretch() and stretch().
Implementations§
source§impl Stretch
impl Stretch
sourcepub const AnyStretch: Stretch = _
pub const AnyStretch: Stretch = _
0 Accept any stretch matched using the other QFont properties (added in Qt 5.8) (C++ enum variant: AnyStretch = 0
)
sourcepub const UltraCondensed: Stretch = _
pub const UltraCondensed: Stretch = _
50 (C++ enum variant: UltraCondensed = 50
)
sourcepub const ExtraCondensed: Stretch = _
pub const ExtraCondensed: Stretch = _
62 (C++ enum variant: ExtraCondensed = 62
)
sourcepub const SemiCondensed: Stretch = _
pub const SemiCondensed: Stretch = _
87 (C++ enum variant: SemiCondensed = 87
)
sourcepub const Unstretched: Stretch = _
pub const Unstretched: Stretch = _
100 (C++ enum variant: Unstretched = 100
)
sourcepub const SemiExpanded: Stretch = _
pub const SemiExpanded: Stretch = _
112 (C++ enum variant: SemiExpanded = 112
)
sourcepub const ExtraExpanded: Stretch = _
pub const ExtraExpanded: Stretch = _
150 (C++ enum variant: ExtraExpanded = 150
)
sourcepub const UltraExpanded: Stretch = _
pub const UltraExpanded: Stretch = _
200 (C++ enum variant: UltraExpanded = 200
)
Trait Implementations§
source§impl PartialEq for Stretch
impl PartialEq for Stretch
impl Copy for Stretch
impl Eq for Stretch
impl StructuralEq for Stretch
impl StructuralPartialEq for Stretch
Auto Trait Implementations§
impl RefUnwindSafe for Stretch
impl Send for Stretch
impl Sync for Stretch
impl Unpin for Stretch
impl UnwindSafe for Stretch
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