[][src]Struct qt_core::ToolButtonStyle

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

The style of the tool button, describing how the button's text and icon should be displayed.

C++ enum: Qt::ToolButtonStyle.

C++ documentation:

The style of the tool button, describing how the button's text and icon should be displayed.

Methods

impl ToolButtonStyle[src]

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

impl ToolButtonStyle[src]

pub const ToolButtonIconOnly: ToolButtonStyle[src]

Only display the icon. (C++ enum variant: ToolButtonIconOnly = 0)

pub const ToolButtonTextOnly: ToolButtonStyle[src]

Only display the text. (C++ enum variant: ToolButtonTextOnly = 1)

pub const ToolButtonTextBesideIcon: ToolButtonStyle[src]

The text appears beside the icon. (C++ enum variant: ToolButtonTextBesideIcon = 2)

pub const ToolButtonTextUnderIcon: ToolButtonStyle[src]

The text appears under the icon. (C++ enum variant: ToolButtonTextUnderIcon = 3)

pub const ToolButtonFollowStyle: ToolButtonStyle[src]

Follow the style. (C++ enum variant: ToolButtonFollowStyle = 4)

Trait Implementations

impl From<i32> for ToolButtonStyle[src]

impl From<ToolButtonStyle> for c_int[src]

impl Clone for ToolButtonStyle[src]

impl Copy for ToolButtonStyle[src]

impl Eq for ToolButtonStyle[src]

impl PartialEq<ToolButtonStyle> for ToolButtonStyle[src]

impl Debug for ToolButtonStyle[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<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.

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

impl<T> BorrowMut<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]