[][src]Struct qt_widgets::q_style::ControlElement

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

This enum represents a control element. A control element is a part of a widget that performs some action or displays information to the user.

C++ enum: QStyle::ControlElement.

C++ documentation:

This enum represents a control element. A control element is a part of a widget that performs some action or displays information to the user.

See also drawControl().

Methods

impl ControlElement[src]

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

impl ControlElement[src]

pub const CEPushButton: ControlElement[src]

A QPushButton, draws CE_PushButtonBevel, CE_PushButtonLabel and PE_FrameFocusRect. (C++ enum variant: CE_PushButton = 0)

pub const CEPushButtonBevel: ControlElement[src]

The bevel and default indicator of a QPushButton. (C++ enum variant: CE_PushButtonBevel = 1)

pub const CEPushButtonLabel: ControlElement[src]

The label (an icon with text or pixmap) of a QPushButton. (C++ enum variant: CE_PushButtonLabel = 2)

pub const CECheckBox: ControlElement[src]

A QCheckBox, draws a PE_IndicatorCheckBox, a CE_CheckBoxLabel and a PE_FrameFocusRect. (C++ enum variant: CE_CheckBox = 3)

pub const CECheckBoxLabel: ControlElement[src]

The label (text or pixmap) of a QCheckBox. (C++ enum variant: CE_CheckBoxLabel = 4)

pub const CERadioButton: ControlElement[src]

A QRadioButton, draws a PE_IndicatorRadioButton, a CE_RadioButtonLabel and a PE_FrameFocusRect. (C++ enum variant: CE_RadioButton = 5)

pub const CERadioButtonLabel: ControlElement[src]

The label (text or pixmap) of a QRadioButton. (C++ enum variant: CE_RadioButtonLabel = 6)

pub const CETabBarTab: ControlElement[src]

The tab and label within a QTabBar. (C++ enum variant: CE_TabBarTab = 7)

pub const CETabBarTabShape: ControlElement[src]

The tab shape within a tab bar. (C++ enum variant: CE_TabBarTabShape = 8)

pub const CETabBarTabLabel: ControlElement[src]

The label within a tab. (C++ enum variant: CE_TabBarTabLabel = 9)

pub const CEProgressBar: ControlElement[src]

A QProgressBar, draws CE_ProgressBarGroove, CE_ProgressBarContents and CE_ProgressBarLabel. (C++ enum variant: CE_ProgressBar = 10)

pub const CEProgressBarGroove: ControlElement[src]

The groove where the progress indicator is drawn in a QProgressBar. (C++ enum variant: CE_ProgressBarGroove = 11)

pub const CEProgressBarContents: ControlElement[src]

The progress indicator of a QProgressBar. (C++ enum variant: CE_ProgressBarContents = 12)

pub const CEProgressBarLabel: ControlElement[src]

The text label of a QProgressBar. (C++ enum variant: CE_ProgressBarLabel = 13)

pub const CEMenuItem: ControlElement[src]

A menu item in a QMenu. (C++ enum variant: CE_MenuItem = 14)

pub const CEMenuScroller: ControlElement[src]

Scrolling areas in a QMenu when the style supports scrolling. (C++ enum variant: CE_MenuScroller = 15)

pub const CEMenuVMargin: ControlElement[src]

The vertical extra space on the top/bottom of a menu. (C++ enum variant: CE_MenuVMargin = 16)

pub const CEMenuHMargin: ControlElement[src]

The horizontal extra space on the left/right of a menu. (C++ enum variant: CE_MenuHMargin = 17)

pub const CEMenuTearoff: ControlElement[src]

A menu item representing the tear off section of a QMenu. (C++ enum variant: CE_MenuTearoff = 18)

pub const CEMenuEmptyArea: ControlElement[src]

The area in a menu without menu items. (C++ enum variant: CE_MenuEmptyArea = 19)

pub const CEMenuBarItem: ControlElement[src]

A menu item in a QMenuBar. (C++ enum variant: CE_MenuBarItem = 20)

pub const CEMenuBarEmptyArea: ControlElement[src]

The empty area of a QMenuBar. (C++ enum variant: CE_MenuBarEmptyArea = 21)

pub const CEToolButtonLabel: ControlElement[src]

A tool button's label. (C++ enum variant: CE_ToolButtonLabel = 22)

