[−][src]Struct qt_gui::q_text_block_format::LineHeightTypes
This enum describes the various types of line spacing support paragraphs can have.
C++ enum: QTextBlockFormat::LineHeightTypes
.
This enum describes the various types of line spacing support paragraphs can have.
This enum was introduced or modified in Qt 4.8.
See also lineHeight(), lineHeightType(), and setLineHeight().
Methods
impl LineHeightTypes
[src]
impl LineHeightTypes
[src]
pub const SingleHeight: LineHeightTypes
[src]
This is the default line height: single spacing. (C++ enum variant: SingleHeight = 0
)
pub const ProportionalHeight: LineHeightTypes
[src]
This sets the spacing proportional to the line (in percentage). For example, set to 200 for double spacing. (C++ enum variant: ProportionalHeight = 1
)
pub const FixedHeight: LineHeightTypes
[src]
This sets the line height to a fixed line height (in pixels). (C++ enum variant: FixedHeight = 2
)
pub const MinimumHeight: LineHeightTypes
[src]
This sets the minimum line height (in pixels). (C++ enum variant: MinimumHeight = 3
)
pub const LineDistanceHeight: LineHeightTypes
[src]
This adds the specified height between lines (in pixels). (C++ enum variant: LineDistanceHeight = 4
)
Trait Implementations
impl Clone for LineHeightTypes
[src]
fn clone(&self) -> LineHeightTypes
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LineHeightTypes
[src]
impl Debug for LineHeightTypes
[src]
impl Eq for LineHeightTypes
[src]
impl From<LineHeightTypes> for c_int
[src]
fn from(value: LineHeightTypes) -> Self
[src]
impl From<i32> for LineHeightTypes
[src]
impl PartialEq<LineHeightTypes> for LineHeightTypes
[src]
fn eq(&self, other: &LineHeightTypes) -> bool
[src]
fn ne(&self, other: &LineHeightTypes) -> bool
[src]
impl StructuralEq for LineHeightTypes
[src]
impl StructuralPartialEq for LineHeightTypes
[src]
Auto Trait Implementations
impl RefUnwindSafe for LineHeightTypes
impl Send for LineHeightTypes
impl Sync for LineHeightTypes
impl Unpin for LineHeightTypes
impl UnwindSafe for LineHeightTypes
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]
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>,