qtah-qt5-0.3.0: Qt bindings for Haskell

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.Qtah.Gui.QImage

Documentation

class QImageValue a where Source #

Minimal complete definition

withQImagePtr

Methods

withQImagePtr :: a -> (QImageConst -> IO b) -> IO b Source #

Instances

QImageConstPtr a => QImageValue a Source # 

Methods

withQImagePtr :: a -> (QImageConst -> IO b) -> IO b Source #

class (QImageConstPtr this, QPaintDevicePtr this) => QImagePtr this where Source #

Minimal complete definition

toQImage

Methods

toQImage :: this -> QImage Source #

data QImage Source #

Instances

Eq QImage Source # 

Methods

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

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

Ord QImage Source # 
Show QImage Source # 
CppPtr QImage Source # 

Methods

nullptr :: QImage #

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

toPtr :: QImage -> Ptr QImage #

touchCppPtr :: QImage -> IO () #

Deletable QImage Source # 

Methods

delete :: QImage -> IO () #

toGc :: QImage -> IO QImage #

QPaintDevicePtr QImage Source # 
QPaintDeviceConstPtr QImage Source # 
QImagePtr QImage Source # 
QImageConstPtr QImage Source # 
QImageValue a => Assignable QImage a Source # 

Methods

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

Copyable QImage QImage Source # 

Methods

copy :: QImage -> IO QImage #

Copyable QImageConst QImage Source # 

Methods

copy :: QImageConst -> IO QImage #

Decodable QImage QImage Source # 

Methods

decode :: QImage -> IO QImage #

Decodable QImageConst QImage Source # 
Assignable (Ptr (Ptr QImage)) QImage Source # 

Methods

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

Decodable (Ptr (Ptr QImage)) QImage Source # 

Methods

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

cast :: QImagePtr this => this -> QImage Source #

downCastConst :: QImageSuperConst a => a -> QImageConst Source #

downCast :: QImageSuper a => a -> QImage Source #

decode :: QImageConstPtr this => this -> IO QImage Source #

newCopy :: QImageValue arg'1 => arg'1 -> IO QImage Source #

newWithFile :: QStringValue arg'1 => arg'1 -> IO QImage Source #

aSSIGN :: (QImagePtr arg'1, QImageValue arg'2) => arg'1 -> arg'2 -> IO QImage Source #

allGray :: QImageValue arg'1 => arg'1 -> IO Bool Source #

bitPlaneCount :: QImageValue arg'1 => arg'1 -> IO Int Source #

bits :: QImagePtr arg'1 => arg'1 -> IO (Ptr CUChar) Source #

bitsConst :: QImageValue arg'1 => arg'1 -> IO (Ptr CUChar) Source #

byteCount :: QImageValue arg'1 => arg'1 -> IO Int Source #

bytesPerLine :: QImageValue arg'1 => arg'1 -> IO Int Source #

color :: QImageValue arg'1 => arg'1 -> Int -> IO CUInt Source #

colorCount :: QImageValue arg'1 => arg'1 -> IO Int Source #

constScanLine :: QImageValue arg'1 => arg'1 -> Int -> IO (Ptr CUChar) Source #

copyRaw :: QImageValue arg'1 => arg'1 -> Int -> Int -> Int -> Int -> IO QImage Source #

copyRect :: (QImageValue arg'1, QRectValue arg'2) => arg'1 -> arg'2 -> IO QImage Source #

depth :: QImageValue arg'1 => arg'1 -> IO Int Source #

dotsPerMeterX :: QImageValue arg'1 => arg'1 -> IO Int Source #

dotsPerMeterY :: QImageValue arg'1 => arg'1 -> IO Int Source #

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

fillWithColor :: (QImagePtr arg'1, QColorValue arg'2) => arg'1 -> arg'2 -> IO () Source #

fillWithPixel :: QImagePtr arg'1 => arg'1 -> CUInt -> IO () Source #

format :: QImageValue arg'1 => arg'1 -> IO QImageFormat Source #

hasAlphaChannel :: QImageValue arg'1 => arg'1 -> IO Bool Source #

height :: QImageValue arg'1 => arg'1 -> IO Int Source #

invertPixels :: QImagePtr arg'1 => arg'1 -> IO () Source #

isGrayscale :: QImageValue arg'1 => arg'1 -> IO Bool Source #

isNull :: QImageValue arg'1 => arg'1 -> IO Bool Source #