pub const CEHeader: ControlElement[src]

A header. (C++ enum variant: CE_Header = 23)

pub const CEHeaderSection: ControlElement[src]

A header section. (C++ enum variant: CE_HeaderSection = 24)

pub const CEHeaderLabel: ControlElement[src]

The header's label. (C++ enum variant: CE_HeaderLabel = 25)

pub const CEToolBoxTab: ControlElement[src]

The toolbox's tab and label within a QToolBox. (C++ enum variant: CE_ToolBoxTab = 26)

pub const CESizeGrip: ControlElement[src]

Window resize handle; see also QSizeGrip. (C++ enum variant: CE_SizeGrip = 27)

pub const CESplitter: ControlElement[src]

Splitter handle; see also QSplitter. (C++ enum variant: CE_Splitter = 28)

pub const CERubberBand: ControlElement[src]

Rubber band used in for example an icon view. (C++ enum variant: CE_RubberBand = 29)

pub const CEDockWidgetTitle: ControlElement[src]

Dock window title. (C++ enum variant: CE_DockWidgetTitle = 30)

pub const CEScrollBarAddLine: ControlElement[src]

Scroll bar line increase indicator. (i.e., scroll down); see also QScrollBar. (C++ enum variant: CE_ScrollBarAddLine = 31)

pub const CEScrollBarSubLine: ControlElement[src]

Scroll bar line decrease indicator (i.e., scroll up). (C++ enum variant: CE_ScrollBarSubLine = 32)

pub const CEScrollBarAddPage: ControlElement[src]

Scolllbar page increase indicator (i.e., page down). (C++ enum variant: CE_ScrollBarAddPage = 33)

pub const CEScrollBarSubPage: ControlElement[src]

Scroll bar page decrease indicator (i.e., page up). (C++ enum variant: CE_ScrollBarSubPage = 34)

pub const CEScrollBarSlider: ControlElement[src]

Scroll bar slider. (C++ enum variant: CE_ScrollBarSlider = 35)

pub const CEScrollBarFirst: ControlElement[src]

Scroll bar first line indicator (i.e., home). (C++ enum variant: CE_ScrollBarFirst = 36)

pub const CEScrollBarLast: ControlElement[src]

Scroll bar last line indicator (i.e., end). (C++ enum variant: CE_ScrollBarLast = 37)

pub const CEFocusFrame: ControlElement[src]

Focus frame that is style controlled. (C++ enum variant: CE_FocusFrame = 38)

pub const CEComboBoxLabel: ControlElement[src]

The label of a non-editable QComboBox. (C++ enum variant: CE_ComboBoxLabel = 39)

pub const CEToolBar: ControlElement[src]

A toolbar like QToolBar. (C++ enum variant: CE_ToolBar = 40)

pub const CEToolBoxTabShape: ControlElement[src]

The toolbox's tab shape. (C++ enum variant: CE_ToolBoxTabShape = 41)

pub const CEToolBoxTabLabel: ControlElement[src]

The toolbox's tab label. (C++ enum variant: CE_ToolBoxTabLabel = 42)

pub const CEHeaderEmptyArea: ControlElement[src]

The area of a header view where there are no header sections. (C++ enum variant: CE_HeaderEmptyArea = 43)

pub const CEColumnViewGrip: ControlElement[src]

C++ enum variant: CE_ColumnViewGrip = 44

pub const CEItemViewItem: ControlElement[src]

An item inside an item view. (C++ enum variant: CE_ItemViewItem = 45)

pub const CEShapedFrame: ControlElement[src]

The frame with the shape specified in the QStyleOptionFrame; see QFrame. (C++ enum variant: CE_ShapedFrame = 46)

pub const CECustomBase: ControlElement[src]

Base value for custom control elements; custom values must be greater than this value. (C++ enum variant: CE_CustomBase = -268435456)

Trait Implementations

impl Clone for ControlElement[src]

impl Copy for ControlElement[src]

impl Debug for ControlElement[src]

impl Eq for ControlElement[src]

impl From<ControlElement> for c_int[src]

impl From<i32> for ControlElement[src]

impl PartialEq<ControlElement> for ControlElement[src]

impl StructuralEq for ControlElement[src]

impl StructuralPartialEq for ControlElement[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.