[−][src]Struct qt_widgets::q_size_policy::ControlType
This enum specifies the different types of widgets in terms of layout interaction:
C++ enum: QSizePolicy::ControlType
.
This enum specifies the different types of widgets in terms of layout interaction:
This enum was introduced or modified in Qt 4.3.
The ControlTypes type is a typedef for QFlags<ControlType>. It stores an OR combination of ControlType values.
See also setControlType() and controlType().
Methods
impl ControlType
[src]
impl ControlType
[src]
pub const DefaultType: ControlType
[src]
The default type, when none is specified. (C++ enum variant: DefaultType = 1
)
pub const ButtonBox: ControlType
[src]
A QDialogButtonBox instance. (C++ enum variant: ButtonBox = 2
)
pub const CheckBox: ControlType
[src]
A QCheckBox instance. (C++ enum variant: CheckBox = 4
)
pub const ComboBox: ControlType
[src]
A QComboBox instance. (C++ enum variant: ComboBox = 8
)
pub const Frame: ControlType
[src]
A QFrame instance. (C++ enum variant: Frame = 16
)
pub const GroupBox: ControlType
[src]
A QGroupBox instance. (C++ enum variant: GroupBox = 32
)
pub const Label: ControlType
[src]
A QLabel instance. (C++ enum variant: Label = 64
)
pub const Line: ControlType
[src]
A QFrame instance with QFrame::HLine or QFrame::VLine. (C++ enum variant: Line = 128
)
pub const LineEdit: ControlType
[src]
A QLineEdit instance. (C++ enum variant: LineEdit = 256
)
pub const PushButton: ControlType
[src]
A QPushButton instance. (C++ enum variant: PushButton = 512
)
pub const RadioButton: ControlType
[src]
A QRadioButton instance. (C++ enum variant: RadioButton = 1024
)
pub const Slider: ControlType
[src]
A QAbstractSlider instance. (C++ enum variant: Slider = 2048
)
pub const SpinBox: ControlType
[src]
A QAbstractSpinBox instance. (C++ enum variant: SpinBox = 4096
)
pub const TabWidget: ControlType
[src]
A QTabWidget instance. (C++ enum variant: TabWidget = 8192
)
pub const ToolButton: ControlType
[src]
A QToolButton instance. (C++ enum variant: ToolButton = 16384
)
Trait Implementations
impl Eq for ControlType
[src]
impl Clone for ControlType
[src]
fn clone(&self) -> ControlType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ControlType> for ControlType
[src]
fn eq(&self, other: &ControlType) -> bool
[src]
fn ne(&self, other: &ControlType) -> bool
[src]
impl From<i32> for ControlType
[src]
impl From<ControlType> for c_int
[src]
fn from(value: ControlType) -> Self
[src]
impl From<ControlType> for QFlags<ControlType>
[src]
fn from(value: ControlType) -> Self
[src]
impl Copy for ControlType
[src]
impl<T: Into<QFlags<ControlType>>> BitOr<T> for ControlType
[src]
type Output = QFlags<ControlType>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<ControlType>
[src]
impl Debug for ControlType
[src]
Auto Trait Implementations
impl Send for ControlType
impl Unpin for ControlType
impl Sync for ControlType
impl UnwindSafe for ControlType
impl RefUnwindSafe for ControlType
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>,