[−][src]Struct qt_widgets::q_style::SubControl
This enum describes the available sub controls. A subcontrol is a control element within a complex control (ComplexControl).
C++ enum: QStyle::SubControl
.
This enum describes the available sub controls. A subcontrol is a control element within a complex control (ComplexControl).
The SubControls type is a typedef for QFlags<SubControl>. It stores an OR combination of SubControl values.
See also ComplexControl.
Methods
impl SubControl
[src]
impl SubControl
[src]
pub const SCNone: SubControl
[src]
Special value that matches no other sub control. (C++ enum variant: SC_None = 0
)
pub const SCScrollBarAddLine: SubControl
[src]
Scroll bar add line (i.e., down/right arrow); see also QScrollBar. (C++ enum variant: SC_ScrollBarAddLine = 1
)
pub const SCScrollBarSubLine: SubControl
[src]
Scroll bar sub line (i.e., up/left arrow). (C++ enum variant: SC_ScrollBarSubLine = 2
)
pub const SCScrollBarAddPage: SubControl
[src]
Scroll bar add page (i.e., page down). (C++ enum variant: SC_ScrollBarAddPage = 4
)
pub const SCScrollBarSubPage: SubControl
[src]
Scroll bar sub page (i.e., page up). (C++ enum variant: SC_ScrollBarSubPage = 8
)
pub const SCScrollBarFirst: SubControl
[src]
Scroll bar first line (i.e., home). (C++ enum variant: SC_ScrollBarFirst = 16
)
pub const SCScrollBarLast: SubControl
[src]
Scroll bar last line (i.e., end). (C++ enum variant: SC_ScrollBarLast = 32
)
pub const SCScrollBarSlider: SubControl
[src]
Scroll bar slider handle. (C++ enum variant: SC_ScrollBarSlider = 64
)
pub const SCScrollBarGroove: SubControl
[src]
Special sub-control which contains the area in which the slider handle may move. (C++ enum variant: SC_ScrollBarGroove = 128
)
pub const SCSpinBoxUp: SubControl
[src]
Spin widget up/increase; see also QSpinBox. (C++ enum variant: SC_SpinBoxUp = 1
)
pub const SCSpinBoxDown: SubControl
[src]
Spin widget down/decrease. (C++ enum variant: SC_SpinBoxDown = 2
)
pub const SCSpinBoxFrame: SubControl
[src]
Spin widget frame. (C++ enum variant: SC_SpinBoxFrame = 4
)
pub const SCSpinBoxEditField: SubControl
[src]
Spin widget edit field. (C++ enum variant: SC_SpinBoxEditField = 8
)
pub const SCComboBoxFrame: SubControl
[src]
Combobox frame. (C++ enum variant: SC_ComboBoxFrame = 1
)
pub const SCComboBoxEditField: SubControl
[src]
Combobox edit field; see also QComboBox. (C++ enum variant: SC_ComboBoxEditField = 2
)
pub const SCComboBoxArrow: SubControl
[src]
Combobox arrow button. (C++ enum variant: SC_ComboBoxArrow = 4
)
pub const SCComboBoxListBoxPopup: SubControl
[src]
The reference rectangle for the combobox popup. Used to calculate the position of the popup. (C++ enum variant: SC_ComboBoxListBoxPopup = 8
)
pub const SCSliderGroove: SubControl
[src]
Special sub-control which contains the area in which the slider handle may move. (C++ enum variant: SC_SliderGroove = 1
)
pub const SCSliderHandle: SubControl
[src]
Slider handle. (C++ enum variant: SC_SliderHandle = 2
)
pub const SCSliderTickmarks: SubControl
[src]
Slider tickmarks. (C++ enum variant: SC_SliderTickmarks = 4
)
pub const SCToolButton: SubControl
[src]
Tool button (see also QToolButton). (C++ enum variant: SC_ToolButton = 1
)
pub const SCToolButtonMenu: SubControl
[src]
Sub-control for opening a popup menu in a tool button. (C++ enum variant: SC_ToolButtonMenu = 2
)
pub const SCTitleBarSysMenu: SubControl
[src]
System menu button (i.e., restore, close, etc.). (C++ enum variant: SC_TitleBarSysMenu = 1
)
pub const SCTitleBarMinButton: SubControl
[src]
Minimize button. (C++ enum variant: SC_TitleBarMinButton = 2
)
pub const SCTitleBarMaxButton: SubControl
[src]
Maximize button. (C++ enum variant: SC_TitleBarMaxButton = 4
)
pub const SCTitleBarCloseButton: SubControl
[src]
Close button. (C++ enum variant: SC_TitleBarCloseButton = 8
)
pub const SCTitleBarNormalButton: SubControl
[src]
Normal (restore) button. (C++ enum variant: SC_TitleBarNormalButton = 16
)
pub const SCTitleBarShadeButton: SubControl
[src]
Shade button. (C++ enum variant: SC_TitleBarShadeButton = 32
)
pub const SCTitleBarUnshadeButton: SubControl
[src]
Unshade button. (C++ enum variant: SC_TitleBarUnshadeButton = 64
)
pub const SCTitleBarContextHelpButton: SubControl
[src]
Context Help button. (C++ enum variant: SC_TitleBarContextHelpButton = 128
)
pub const SCTitleBarLabel: SubControl
[src]
Window title label. (C++ enum variant: SC_TitleBarLabel = 256
)
pub const SCDialGroove: SubControl
[src]
The groove for the dial. (C++ enum variant: SC_DialGroove = 1
)
pub const SCDialHandle: SubControl
[src]
The handle of the dial (i.e. what you use to control the dial). (C++ enum variant: SC_DialHandle = 2
)
pub const SCDialTickmarks: SubControl
[src]
The tickmarks for the dial. (C++ enum variant: SC_DialTickmarks = 4
)
pub const SCGroupBoxCheckBox: SubControl
[src]
The optional check box of a group box. (C++ enum variant: SC_GroupBoxCheckBox = 1
)
pub const SCGroupBoxLabel: SubControl
[src]
The title of a group box. (C++ enum variant: SC_GroupBoxLabel = 2
)
pub const SCGroupBoxContents: SubControl
[src]
The group box contents. (C++ enum variant: SC_GroupBoxContents = 4
)
pub const SCGroupBoxFrame: SubControl
[src]
The frame of a group box. (C++ enum variant: SC_GroupBoxFrame = 8
)
pub const SCMdiMinButton: SubControl
[src]
The minimize button for a MDI subwindow in the menu bar. (C++ enum variant: SC_MdiMinButton = 1
)
pub const SCMdiNormalButton: SubControl
[src]
The normal button for a MDI subwindow in the menu bar. (C++ enum variant: SC_MdiNormalButton = 2
)
pub const SCMdiCloseButton: SubControl
[src]
The close button for a MDI subwindow in the menu bar. (C++ enum variant: SC_MdiCloseButton = 4
)
pub const SCCustomBase: SubControl
[src]
C++ enum variant: SC_CustomBase = -268435456
pub const SCAll: SubControl
[src]
Special value that matches all sub-controls. (C++ enum variant: SC_All = -1
)
Trait Implementations
impl<T: Into<QFlags<SubControl>>> BitOr<T> for SubControl
[src]
type Output = QFlags<SubControl>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<SubControl>
[src]
impl Clone for SubControl
[src]
fn clone(&self) -> SubControl
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SubControl
[src]
impl Debug for SubControl
[src]
impl Eq for SubControl
[src]
impl From<SubControl> for c_int
[src]
fn from(value: SubControl) -> Self
[src]
impl From<SubControl> for QFlags<SubControl>
[src]
fn from(value: SubControl) -> Self
[src]
impl From<i32> for SubControl
[src]
impl PartialEq<SubControl> for SubControl
[src]
fn eq(&self, other: &SubControl) -> bool
[src]
fn ne(&self, other: &SubControl) -> bool
[src]
impl StructuralEq for SubControl
[src]
impl StructuralPartialEq for SubControl
[src]
Auto Trait Implementations
impl RefUnwindSafe for SubControl
impl Send for SubControl
impl Sync for SubControl
impl Unpin for SubControl
impl UnwindSafe for SubControl
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>,