[−][src]Struct qt_widgets::q_style::ContentsType
This enum describes the available contents types. These are used to calculate sizes for the contents of various widgets.
C++ enum: QStyle::ContentsType
.
This enum describes the available contents types. These are used to calculate sizes for the contents of various widgets.
See also sizeFromContents().
Methods
impl ContentsType
[src]
impl ContentsType
[src]
pub const CTPushButton: ContentsType
[src]
A push button, like QPushButton. (C++ enum variant: CT_PushButton = 0
)
pub const CTCheckBox: ContentsType
[src]
A check box, like QCheckBox. (C++ enum variant: CT_CheckBox = 1
)
pub const CTRadioButton: ContentsType
[src]
A radio button, like QRadioButton. (C++ enum variant: CT_RadioButton = 2
)
pub const CTToolButton: ContentsType
[src]
A tool button, like QToolButton. (C++ enum variant: CT_ToolButton = 3
)
pub const CTComboBox: ContentsType
[src]
A combo box, like QComboBox. (C++ enum variant: CT_ComboBox = 4
)
pub const CTSplitter: ContentsType
[src]
A splitter, like QSplitter. (C++ enum variant: CT_Splitter = 5
)
pub const CTProgressBar: ContentsType
[src]
A progress bar, like QProgressBar. (C++ enum variant: CT_ProgressBar = 6
)
pub const CTMenuItem: ContentsType
[src]
A menu item, like QMenuItem. (C++ enum variant: CT_MenuItem = 7
)
pub const CTMenuBarItem: ContentsType
[src]
A menu bar item, like the buttons in a QMenuBar. (C++ enum variant: CT_MenuBarItem = 8
)
pub const CTMenuBar: ContentsType
[src]
A menu bar, like QMenuBar. (C++ enum variant: CT_MenuBar = 9
)
pub const CTMenu: ContentsType
[src]
A menu, like QMenu. (C++ enum variant: CT_Menu = 10
)
pub const CTTabBarTab: ContentsType
[src]
A tab on a tab bar, like QTabBar. (C++ enum variant: CT_TabBarTab = 11
)
pub const CTSlider: ContentsType
[src]
A slider, like QSlider. (C++ enum variant: CT_Slider = 12
)
pub const CTScrollBar: ContentsType
[src]
A scroll bar, like QScrollBar. (C++ enum variant: CT_ScrollBar = 13
)
pub const CTLineEdit: ContentsType
[src]
A line edit, like QLineEdit. (C++ enum variant: CT_LineEdit = 14
)
pub const CTSpinBox: ContentsType
[src]
A spin box, like QSpinBox. (C++ enum variant: CT_SpinBox = 15
)
pub const CTSizeGrip: ContentsType
[src]
A size grip, like QSizeGrip. (C++ enum variant: CT_SizeGrip = 16
)
pub const CTTabWidget: ContentsType
[src]
A tab widget, like QTabWidget. (C++ enum variant: CT_TabWidget = 17
)
pub const CTDialogButtons: ContentsType
[src]
C++ enum variant: CT_DialogButtons = 18
pub const CTHeaderSection: ContentsType
[src]
A header section, like QHeader. (C++ enum variant: CT_HeaderSection = 19
)
pub const CTGroupBox: ContentsType
[src]
A group box, like QGroupBox. (C++ enum variant: CT_GroupBox = 20
)
pub const CTMdiControls: ContentsType
[src]
The minimize, normal, and close button in the menu bar for a maximized MDI subwindow. (C++ enum variant: CT_MdiControls = 21
)
pub const CTItemViewItem: ContentsType
[src]
An item inside an item view. (C++ enum variant: CT_ItemViewItem = 22
)
pub const CTCustomBase: ContentsType
[src]
Base value for custom contents types. Custom values must be greater than this value. (C++ enum variant: CT_CustomBase = -268435456
)
Trait Implementations
impl Clone for ContentsType
[src]
fn clone(&self) -> ContentsType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ContentsType
[src]
impl Debug for ContentsType
[src]
impl Eq for ContentsType
[src]
impl From<ContentsType> for c_int
[src]
fn from(value: ContentsType) -> Self
[src]
impl From<i32> for ContentsType
[src]
impl PartialEq<ContentsType> for ContentsType
[src]
fn eq(&self, other: &ContentsType) -> bool
[src]
fn ne(&self, other: &ContentsType) -> bool
[src]
impl StructuralEq for ContentsType
[src]
impl StructuralPartialEq for ContentsType
[src]
Auto Trait Implementations
impl RefUnwindSafe for ContentsType
impl Send for ContentsType
impl Sync for ContentsType
impl Unpin for ContentsType
impl UnwindSafe for ContentsType
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]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<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>,