qtah-qt5-0.3.0: Qt bindings for Haskell

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.Qtah.Gui.QColor

Documentation

class QColorValue a where Source #

Minimal complete definition

withQColorPtr

Methods

withQColorPtr :: a -> (QColorConst -> IO b) -> IO b Source #

Instances

class QColorConstPtr this => QColorPtr this where Source #

Minimal complete definition

toQColor

Methods

toQColor :: this -> QColor Source #

data QColor Source #

Instances

cast :: QColorPtr this => this -> QColor Source #

downCastConst :: QColorSuperConst a => a -> QColorConst Source #

downCast :: QColorSuper a => a -> QColor Source #

decode :: QColorConstPtr this => this -> IO HColor Source #

newCopy :: QColorValue arg'1 => arg'1 -> IO QColor Source #

newRgba :: Int -> Int -> Int -> Int -> IO QColor Source #

aSSIGN :: (QColorPtr arg'1, QColorValue arg'2) => arg'1 -> arg'2 -> IO QColor Source #

alpha :: QColorValue arg'1 => arg'1 -> IO Int Source #

alphaF :: QColorValue arg'1 => arg'1 -> IO Double Source #

black :: QColorValue arg'1 => arg'1 -> IO Int Source #

blackF :: QColorValue arg'1 => arg'1 -> IO Double Source #

blue :: QColorValue arg'1 => arg'1 -> IO Int Source #

blueF :: QColorValue arg'1 => arg'1 -> IO Double Source #

convertTo :: QColorValue arg'1 => arg'1 -> QColorSpec -> IO HColor Source #

cyan :: QColorValue arg'1 => arg'1 -> IO Int Source #

cyanF :: QColorValue arg'1 => arg'1 -> IO Double Source #

darker :: QColorValue arg'1 => arg'1 -> IO HColor Source #

darkerBy :: QColorValue arg'1 => arg'1 -> Int -> IO HColor Source #

eQ :: (QColorValue arg'1, QColorValue arg'2) => arg'1 -> arg'2 -> IO Bool Source #

green :: QColorValue arg'1 => arg'1 -> IO Int Source #

greenF :: QColorValue arg'1 => arg'1 -> IO Double Source #

hslHue :: QColorValue arg'1 => arg'1 -> IO Int Source #

hslHueF :: QColorValue arg'1 => arg'1 -> IO Double Source #

hslSaturation :: QColorValue arg'1 => arg'1 -> IO Int Source #

hsvHue :: QColorValue arg'1 => arg'1 -> IO Int Source #

hsvHueF :: QColorValue arg'1 => arg'1 -> IO Double Source #

hsvSaturation :: QColorValue arg'1 => arg'1 -> IO Int Source #

hue :: QColorValue arg'1 => arg'1 -> IO Int Source #

hueF :: QColorValue arg'1 => arg'1 -> IO Double Source #

isValid :: QColorValue arg'1 => arg'1 -> IO Bool Source #

isValidColor :: QStringValue arg'1 => arg'1 -> IO Bool Source #

lighter :: QColorValue arg'1 => arg'1 -> IO HColor Source #

lighterBy :: QColorValue arg'1 => arg'1 -> Int -> IO HColor Source #

lightness :: QColorValue arg'1 => arg'1 -> IO Int Source #

lightnessF :: QColorValue arg'1 => arg'1 -> IO Double Source #

magenta :: QColorValue arg'1 => arg'1 -> IO Int Source #

magentaF :: QColorValue arg'1 => arg'1 -> IO Double Source #

nE :: (QColorValue arg'1, QColorValue arg'2) => arg'1 -> arg'2 -> IO Bool Source #

name :: QColorValue arg'1 => arg'1 -> IO String Source #

red :: QColorValue arg'1 => arg'1 -> IO Int Source #

redF :: QColorValue arg'1 => arg'1 -> IO Double Source #

rgb :: QColorValue arg'1 => arg'1 -> IO CUInt Source #

