[−][src]Struct qt_widgets::q_form_layout::FieldGrowthPolicy
This enum specifies the different policies that can be used to control the way in which the form's fields grow.
C++ enum: QFormLayout::FieldGrowthPolicy
.
This enum specifies the different policies that can be used to control the way in which the form's fields grow.
See also fieldGrowthPolicy.
Methods
impl FieldGrowthPolicy
[src]
impl FieldGrowthPolicy
[src]
pub const FieldsStayAtSizeHint: FieldGrowthPolicy
[src]
The fields never grow beyond their effective size hint. This is the default for QMacStyle. (C++ enum variant: FieldsStayAtSizeHint = 0
)
pub const ExpandingFieldsGrow: FieldGrowthPolicy
[src]
Fields with an horizontal size policy of Expanding or MinimumExpanding will grow to fill the available space. The other fields will not grow beyond their effective size hint. This is the default policy for Plastique. (C++ enum variant: ExpandingFieldsGrow = 1
)
pub const AllNonFixedFieldsGrow: FieldGrowthPolicy
[src]
All fields with a size policy that allows them to grow will grow to fill the available space. This is the default policy for most styles. (C++ enum variant: AllNonFixedFieldsGrow = 2
)
Trait Implementations
impl Clone for FieldGrowthPolicy
[src]
fn clone(&self) -> FieldGrowthPolicy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FieldGrowthPolicy
[src]
impl Debug for FieldGrowthPolicy
[src]
impl Eq for FieldGrowthPolicy
[src]
impl From<FieldGrowthPolicy> for c_int
[src]
fn from(value: FieldGrowthPolicy) -> Self
[src]
impl From<i32> for FieldGrowthPolicy
[src]
impl PartialEq<FieldGrowthPolicy> for FieldGrowthPolicy
[src]
fn eq(&self, other: &FieldGrowthPolicy) -> bool
[src]
fn ne(&self, other: &FieldGrowthPolicy) -> bool
[src]
impl StructuralEq for FieldGrowthPolicy
[src]
impl StructuralPartialEq for FieldGrowthPolicy
[src]
Auto Trait Implementations
impl RefUnwindSafe for FieldGrowthPolicy
impl Send for FieldGrowthPolicy
impl Sync for FieldGrowthPolicy
impl Unpin for FieldGrowthPolicy
impl UnwindSafe for FieldGrowthPolicy
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>,