[][src]Struct qt_widgets::q_dialog_button_box::ButtonLayout

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

This enum describes the layout policy to be used when arranging the buttons contained in the button box.

C++ enum: QDialogButtonBox::ButtonLayout.

C++ documentation:

This enum describes the layout policy to be used when arranging the buttons contained in the button box.

The button layout is specified by the current style. However, on the X11 platform, it may be influenced by the desktop environment.

Methods

impl ButtonLayout[src]

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

impl ButtonLayout[src]

pub const WinLayout: ButtonLayout[src]

Use a policy appropriate for applications on Windows. (C++ enum variant: WinLayout = 0)

pub const MacLayout: ButtonLayout[src]

Use a policy appropriate for applications on macOS. (C++ enum variant: MacLayout = 1)

pub const KdeLayout: ButtonLayout[src]

Use a policy appropriate for applications on KDE. (C++ enum variant: KdeLayout = 2)

pub const GnomeLayout: ButtonLayout[src]

Use a policy appropriate for applications on GNOME. (C++ enum variant: GnomeLayout = 3)

pub const AndroidLayout: ButtonLayout[src]

Use a policy appropriate for applications on Android. This enum value was added in Qt 5.10. (C++ enum variant: AndroidLayout = 5)

Trait Implementations

impl Eq for ButtonLayout[src]

impl Clone for ButtonLayout[src]

impl PartialEq<ButtonLayout> for ButtonLayout[src]

impl From<i32> for ButtonLayout[src]

impl From<ButtonLayout> for c_int[src]

impl Copy for ButtonLayout[src]

impl Debug for ButtonLayout[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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