[][src]Struct qt_widgets::q_form_layout::FieldGrowthPolicy

#[repr(transparent)]
pub struct 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.

C++ documentation:

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]

pub fn to_int(&self) -> c_int[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 Eq for FieldGrowthPolicy[src]

impl Clone for FieldGrowthPolicy[src]

impl PartialEq<FieldGrowthPolicy> for FieldGrowthPolicy[src]

impl From<i32> for FieldGrowthPolicy[src]

impl From<FieldGrowthPolicy> for c_int[src]

impl Copy for FieldGrowthPolicy[src]

impl Debug for FieldGrowthPolicy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]