[−][src]Struct qt_widgets::q_header_view::ResizeMode
The resize mode specifies the behavior of the header sections. It can be set on the entire header view or on individual sections using setSectionResizeMode().
C++ enum: QHeaderView::ResizeMode
.
The resize mode specifies the behavior of the header sections. It can be set on the entire header view or on individual sections using setSectionResizeMode().
The following values are obsolete:
See also setResizeMode(), setSectionResizeMode(), stretchLastSection, and minimumSectionSize.
Methods
impl ResizeMode
[src]
impl ResizeMode
[src]
pub const Interactive: ResizeMode
[src]
The user can resize the section. The section can also be resized programmatically using resizeSection(). The section size defaults to defaultSectionSize. (See also cascadingSectionResizes.) (C++ enum variant: Interactive = 0
)
pub const Stretch: ResizeMode
[src]
QHeaderView will automatically resize the section to fill the available space. The size cannot be changed by the user or programmatically. (C++ enum variant: Stretch = 1
)
pub const Fixed: ResizeMode
[src]
The user cannot resize the section. The section can only be resized programmatically using resizeSection(). The section size defaults to defaultSectionSize. (C++ enum variant: Fixed = 2
)
pub const ResizeToContents: ResizeMode
[src]
QHeaderView will automatically resize the section to its optimal size based on the contents of the entire column or row. The size cannot be changed by the user or programmatically. (This value was introduced in 4.2) (C++ enum variant: ResizeToContents = 3
)
pub const Custom: ResizeMode
[src]
Use Fixed instead. (C++ enum variant: Custom = 2
)
Trait Implementations
impl Eq for ResizeMode
[src]
impl Clone for ResizeMode
[src]
fn clone(&self) -> ResizeMode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ResizeMode> for ResizeMode
[src]
fn eq(&self, other: &ResizeMode) -> bool
[src]
fn ne(&self, other: &ResizeMode) -> bool
[src]
impl From<i32> for ResizeMode
[src]
impl From<ResizeMode> for c_int
[src]
fn from(value: ResizeMode) -> Self
[src]
impl Copy for ResizeMode
[src]
impl Debug for ResizeMode
[src]
Auto Trait Implementations
impl Send for ResizeMode
impl Unpin for ResizeMode
impl Sync for ResizeMode
impl UnwindSafe for ResizeMode
impl RefUnwindSafe for ResizeMode
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>,