[−][src]Struct qt_widgets::q_dialog_button_box::ButtonLayout
This enum describes the layout policy to be used when arranging the buttons contained in the button box.
C++ enum: QDialogButtonBox::ButtonLayout
.
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]
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]
fn clone(&self) -> ButtonLayout
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ButtonLayout> for ButtonLayout
[src]
fn eq(&self, other: &ButtonLayout) -> bool
[src]
fn ne(&self, other: &ButtonLayout) -> bool
[src]
impl From<i32> for ButtonLayout
[src]
impl From<ButtonLayout> for c_int
[src]
fn from(value: ButtonLayout) -> Self
[src]
impl Copy for ButtonLayout
[src]
impl Debug for ButtonLayout
[src]
Auto Trait Implementations
impl Send for ButtonLayout
impl Unpin for ButtonLayout
impl Sync for ButtonLayout
impl UnwindSafe for ButtonLayout
impl RefUnwindSafe for ButtonLayout
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>,