[−][src]Struct qt_widgets::q_style_option::OptionType
This enum is used internally by QStyleOption, its subclasses, and qstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your own QStyleOption subclass and your own styles.
C++ enum: QStyleOption::OptionType
.
This enum is used internally by QStyleOption, its subclasses, and qstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your own QStyleOption subclass and your own styles.
The following values are used for custom controls:
See also type.
Methods
impl OptionType
[src]
impl OptionType
[src]
pub const SODefault: OptionType
[src]
QStyleOption (C++ enum variant: SO_Default = 0
)
pub const SOFocusRect: OptionType
[src]
QStyleOptionFocusRect (C++ enum variant: SO_FocusRect = 1
)
pub const SOButton: OptionType
[src]
QStyleOptionButton (C++ enum variant: SO_Button = 2
)
pub const SOTab: OptionType
[src]
QStyleOptionTab (C++ enum variant: SO_Tab = 3
)
pub const SOMenuItem: OptionType
[src]
QStyleOptionMenuItem (C++ enum variant: SO_MenuItem = 4
)
pub const SOFrame: OptionType
[src]
QStyleOptionFrame (C++ enum variant: SO_Frame = 5
)
pub const SOProgressBar: OptionType
[src]
QStyleOptionProgressBar (C++ enum variant: SO_ProgressBar = 6
)
pub const SOToolBox: OptionType
[src]
QStyleOptionToolBox (C++ enum variant: SO_ToolBox = 7
)
pub const SOHeader: OptionType
[src]
QStyleOptionHeader (C++ enum variant: SO_Header = 8
)
pub const SODockWidget: OptionType
[src]
QStyleOptionDockWidget (C++ enum variant: SO_DockWidget = 9
)
pub const SOViewItem: OptionType
[src]
QStyleOptionViewItem (used in Interviews) (C++ enum variant: SO_ViewItem = 10
)
pub const SOTabWidgetFrame: OptionType
[src]
QStyleOptionTabWidgetFrame (C++ enum variant: SO_TabWidgetFrame = 11
)
pub const SOTabBarBase: OptionType
[src]
QStyleOptionTabBarBase (C++ enum variant: SO_TabBarBase = 12
)
pub const SORubberBand: OptionType
[src]
QStyleOptionRubberBand (C++ enum variant: SO_RubberBand = 13
)
pub const SOToolBar: OptionType
[src]
QStyleOptionToolBar (C++ enum variant: SO_ToolBar = 14
)
pub const SOGraphicsItem: OptionType
[src]
QStyleOptionGraphicsItem (C++ enum variant: SO_GraphicsItem = 15
)
pub const SOComplex: OptionType
[src]
QStyleOptionComplex (C++ enum variant: SO_Complex = 983040
)
pub const SOSlider: OptionType
[src]
QStyleOptionSlider (C++ enum variant: SO_Slider = 983041
)
pub const SOSpinBox: OptionType
[src]
QStyleOptionSpinBox (C++ enum variant: SO_SpinBox = 983042
)
pub const SOToolButton: OptionType
[src]
QStyleOptionToolButton (C++ enum variant: SO_ToolButton = 983043
)
pub const SOComboBox: OptionType
[src]
QStyleOptionComboBox (C++ enum variant: SO_ComboBox = 983044
)
pub const SOTitleBar: OptionType
[src]
QStyleOptionTitleBar (C++ enum variant: SO_TitleBar = 983045
)
pub const SOGroupBox: OptionType
[src]
QStyleOptionGroupBox (C++ enum variant: SO_GroupBox = 983046
)
pub const SOSizeGrip: OptionType
[src]
QStyleOptionSizeGrip (C++ enum variant: SO_SizeGrip = 983047
)
pub const SOCustomBase: OptionType
[src]
Reserved for custom QStyleOptions; all custom controls values must be above this value (C++ enum variant: SO_CustomBase = 3840
)
pub const SOComplexCustomBase: OptionType
[src]
Reserved for custom QStyleOptions; all custom complex controls values must be above this value (C++ enum variant: SO_ComplexCustomBase = 251658240
)
Trait Implementations
impl Eq for OptionType
[src]
impl Clone for OptionType
[src]
fn clone(&self) -> OptionType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<OptionType> for OptionType
[src]
fn eq(&self, other: &OptionType) -> bool
[src]
fn ne(&self, other: &OptionType) -> bool
[src]
impl From<i32> for OptionType
[src]
impl From<OptionType> for c_int
[src]
fn from(value: OptionType) -> Self
[src]
impl Copy for OptionType
[src]
impl Debug for OptionType
[src]
Auto Trait Implementations
impl Send for OptionType
impl Unpin for OptionType
impl Sync for OptionType
impl UnwindSafe for OptionType
impl RefUnwindSafe for OptionType
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>,