[−][src]Struct qt_widgets::q_style_option_tool_button::ToolButtonFeature
Describes the various features that a tool button can have.
C++ enum: QStyleOptionToolButton::ToolButtonFeature
.
Describes the various features that a tool button can have.
The ToolButtonFeatures type is a typedef for QFlags<ToolButtonFeature>. It stores an OR combination of ToolButtonFeature values.
See also features, QToolButton::toolButtonStyle(), and QToolButton::popupMode().
Methods
impl ToolButtonFeature
[src]
impl ToolButtonFeature
[src]
pub const None: ToolButtonFeature
[src]
A normal tool button. (C++ enum variant: None = 0
)
pub const Arrow: ToolButtonFeature
[src]
The tool button is an arrow. (C++ enum variant: Arrow = 1
)
pub const Menu: ToolButtonFeature
[src]
The tool button has a menu. (C++ enum variant: Menu = 4
)
pub const MenuButtonPopup: ToolButtonFeature
[src]
The button should display an arrow to indicate that a menu is present. (C++ enum variant: MenuButtonPopup = 4
)
pub const PopupDelay: ToolButtonFeature
[src]
There is a delay to showing the menu. (C++ enum variant: PopupDelay = 8
)
pub const HasMenu: ToolButtonFeature
[src]
The button has a popup menu. (C++ enum variant: HasMenu = 16
)
Trait Implementations
impl Eq for ToolButtonFeature
[src]
impl Clone for ToolButtonFeature
[src]
fn clone(&self) -> ToolButtonFeature
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ToolButtonFeature> for ToolButtonFeature
[src]
fn eq(&self, other: &ToolButtonFeature) -> bool
[src]
fn ne(&self, other: &ToolButtonFeature) -> bool
[src]
impl From<i32> for ToolButtonFeature
[src]
impl From<ToolButtonFeature> for c_int
[src]
fn from(value: ToolButtonFeature) -> Self
[src]
impl From<ToolButtonFeature> for QFlags<ToolButtonFeature>
[src]
fn from(value: ToolButtonFeature) -> Self
[src]
impl Copy for ToolButtonFeature
[src]
impl<T: Into<QFlags<ToolButtonFeature>>> BitOr<T> for ToolButtonFeature
[src]
type Output = QFlags<ToolButtonFeature>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<ToolButtonFeature>
[src]
impl Debug for ToolButtonFeature
[src]
Auto Trait Implementations
impl Send for ToolButtonFeature
impl Unpin for ToolButtonFeature
impl Sync for ToolButtonFeature
impl UnwindSafe for ToolButtonFeature
impl RefUnwindSafe for ToolButtonFeature
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>,