[−][src]Struct qt_widgets::q_color_dialog::ColorDialogOption
This enum specifies various options that affect the look and feel of a color dialog.
C++ enum: QColorDialog::ColorDialogOption
.
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]
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]
fn clone(&self) -> ColorDialogOption
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ColorDialogOption> for ColorDialogOption
[src]
fn eq(&self, other: &ColorDialogOption) -> bool
[src]
fn ne(&self, other: &ColorDialogOption) -> bool
[src]
impl From<i32> for ColorDialogOption
[src]
impl From<ColorDialogOption> for c_int
[src]
fn from(value: ColorDialogOption) -> Self
[src]
impl From<ColorDialogOption> for QFlags<ColorDialogOption>
[src]
fn from(value: ColorDialogOption) -> Self
[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.
fn bitor(self, rhs: T) -> QFlags<ColorDialogOption>
[src]
impl Debug for ColorDialogOption
[src]
Auto Trait Implementations
impl Send for ColorDialogOption
impl Unpin for ColorDialogOption
impl Sync for ColorDialogOption
impl UnwindSafe for ColorDialogOption
impl RefUnwindSafe for ColorDialogOption
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>,