[−][src]Struct qt_core::GlobalColor
Qt's predefined QColor objects:
C++ enum: Qt::GlobalColor
.
Methods
impl GlobalColor
[src]
impl GlobalColor
[src]
pub const Color0: GlobalColor
[src]
0 pixel value (for bitmaps) (C++ enum variant: color0 = 0
)
pub const Color1: GlobalColor
[src]
1 pixel value (for bitmaps) (C++ enum variant: color1 = 1
)
pub const Black: GlobalColor
[src]
Black (#000000) (C++ enum variant: black = 2
)
pub const White: GlobalColor
[src]
White (#ffffff) (C++ enum variant: white = 3
)
pub const DarkGray: GlobalColor
[src]
Dark gray (#808080) (C++ enum variant: darkGray = 4
)
pub const Gray: GlobalColor
[src]
Gray (#a0a0a4) (C++ enum variant: gray = 5
)
pub const LightGray: GlobalColor
[src]
Light gray (#c0c0c0) (C++ enum variant: lightGray = 6
)
pub const Red: GlobalColor
[src]
Red (#ff0000) (C++ enum variant: red = 7
)
pub const Green: GlobalColor
[src]
Green (#00ff00) (C++ enum variant: green = 8
)
pub const Blue: GlobalColor
[src]
Blue (#0000ff) (C++ enum variant: blue = 9
)
pub const Cyan: GlobalColor
[src]
Cyan (#00ffff) (C++ enum variant: cyan = 10
)
pub const Magenta: GlobalColor
[src]
Magenta (#ff00ff) (C++ enum variant: magenta = 11
)
pub const Yellow: GlobalColor
[src]
Yellow (#ffff00) (C++ enum variant: yellow = 12
)
pub const DarkRed: GlobalColor
[src]
Dark red (#800000) (C++ enum variant: darkRed = 13
)
pub const DarkGreen: GlobalColor
[src]
Dark green (#008000) (C++ enum variant: darkGreen = 14
)
pub const DarkBlue: GlobalColor
[src]
Dark blue (#000080) (C++ enum variant: darkBlue = 15
)
pub const DarkCyan: GlobalColor
[src]
Dark cyan (#008080) (C++ enum variant: darkCyan = 16
)
pub const DarkMagenta: GlobalColor
[src]
Dark magenta (#800080) (C++ enum variant: darkMagenta = 17
)
pub const DarkYellow: GlobalColor
[src]
Dark yellow (#808000) (C++ enum variant: darkYellow = 18
)
pub const Transparent: GlobalColor
[src]
a transparent black value (i.e., QColor(0, 0, 0, 0)) (C++ enum variant: transparent = 19
)
Trait Implementations
impl From<i32> for GlobalColor
[src]
impl From<GlobalColor> for c_int
[src]
fn from(value: GlobalColor) -> Self
[src]
impl Clone for GlobalColor
[src]
fn clone(&self) -> GlobalColor
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GlobalColor
[src]
impl Eq for GlobalColor
[src]
impl PartialEq<GlobalColor> for GlobalColor
[src]
fn eq(&self, other: &GlobalColor) -> bool
[src]
fn ne(&self, other: &GlobalColor) -> bool
[src]
impl Debug for GlobalColor
[src]
Auto Trait Implementations
impl Send for GlobalColor
impl Sync for GlobalColor
impl Unpin for GlobalColor
impl UnwindSafe for GlobalColor
impl RefUnwindSafe for GlobalColor
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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> 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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
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>,