[][src]Struct qt_widgets::q_wizard::WizardButton

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

This enum specifies the buttons in a wizard.

C++ enum: QWizard::WizardButton.

C++ documentation:

This enum specifies the buttons in a wizard.

The following value is only useful when calling setButtonLayout():

See also setButton(), setButtonText(), setButtonLayout(), and customButtonClicked().

Methods

impl WizardButton[src]

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

impl WizardButton[src]

pub const BackButton: WizardButton[src]

The Back button (Go Back on macOS) (C++ enum variant: BackButton = 0)

pub const NextButton: WizardButton[src]

The Next button (Continue on macOS) (C++ enum variant: NextButton = 1)

pub const CommitButton: WizardButton[src]

The Commit button (C++ enum variant: CommitButton = 2)

pub const FinishButton: WizardButton[src]

The Finish button (Done on macOS) (C++ enum variant: FinishButton = 3)

pub const CancelButton: WizardButton[src]

The Cancel button (see also NoCancelButton) (C++ enum variant: CancelButton = 4)

pub const HelpButton: WizardButton[src]

The Help button (see also HaveHelpButton) (C++ enum variant: HelpButton = 5)

pub const CustomButton1: WizardButton[src]

The first user-defined button (see also HaveCustomButton1) (C++ enum variant: CustomButton1 = 6)

pub const CustomButton2: WizardButton[src]

The second user-defined button (see also HaveCustomButton2) (C++ enum variant: CustomButton2 = 7)

pub const CustomButton3: WizardButton[src]

The third user-defined button (see also HaveCustomButton3) (C++ enum variant: CustomButton3 = 8)

pub const Stretch: WizardButton[src]

A horizontal stretch in the button layout (C++ enum variant: Stretch = 9)

pub const NoButton: WizardButton[src]

C++ enum variant: NoButton = -1

pub const NStandardButtons: WizardButton[src]

C++ enum variant: NStandardButtons = 6

pub const NButtons: WizardButton[src]

C++ enum variant: NButtons = 9

Trait Implementations

impl Eq for WizardButton[src]

impl Clone for WizardButton[src]

impl PartialEq<WizardButton> for WizardButton[src]

impl From<i32> for WizardButton[src]

impl From<WizardButton> for c_int[src]

impl Copy for WizardButton[src]

impl Debug for WizardButton[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]