[−][src]Struct qt_widgets::q_abstract_item_view::ScrollMode
Describes how the scrollbar should behave. When setting the scroll mode to ScrollPerPixel the single step size will adjust automatically unless it was set explicitly using setSingleStep(). The automatic adjustment can be restored by setting the single step size to -1.
C++ enum: QAbstractItemView::ScrollMode
.
Describes how the scrollbar should behave. When setting the scroll mode to ScrollPerPixel the single step size will adjust automatically unless it was set explicitly using setSingleStep(). The automatic adjustment can be restored by setting the single step size to -1.
This enum was introduced or modified in Qt 4.2.
Methods
impl ScrollMode
[src]
impl ScrollMode
[src]
pub const ScrollPerItem: ScrollMode
[src]
The view will scroll the contents one item at a time. (C++ enum variant: ScrollPerItem = 0
)
pub const ScrollPerPixel: ScrollMode
[src]
The view will scroll the contents one pixel at a time. (C++ enum variant: ScrollPerPixel = 1
)
Trait Implementations
impl Eq for ScrollMode
[src]
impl Clone for ScrollMode
[src]
fn clone(&self) -> ScrollMode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ScrollMode> for ScrollMode
[src]
fn eq(&self, other: &ScrollMode) -> bool
[src]
fn ne(&self, other: &ScrollMode) -> bool
[src]
impl From<i32> for ScrollMode
[src]
impl From<ScrollMode> for c_int
[src]
fn from(value: ScrollMode) -> Self
[src]
impl Copy for ScrollMode
[src]
impl Debug for ScrollMode
[src]
Auto Trait Implementations
impl Send for ScrollMode
impl Unpin for ScrollMode
impl Sync for ScrollMode
impl UnwindSafe for ScrollMode
impl RefUnwindSafe for ScrollMode
Blanket Implementations
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,