qtah-qt5-0.5.1: 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
QColorConstPtr a => QColorValue a Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Methods

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

QColorValue HColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Methods

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

class QColorConstPtr this => QColorPtr this where Source #

Minimal complete definition

toQColor

Methods

toQColor :: this -> QColor Source #

Instances
QColorPtr QColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

data QColorConst Source #

Instances
Eq QColorConst Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Ord QColorConst Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Show QColorConst Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

CppPtr QColorConst Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Deletable QColorConst Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

QColorConstPtr QColorConst Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Copyable QColorConst QColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Methods

copy :: QColorConst -> IO QColor #

Encodable QColorConst HColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Decodable QColorConst HColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

data QColor Source #

Instances
Eq QColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Methods

(==) :: QColor -> QColor -> Bool #

(/=) :: QColor -> QColor -> Bool #

Ord QColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Show QColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

CppPtr QColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Methods

nullptr :: QColor #

withCppPtr :: QColor -> (Ptr QColor -> IO a) -> IO a #

toPtr :: QColor -> Ptr QColor #

touchCppPtr :: QColor -> IO () #

Deletable QColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Methods

delete :: QColor -> IO () #

toGc :: QColor -> IO QColor #

QColorPtr QColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

QColorConstPtr QColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

QColorValue a => Assignable QColor a Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Methods

assign :: QColor -> a -> IO () #

Copyable QColor QColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Methods

copy :: QColor -> IO QColor #

Copyable QColorConst QColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Methods

copy :: QColorConst -> IO QColor #

Encodable QColor HColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Methods

encode :: HColor -> IO QColor #

Decodable QColor HColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Methods

decode :: QColor -> IO HColor #

Assignable (Ptr (Ptr QColor)) QColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Methods

assign :: Ptr (Ptr QColor) -> QColor -> IO () #

Decodable (Ptr (Ptr QColor)) QColor Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Methods

decode :: Ptr (Ptr QColor) -> IO QColor #

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 #

data QColorNameFormat Source #

Constructors

HexRgb 
HexArgb 
Instances
Bounded QColorNameFormat Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Enum QColorNameFormat Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Eq QColorNameFormat Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Ord QColorNameFormat Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

Show QColorNameFormat Source # 
Instance details

Defined in Graphics.UI.Qtah.Generated.Gui.QColor

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

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