[][src]Struct qt_widgets::q_color_dialog::ColorDialogOption

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

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

C++ enum: QColorDialog::ColorDialogOption.

C++ documentation:

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

This enum was introduced or modified in Qt 4.5.

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

See also options, setOption(), testOption(), and windowModality().

Methods

impl ColorDialogOption[src]

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

impl ColorDialogOption[src]

pub const ShowAlphaChannel: ColorDialogOption[src]

Allow the user to select the alpha component of a color. (C++ enum variant: ShowAlphaChannel = 1)

pub const NoButtons: ColorDialogOption[src]

Don't display OK and Cancel buttons. (Useful for "live dialogs".) (C++ enum variant: NoButtons = 2)

pub const DontUseNativeDialog: ColorDialogOption[src]

Use Qt's standard color dialog instead of the operating system native color dialog. (C++ enum variant: DontUseNativeDialog = 4)

Trait Implementations

impl Eq for ColorDialogOption[src]

impl Clone for ColorDialogOption[src]

impl PartialEq<ColorDialogOption> for ColorDialogOption[src]

impl From<i32> for ColorDialogOption[src]

impl From<ColorDialogOption> for c_int[src]

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

impl Copy for ColorDialogOption[src]

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

type Output = QFlags<ColorDialogOption>

The resulting type after applying the | operator.

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