[][src]Struct qt_core::GlobalColor

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

Qt's predefined QColor objects:

C++ enum: Qt::GlobalColor.

C++ documentation:

Qt's predefined QColor objects:

See also QColor.

Methods

impl GlobalColor[src]

pub fn to_int(&self) -> c_int[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]

impl Clone for GlobalColor[src]

impl Copy for GlobalColor[src]

impl Eq for GlobalColor[src]

impl PartialEq<GlobalColor> for GlobalColor[src]

impl Debug for GlobalColor[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<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]