[−][src]Struct qt_widgets::q_combo_box::SizeAdjustPolicy
This enum specifies how the size hint of the QComboBox should adjust when new content is added or content changes.
C++ enum: QComboBox::SizeAdjustPolicy
.
This enum specifies how the size hint of the QComboBox should adjust when new content is added or content changes.
Methods
impl SizeAdjustPolicy
[src]
impl SizeAdjustPolicy
[src]
pub const AdjustToContents: SizeAdjustPolicy
[src]
The combobox will always adjust to the contents (C++ enum variant: AdjustToContents = 0
)
pub const AdjustToContentsOnFirstShow: SizeAdjustPolicy
[src]
The combobox will adjust to its contents the first time it is shown. (C++ enum variant: AdjustToContentsOnFirstShow = 1
)
pub const AdjustToMinimumContentsLength: SizeAdjustPolicy
[src]
Use AdjustToContents or AdjustToContentsOnFirstShow instead. (C++ enum variant: AdjustToMinimumContentsLength = 2
)
pub const AdjustToMinimumContentsLengthWithIcon: SizeAdjustPolicy
[src]
The combobox will adjust to minimumContentsLength plus space for an icon. For performance reasons use this policy on large models. (C++ enum variant: AdjustToMinimumContentsLengthWithIcon = 3
)
Trait Implementations
impl Clone for SizeAdjustPolicy
[src]
fn clone(&self) -> SizeAdjustPolicy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SizeAdjustPolicy
[src]
impl Debug for SizeAdjustPolicy
[src]
impl Eq for SizeAdjustPolicy
[src]
impl From<SizeAdjustPolicy> for c_int
[src]
fn from(value: SizeAdjustPolicy) -> Self
[src]
impl From<i32> for SizeAdjustPolicy
[src]
impl PartialEq<SizeAdjustPolicy> for SizeAdjustPolicy
[src]
fn eq(&self, other: &SizeAdjustPolicy) -> bool
[src]
fn ne(&self, other: &SizeAdjustPolicy) -> bool
[src]
impl StructuralEq for SizeAdjustPolicy
[src]
impl StructuralPartialEq for SizeAdjustPolicy
[src]
Auto Trait Implementations
impl RefUnwindSafe for SizeAdjustPolicy
impl Send for SizeAdjustPolicy
impl Sync for SizeAdjustPolicy
impl Unpin for SizeAdjustPolicy
impl UnwindSafe for SizeAdjustPolicy
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]
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>,