[][src]Struct qt_widgets::q_style::SubElement

#[repr(transparent)]
pub struct SubElement(_);

This enum represents a sub-area of a widget. Style implementations use these areas to draw the different parts of a widget.

C++ enum: QStyle::SubElement.

C++ documentation:

This enum represents a sub-area of a widget. Style implementations use these areas to draw the different parts of a widget.

See also subElementRect().

Methods

impl SubElement[src]

pub fn to_int(&self) -> c_int[src]

impl SubElement[src]

pub const SEPushButtonContents: SubElement[src]

Area containing the label (icon with text or pixmap). (C++ enum variant: SE_PushButtonContents = 0)

pub const SEPushButtonFocusRect: SubElement[src]

Area for the focus rect (usually larger than the contents rect). (C++ enum variant: SE_PushButtonFocusRect = 1)

pub const SECheckBoxIndicator: SubElement[src]

Area for the state indicator (e.g., check mark). (C++ enum variant: SE_CheckBoxIndicator = 2)

pub const SECheckBoxContents: SubElement[src]

Area for the label (text or pixmap). (C++ enum variant: SE_CheckBoxContents = 3)

pub const SECheckBoxFocusRect: SubElement[src]

Area for the focus indicator. (C++ enum variant: SE_CheckBoxFocusRect = 4)

pub const SECheckBoxClickRect: SubElement[src]

Clickable area, defaults to SE_CheckBoxFocusRect. (C++ enum variant: SE_CheckBoxClickRect = 5)

pub const SERadioButtonIndicator: SubElement[src]

Area for the state indicator. (C++ enum variant: SE_RadioButtonIndicator = 6)

pub const SERadioButtonContents: SubElement[src]

Area for the label. (C++ enum variant: SE_RadioButtonContents = 7)

pub const SERadioButtonFocusRect: SubElement[src]

Area for the focus indicator. (C++ enum variant: SE_RadioButtonFocusRect = 8)

pub const SERadioButtonClickRect: SubElement[src]

Clickable area, defaults to SE_RadioButtonFocusRect. (C++ enum variant: SE_RadioButtonClickRect = 9)

pub const SEComboBoxFocusRect: SubElement[src]

Area for the focus indicator. (C++ enum variant: SE_ComboBoxFocusRect = 10)

pub const SESliderFocusRect: SubElement[src]

Area for the focus indicator. (C++ enum variant: SE_SliderFocusRect = 11)

pub const SEProgressBarGroove: SubElement[src]

Area for the groove. (C++ enum variant: SE_ProgressBarGroove = 12)

pub const SEProgressBarContents: SubElement[src]

Area for the progress indicator. (C++ enum variant: SE_ProgressBarContents = 13)

pub const SEProgressBarLabel: SubElement[src]

Area for the text label. (C++ enum variant: SE_ProgressBarLabel = 14)

pub const SEToolBoxTabContents: SubElement[src]

Area for a toolbox tab's icon and label. (C++ enum variant: SE_ToolBoxTabContents = 15)

pub const SEHeaderLabel: SubElement[src]

Area for the label in a header. (C++ enum variant: SE_HeaderLabel = 16)

pub const SEHeaderArrow: SubElement[src]

Area for the sort indicator for a header. (C++ enum variant: SE_HeaderArrow = 17)

pub const SETabWidgetTabBar: SubElement[src]

Area for the tab bar widget in a tab widget. (C++ enum variant: SE_TabWidgetTabBar = 18)

pub const SETabWidgetTabPane: SubElement[src]

Area for the pane of a tab widget. (C++ enum variant: SE_TabWidgetTabPane = 19)

pub const SETabWidgetTabContents: SubElement[src]

Area for the contents of the tab widget. (C++ enum variant: SE_TabWidgetTabContents = 20)

pub const SETabWidgetLeftCorner: SubElement[src]

Area for the left corner widget in a tab widget. (C++ enum variant: SE_TabWidgetLeftCorner = 21)

pub const SETabWidgetRightCorner: SubElement[src]

Area for the right corner widget in a tab widget. (C++ enum variant: SE_TabWidgetRightCorner = 22)

pub const SEViewItemCheckIndicator: SubElement[src]

C++ enum variant: SE_ViewItemCheckIndicator = 23

pub const SEItemViewItemCheckIndicator: SubElement[src]

Area for a view item's check mark. (C++ enum variant: SE_ItemViewItemCheckIndicator = 23)

pub const SETabBarTearIndicator: SubElement[src]

Deprecated. Use SE_TabBarTearIndicatorLeft instead. (C++ enum variant: SE_TabBarTearIndicator = 24)

pub const SETabBarTearIndicatorLeft: SubElement[src]

Area for the tear indicator on the left side of a tab bar with scroll arrows. (C++ enum variant: SE_TabBarTearIndicatorLeft = 24)

pub const SETreeViewDisclosureItem: SubElement[src]

Area for the actual disclosure item in a tree branch. (C++ enum variant: SE_TreeViewDisclosureItem = 25)

pub const SELineEditContents: SubElement[src]

Area for a line edit's contents. (C++ enum variant: SE_LineEditContents = 26)

pub const SEFrameContents: SubElement[src]

Area for a frame's contents. (C++ enum variant: SE_FrameContents = 27)

