[][src]Struct qt_widgets::q_wizard::WizardOption

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

This enum specifies various options that affect the look and feel of a wizard.

C++ enum: QWizard::WizardOption.

C++ documentation:

This enum specifies various options that affect the look and feel of a wizard.

The WizardOptions type is a typedef for QFlags<WizardOption>. It stores an OR combination of WizardOption values.

See also setOptions(), setOption(), and testOption().

Methods

impl WizardOption[src]

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

impl WizardOption[src]

pub const IndependentPages: WizardOption[src]

The pages are independent of each other (i.e., they don't derive values from each other). (C++ enum variant: IndependentPages = 1)

pub const IgnoreSubTitles: WizardOption[src]

Don't show any subtitles, even if they are set. (C++ enum variant: IgnoreSubTitles = 2)

pub const ExtendedWatermarkPixmap: WizardOption[src]

Extend any WatermarkPixmap all the way down to the window's edge. (C++ enum variant: ExtendedWatermarkPixmap = 4)

pub const NoDefaultButton: WizardOption[src]

Don't make the Next or Finish button the dialog's default button. (C++ enum variant: NoDefaultButton = 8)

pub const NoBackButtonOnStartPage: WizardOption[src]

Don't show the Back button on the start page. (C++ enum variant: NoBackButtonOnStartPage = 16)

pub const NoBackButtonOnLastPage: WizardOption[src]

Don't show the Back button on the last page. (C++ enum variant: NoBackButtonOnLastPage = 32)

pub const DisabledBackButtonOnLastPage: WizardOption[src]

Disable the Back button on the last page. (C++ enum variant: DisabledBackButtonOnLastPage = 64)

pub const HaveNextButtonOnLastPage: WizardOption[src]

Show the (disabled) Next button on the last page. (C++ enum variant: HaveNextButtonOnLastPage = 128)

pub const HaveFinishButtonOnEarlyPages: WizardOption[src]

Show the (disabled) Finish button on non-final pages. (C++ enum variant: HaveFinishButtonOnEarlyPages = 256)

pub const NoCancelButton: WizardOption[src]

Don't show the Cancel button. (C++ enum variant: NoCancelButton = 512)

pub const CancelButtonOnLeft: WizardOption[src]

Put the Cancel button on the left of Back (rather than on the right of Finish or Next). (C++ enum variant: CancelButtonOnLeft = 1024)

pub const HaveHelpButton: WizardOption[src]

Show the Help button. (C++ enum variant: HaveHelpButton = 2048)

pub const HelpButtonOnRight: WizardOption[src]

Put the Help button on the far right of the button layout (rather than on the far left). (C++ enum variant: HelpButtonOnRight = 4096)

pub const HaveCustomButton1: WizardOption[src]

Show the first user-defined button (CustomButton1). (C++ enum variant: HaveCustomButton1 = 8192)

pub const HaveCustomButton2: WizardOption[src]

Show the second user-defined button (CustomButton2). (C++ enum variant: HaveCustomButton2 = 16384)

pub const HaveCustomButton3: WizardOption[src]

Show the third user-defined button (CustomButton3). (C++ enum variant: HaveCustomButton3 = 32768)

pub const NoCancelButtonOnLastPage: WizardOption[src]

Don't show the Cancel button on the last page. (C++ enum variant: NoCancelButtonOnLastPage = 65536)

Trait Implementations

impl Eq for WizardOption[src]

impl Clone for WizardOption[src]

impl PartialEq<WizardOption> for WizardOption[src]

impl From<i32> for WizardOption[src]

impl From<WizardOption> for c_int[src]

impl From<WizardOption> for QFlags<WizardOption>[src]

impl Copy for WizardOption[src]

impl<T: Into<QFlags<WizardOption>>> BitOr<T> for WizardOption[src]

type Output = QFlags<WizardOption>

The resulting type after applying the | operator.

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