[−][src]Struct qt_gui::q_text_char_format::UnderlineStyle
This enum describes the different ways drawing underlined text.
C++ enum: QTextCharFormat::UnderlineStyle
.
This enum describes the different ways drawing underlined text.
See also Qt::PenStyle.
Methods
impl UnderlineStyle
[src]
impl UnderlineStyle
[src]
pub const NoUnderline: UnderlineStyle
[src]
Text is draw without any underlining decoration. (C++ enum variant: NoUnderline = 0
)
pub const SingleUnderline: UnderlineStyle
[src]
A line is drawn using Qt::SolidLine. (C++ enum variant: SingleUnderline = 1
)
pub const DashUnderline: UnderlineStyle
[src]
Dashes are drawn using Qt::DashLine. (C++ enum variant: DashUnderline = 2
)
pub const DotLine: UnderlineStyle
[src]
Dots are drawn using Qt::DotLine; (C++ enum variant: DotLine = 3
)
pub const DashDotLine: UnderlineStyle
[src]
Dashs and dots are drawn using Qt::DashDotLine. (C++ enum variant: DashDotLine = 4
)
pub const DashDotDotLine: UnderlineStyle
[src]
Underlines draw drawn using Qt::DashDotDotLine. (C++ enum variant: DashDotDotLine = 5
)
pub const WaveUnderline: UnderlineStyle
[src]
The text is underlined using a wave shaped line. (C++ enum variant: WaveUnderline = 6
)
pub const SpellCheckUnderline: UnderlineStyle
[src]
The underline is drawn depending on the QStyle::SH_SpellCeckUnderlineStyle style hint of the QApplication style. By default this is mapped to WaveUnderline, on macOS it is mapped to DashDotLine. (C++ enum variant: SpellCheckUnderline = 7
)
Trait Implementations
impl Clone for UnderlineStyle
[src]
fn clone(&self) -> UnderlineStyle
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for UnderlineStyle
[src]
impl Debug for UnderlineStyle
[src]
impl Eq for UnderlineStyle
[src]
impl From<UnderlineStyle> for c_int
[src]
fn from(value: UnderlineStyle) -> Self
[src]
impl From<i32> for UnderlineStyle
[src]
impl PartialEq<UnderlineStyle> for UnderlineStyle
[src]
fn eq(&self, other: &UnderlineStyle) -> bool
[src]
fn ne(&self, other: &UnderlineStyle) -> bool
[src]
impl StructuralEq for UnderlineStyle
[src]
impl StructuralPartialEq for UnderlineStyle
[src]
Auto Trait Implementations
impl RefUnwindSafe for UnderlineStyle
impl Send for UnderlineStyle
impl Sync for UnderlineStyle
impl Unpin for UnderlineStyle
impl UnwindSafe for UnderlineStyle
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>,