rgba :: QColorValue arg'1 => arg'1 -> IO CUInt Source #

saturation :: QColorValue arg'1 => arg'1 -> IO Int Source #

saturationF :: QColorValue arg'1 => arg'1 -> IO Double Source #

setAlpha :: QColorPtr arg'1 => arg'1 -> Int -> IO () Source #

setAlphaF :: QColorPtr arg'1 => arg'1 -> Double -> IO () Source #

setBlue :: QColorPtr arg'1 => arg'1 -> Int -> IO () Source #

setBlueF :: QColorPtr arg'1 => arg'1 -> Double -> IO () Source #

setCmyk :: QColorPtr arg'1 => arg'1 -> Int -> Int -> Int -> Int -> IO () Source #

setCmykF :: QColorPtr arg'1 => arg'1 -> Double -> Double -> Double -> Double -> IO () Source #

setCmyka :: QColorPtr arg'1 => arg'1 -> Int -> Int -> Int -> Int -> Int -> IO () Source #

setCmykaF :: QColorPtr arg'1 => arg'1 -> Double -> Double -> Double -> Double -> Double -> IO () Source #

setGreen :: QColorPtr arg'1 => arg'1 -> Int -> IO () Source #

setGreenF :: QColorPtr arg'1 => arg'1 -> Double -> IO () Source #

setHsl :: QColorPtr arg'1 => arg'1 -> Int -> Int -> Int -> IO () Source #

setHslF :: QColorPtr arg'1 => arg'1 -> Double -> Double -> Double -> IO () Source #

setHsla :: QColorPtr arg'1 => arg'1 -> Int -> Int -> Int -> Int -> IO () Source #

setHslaF :: QColorPtr arg'1 => arg'1 -> Double -> Double -> Double -> Double -> IO () Source #

setHsv :: QColorPtr arg'1 => arg'1 -> Int -> Int -> Int -> IO () Source #

setHsvF :: QColorPtr arg'1 => arg'1 -> Double -> Double -> Double -> IO () Source #

setHsva :: QColorPtr arg'1 => arg'1 -> Int -> Int -> Int -> Int -> IO () Source #

setHsvaF :: QColorPtr arg'1 => arg'1 -> Double -> Double -> Double -> Double -> IO () Source #

setNamedColor :: (QColorPtr arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setQRgb :: QColorPtr arg'1 => arg'1 -> CUInt -> IO () Source #

setQRgba :: QColorPtr arg'1 => arg'1 -> CUInt -> IO () Source #

setRed :: QColorPtr arg'1 => arg'1 -> Int -> IO () Source #

setRedF :: QColorPtr arg'1 => arg'1 -> Double -> IO () Source #

setRgb :: QColorPtr arg'1 => arg'1 -> Int -> Int -> Int -> IO () Source #

setRgbF :: QColorPtr arg'1 => arg'1 -> Double -> Double -> Double -> IO () Source #

setRgba :: QColorPtr arg'1 => arg'1 -> Int -> Int -> Int -> Int -> IO () Source #

setRgbaF :: QColorPtr arg'1 => arg'1 -> Double -> Double -> Double -> Double -> IO () Source #

spec :: QColorValue arg'1 => arg'1 -> IO QColorSpec Source #

toCmyk :: QColorValue arg'1 => arg'1 -> IO HColor Source #

toHsl :: QColorValue arg'1 => arg'1 -> IO HColor Source #

toHsv :: QColorValue arg'1 => arg'1 -> IO HColor Source #

toRgb :: QColorValue arg'1 => arg'1 -> IO HColor Source #

value :: QColorValue arg'1 => arg'1 -> IO Int Source #

valueF :: QColorValue arg'1 => arg'1 -> IO Double Source #

yellow :: QColorValue arg'1 => arg'1 -> IO Int Source #

yellowF :: QColorValue arg'1 => arg'1 -> IO Double Source #

qRgb :: Int -> Int -> Int -> CUInt Source #

qRgba :: Int -> Int -> Int -> Int -> CUInt Source #