[−][src]Struct qt_widgets::q_abstract_scroll_area::SizeAdjustPolicy
This enum specifies how the size hint of the QAbstractScrollArea should adjust when the size of the viewport changes.
C++ enum: QAbstractScrollArea::SizeAdjustPolicy
.
This enum specifies how the size hint of the QAbstractScrollArea should adjust when the size of the viewport changes.
This enum was introduced or modified in Qt 5.2.
Methods
impl SizeAdjustPolicy
[src]
impl SizeAdjustPolicy
[src]
pub const AdjustIgnored: SizeAdjustPolicy
[src]
The scroll area will behave like before - and not do any adjust. (C++ enum variant: AdjustIgnored = 0
)
pub const AdjustToContentsOnFirstShow: SizeAdjustPolicy
[src]
The scroll area will adjust to its viewport the first time it is shown. (C++ enum variant: AdjustToContentsOnFirstShow = 1
)
pub const AdjustToContents: SizeAdjustPolicy
[src]
The scroll area will always adjust to the viewport (C++ enum variant: AdjustToContents = 2
)
Trait Implementations
impl Eq for SizeAdjustPolicy
[src]
impl Clone for SizeAdjustPolicy
[src]
fn clone(&self) -> SizeAdjustPolicy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<SizeAdjustPolicy> for SizeAdjustPolicy
[src]
fn eq(&self, other: &SizeAdjustPolicy) -> bool
[src]
fn ne(&self, other: &SizeAdjustPolicy) -> bool
[src]
impl From<i32> for SizeAdjustPolicy
[src]
impl From<SizeAdjustPolicy> for c_int
[src]
fn from(value: SizeAdjustPolicy) -> Self
[src]
impl Copy for SizeAdjustPolicy
[src]
impl Debug for SizeAdjustPolicy
[src]
Auto Trait Implementations
impl Send for SizeAdjustPolicy
impl Unpin for SizeAdjustPolicy
impl Sync for SizeAdjustPolicy
impl UnwindSafe for SizeAdjustPolicy
impl RefUnwindSafe for SizeAdjustPolicy
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>,