load :: (QImagePtr arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO Bool Source #

loadFromData :: QImagePtr arg'1 => arg'1 -> Ptr CUChar -> Int -> IO Bool Source #

loadFromDataWithFormat :: (QImagePtr arg'1, QStringValue arg'4) => arg'1 -> Ptr CUChar -> Int -> arg'4 -> IO Bool Source #

loadWithFormat :: (QImagePtr arg'1, QStringValue arg'2, QStringValue arg'3) => arg'1 -> arg'2 -> arg'3 -> IO Bool Source #

mirrored :: QImageValue arg'1 => arg'1 -> Bool -> Bool -> IO QImage Source #

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

newWithFileAndFormat :: (QStringValue arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO QImage Source #

offset :: QImageValue arg'1 => arg'1 -> IO HPoint Source #

pixelAtPoint :: (QImageValue arg'1, QPointValue arg'2) => arg'1 -> arg'2 -> IO CUInt Source #

pixelAtRaw :: QImageValue arg'1 => arg'1 -> Int -> Int -> IO CUInt Source #

pixelColorAtPoint :: (QImageValue arg'1, QPointValue arg'2) => arg'1 -> arg'2 -> IO HColor Source #

pixelColorAtRaw :: QImageValue arg'1 => arg'1 -> Int -> Int -> IO HColor Source #

pixelIndexAtPoint :: (QImageValue arg'1, QPointValue arg'2) => arg'1 -> arg'2 -> IO Int Source #

pixelIndexAtRaw :: QImageValue arg'1 => arg'1 -> Int -> Int -> IO Int Source #

rect :: QImageValue arg'1 => arg'1 -> IO HRect Source #

rgbSwapped :: QImageValue arg'1 => arg'1 -> IO QImage Source #

save :: (QImagePtr arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO Bool Source #

saveAll :: (QImagePtr arg'1, QStringValue arg'2, QStringValue arg'3) => arg'1 -> arg'2 -> arg'3 -> Int -> IO Bool Source #

scaled :: (QImageValue arg'1, QSizeValue arg'2) => arg'1 -> arg'2 -> IO QImage Source #

scaledToHeight :: QImageValue arg'1 => arg'1 -> Int -> IO QImage Source #

scaledToWidth :: QImageValue arg'1 => arg'1 -> Int -> IO QImage Source #

scaledWithRaw :: QImageValue arg'1 => arg'1 -> Int -> Int -> IO QImage Source #

scanLine :: QImagePtr arg'1 => arg'1 -> Int -> IO (Ptr CUChar) Source #

scanLineConst :: QImageValue arg'1 => arg'1 -> Int -> IO (Ptr CUChar) Source #

setColor :: QImagePtr arg'1 => arg'1 -> Int -> CUInt -> IO () Source #

setColorCount :: QImagePtr arg'1 => arg'1 -> Int -> IO () Source #

setColorTable :: (QImagePtr arg'1, QVectorQRgbValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setDevicePixelRatio :: QImagePtr arg'1 => arg'1 -> Double -> IO () Source #

setDotsPerMeterX :: QImagePtr arg'1 => arg'1 -> Int -> IO () Source #

setDotsPerMeterY :: QImagePtr arg'1 => arg'1 -> Int -> IO () Source #

setOffset :: (QImagePtr arg'1, QPointValue arg'2) => arg'1 -> arg'2 -> IO () Source #

setPixelAtPoint :: (QImagePtr arg'1, QPointValue arg'2) => arg'1 -> arg'2 -> CUInt -> IO () Source #

setPixelAtRaw :: QImagePtr arg'1 => arg'1 -> Int -> Int -> CUInt -> IO () Source #

setPixelColorAtPoint :: (QImagePtr arg'1, QPointValue arg'2, QColorValue arg'3) => arg'1 -> arg'2 -> arg'3 -> IO () Source #

setPixelColorAtRaw :: (QImagePtr arg'1, QColorValue arg'4) => arg'1 -> Int -> Int -> arg'4 -> IO () Source #

setText :: (QImagePtr arg'1, QStringValue arg'2, QStringValue arg'3) => arg'1 -> arg'2 -> arg'3 -> IO () Source #

size :: QImageValue arg'1 => arg'1 -> IO HSize Source #

swap :: (QImagePtr arg'1, QImagePtr arg'2) => arg'1 -> arg'2 -> IO () Source #

text :: (QImageValue arg'1, QStringValue arg'2) => arg'1 -> arg'2 -> IO String Source #

textKeys :: QImageValue arg'1 => arg'1 -> IO [String] Source #

transformedWithTransform :: (QImageValue arg'1, QTransformValue arg'2) => arg'1 -> arg'2 -> IO QImage Source #

validAtPoint :: (QImageValue arg'1, QPointValue arg'2) => arg'1 -> arg'2 -> IO Bool Source #

validAtRaw :: QImageValue arg'1 => arg'1 -> Int -> Int -> IO Bool Source #

width :: QImageValue arg'1 => arg'1 -> IO Int Source #

data QImageFormat Source #