pub const SEDockWidgetCloseButton: SubElement[src]

The close button of a dock widget. (C++ enum variant: SE_DockWidgetCloseButton = 28)

pub const SEDockWidgetFloatButton: SubElement[src]

The float button of a dock widget. (C++ enum variant: SE_DockWidgetFloatButton = 29)

pub const SEDockWidgetTitleBarText: SubElement[src]

The text bounds of the dock widgets title. (C++ enum variant: SE_DockWidgetTitleBarText = 30)

pub const SEDockWidgetIcon: SubElement[src]

The icon of a dock widget. (C++ enum variant: SE_DockWidgetIcon = 31)

pub const SECheckBoxLayoutItem: SubElement[src]

Area that counts for the parent layout. (C++ enum variant: SE_CheckBoxLayoutItem = 32)

pub const SEComboBoxLayoutItem: SubElement[src]

Area that counts for the parent layout. (C++ enum variant: SE_ComboBoxLayoutItem = 33)

pub const SEDateTimeEditLayoutItem: SubElement[src]

Area that counts for the parent layout. (C++ enum variant: SE_DateTimeEditLayoutItem = 34)

pub const SEDialogButtonBoxLayoutItem: SubElement[src]

Area that counts for the parent layout. (C++ enum variant: SE_DialogButtonBoxLayoutItem = 35)

pub const SELabelLayoutItem: SubElement[src]

Area that counts for the parent layout. (C++ enum variant: SE_LabelLayoutItem = 36)

pub const SEProgressBarLayoutItem: SubElement[src]

Area that counts for the parent layout. (C++ enum variant: SE_ProgressBarLayoutItem = 37)

pub const SEPushButtonLayoutItem: SubElement[src]

Area that counts for the parent layout. (C++ enum variant: SE_PushButtonLayoutItem = 38)

pub const SERadioButtonLayoutItem: SubElement[src]

Area that counts for the parent layout. (C++ enum variant: SE_RadioButtonLayoutItem = 39)

pub const SESliderLayoutItem: SubElement[src]

Area that counts for the parent layout. (C++ enum variant: SE_SliderLayoutItem = 40)

pub const SESpinBoxLayoutItem: SubElement[src]

Area that counts for the parent layout. (C++ enum variant: SE_SpinBoxLayoutItem = 41)

pub const SEToolButtonLayoutItem: SubElement[src]

Area that counts for the parent layout. (C++ enum variant: SE_ToolButtonLayoutItem = 42)

pub const SEFrameLayoutItem: SubElement[src]

Area that counts for the parent layout. (C++ enum variant: SE_FrameLayoutItem = 43)

pub const SEGroupBoxLayoutItem: SubElement[src]

Area that counts for the parent layout. (C++ enum variant: SE_GroupBoxLayoutItem = 44)

pub const SETabWidgetLayoutItem: SubElement[src]

Area that counts for the parent layout. (C++ enum variant: SE_TabWidgetLayoutItem = 45)

pub const SEItemViewItemDecoration: SubElement[src]

Area for a view item's decoration (icon). (C++ enum variant: SE_ItemViewItemDecoration = 46)

pub const SEItemViewItemText: SubElement[src]

Area for a view item's text. (C++ enum variant: SE_ItemViewItemText = 47)

pub const SEItemViewItemFocusRect: SubElement[src]

Area for a view item's focus rect. (C++ enum variant: SE_ItemViewItemFocusRect = 48)

pub const SETabBarTabLeftButton: SubElement[src]

Area for a widget on the left side of a tab in a tab bar. (C++ enum variant: SE_TabBarTabLeftButton = 49)

pub const SETabBarTabRightButton: SubElement[src]

Area for a widget on the right side of a tab in a tab bar. (C++ enum variant: SE_TabBarTabRightButton = 50)

pub const SETabBarTabText: SubElement[src]

Area for the text on a tab in a tab bar. (C++ enum variant: SE_TabBarTabText = 51)

pub const SEShapedFrameContents: SubElement[src]

Area for a frame's contents using the shape in QStyleOptionFrame; see QFrame (C++ enum variant: SE_ShapedFrameContents = 52)

pub const SEToolBarHandle: SubElement[src]

Area for the handle of a tool bar. (C++ enum variant: SE_ToolBarHandle = 53)

pub const SETabBarScrollLeftButton: SubElement[src]

Area for the scroll left button on a tab bar with scroll buttons. (C++ enum variant: SE_TabBarScrollLeftButton = 54)

pub const SETabBarScrollRightButton: SubElement[src]

Area for the scroll right button on a tab bar with scroll buttons. (C++ enum variant: SE_TabBarScrollRightButton = 55)

pub const SETabBarTearIndicatorRight: SubElement[src]

Area for the tear indicator on the right side of a tab bar with scroll arrows. (C++ enum variant: SE_TabBarTearIndicatorRight = 56)

pub const SECustomBase: SubElement[src]

Base value for custom sub-elements. Custom values must be greater than this value. (C++ enum variant: SE_CustomBase = -268435456)

Trait Implementations

impl Eq for SubElement[src]

impl Clone for SubElement[src]

impl PartialEq<SubElement> for SubElement[src]

impl From<i32> for SubElement[src]

impl From<SubElement> for c_int[src]

impl Copy for SubElement[src]

impl Debug for SubElement[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]