[][src]Struct qt_widgets::q_slider::TickPosition

#[repr(transparent)]
pub struct TickPosition(_);

This enum specifies where the tick marks are to be drawn relative to the slider's groove and the handle the user moves.

C++ enum: QSlider::TickPosition.

C++ documentation:

This enum specifies where the tick marks are to be drawn relative to the slider's groove and the handle the user moves.

Methods

impl TickPosition[src]

pub fn to_int(&self) -> c_int[src]

impl TickPosition[src]

pub const NoTicks: TickPosition[src]

Do not draw any tick marks. (C++ enum variant: NoTicks = 0)

pub const TicksAbove: TickPosition[src]

Draw tick marks above the (horizontal) slider (C++ enum variant: TicksAbove = 1)

pub const TicksLeft: TickPosition[src]

Draw tick marks to the left of the (vertical) slider (C++ enum variant: TicksLeft = 1)

pub const TicksBelow: TickPosition[src]

Draw tick marks below the (horizontal) slider (C++ enum variant: TicksBelow = 2)

pub const TicksRight: TickPosition[src]

Draw tick marks to the right of the (vertical) slider (C++ enum variant: TicksRight = 2)

pub const TicksBothSides: TickPosition[src]

Draw tick marks on both sides of the groove. (C++ enum variant: TicksBothSides = 3)

Trait Implementations

impl Eq for TickPosition[src]

impl Clone for TickPosition[src]

impl PartialEq<TickPosition> for TickPosition[src]

impl From<i32> for TickPosition[src]

impl From<TickPosition> for c_int[src]

impl Copy for TickPosition[src]

impl Debug for TickPosition[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]