[−][src]Struct qt_gui::q_font::StyleHint
Style hints are used by the font matching algorithm to find an appropriate default family if a selected font family is not available.
C++ enum: QFont::StyleHint
.
Style hints are used by the font matching algorithm to find an appropriate default family if a selected font family is not available.
Methods
impl StyleHint
[src]
impl StyleHint
[src]
pub const Helvetica: StyleHint
[src]
is a synonym for SansSerif
. (C++ enum variant: Helvetica = 0
)
pub const SansSerif: StyleHint
[src]
the font matcher prefer sans serif fonts. (C++ enum variant: SansSerif = 0
)
pub const Times: StyleHint
[src]
is a synonym for Serif
. (C++ enum variant: Times = 1
)
pub const Serif: StyleHint
[src]
the font matcher prefers serif fonts. (C++ enum variant: Serif = 1
)
pub const Courier: StyleHint
[src]
a synonym for TypeWriter
. (C++ enum variant: Courier = 2
)
pub const TypeWriter: StyleHint
[src]
the font matcher prefers fixed pitch fonts. (C++ enum variant: TypeWriter = 2
)
pub const OldEnglish: StyleHint
[src]
the font matcher prefers decorative fonts. (C++ enum variant: OldEnglish = 3
)
pub const Decorative: StyleHint
[src]
is a synonym for OldEnglish
. (C++ enum variant: Decorative = 3
)
pub const System: StyleHint
[src]
the font matcher prefers system fonts. (C++ enum variant: System = 4
)
pub const AnyStyle: StyleHint
[src]
leaves the font matching algorithm to choose the family. This is the default. (C++ enum variant: AnyStyle = 5
)
pub const Cursive: StyleHint
[src]
the font matcher prefers fonts that map to the CSS generic font-family 'cursive'. (C++ enum variant: Cursive = 6
)
pub const Monospace: StyleHint
[src]
the font matcher prefers fonts that map to the CSS generic font-family 'monospace'. (C++ enum variant: Monospace = 7
)
pub const Fantasy: StyleHint
[src]
the font matcher prefers fonts that map to the CSS generic font-family 'fantasy'. (C++ enum variant: Fantasy = 8
)
Trait Implementations
impl Clone for StyleHint
[src]
impl Copy for StyleHint
[src]
impl Debug for StyleHint
[src]
impl Eq for StyleHint
[src]
impl From<StyleHint> for c_int
[src]
impl From<i32> for StyleHint
[src]
impl PartialEq<StyleHint> for StyleHint
[src]
impl StructuralEq for StyleHint
[src]
impl StructuralPartialEq for StyleHint
[src]
Auto Trait Implementations
impl RefUnwindSafe for StyleHint
impl Send for StyleHint
impl Sync for StyleHint
impl Unpin for StyleHint
impl UnwindSafe for StyleHint
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,