[−][src]Struct qt_core::ScrollBarPolicy
This enum type describes the various modes of QAbstractScrollArea's scroll bars.
C++ enum: Qt::ScrollBarPolicy
.
This enum type describes the various modes of QAbstractScrollArea's scroll bars.
(The modes for the horizontal and vertical scroll bars are independent.)
Methods
impl ScrollBarPolicy
[src]
impl ScrollBarPolicy
[src]
pub const ScrollBarAsNeeded: ScrollBarPolicy
[src]
QAbstractScrollArea shows a scroll bar when the content is too large to fit and not otherwise. This is the default. (C++ enum variant: ScrollBarAsNeeded = 0
)
pub const ScrollBarAlwaysOff: ScrollBarPolicy
[src]
QAbstractScrollArea never shows a scroll bar. (C++ enum variant: ScrollBarAlwaysOff = 1
)
pub const ScrollBarAlwaysOn: ScrollBarPolicy
[src]
QAbstractScrollArea always shows a scroll bar. This property is ignored on systems with transient scroll bars (e.g., on Mac from version 10.7). (C++ enum variant: ScrollBarAlwaysOn = 2
)
Trait Implementations
impl Clone for ScrollBarPolicy
[src]
fn clone(&self) -> ScrollBarPolicy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ScrollBarPolicy
[src]
impl Debug for ScrollBarPolicy
[src]
impl Eq for ScrollBarPolicy
[src]
impl From<ScrollBarPolicy> for c_int
[src]
fn from(value: ScrollBarPolicy) -> Self
[src]
impl From<i32> for ScrollBarPolicy
[src]
impl PartialEq<ScrollBarPolicy> for ScrollBarPolicy
[src]
fn eq(&self, other: &ScrollBarPolicy) -> bool
[src]
fn ne(&self, other: &ScrollBarPolicy) -> bool
[src]
impl StructuralEq for ScrollBarPolicy
[src]
impl StructuralPartialEq for ScrollBarPolicy
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScrollBarPolicy
impl Send for ScrollBarPolicy
impl Sync for ScrollBarPolicy
impl Unpin for ScrollBarPolicy
impl UnwindSafe for ScrollBarPolicy
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>,