qt-1.1.6.1: Qt bindings

Safe HaskellNone
LanguageHaskell98

Qth.Core.Base

Description

Documentation

class Qhxy t1 t2 | t1 -> t2 where Source

Methods

x :: t1 -> t2 Source

y :: t1 -> t2 Source

setX :: t1 -> t2 -> t1 Source

setY :: t1 -> t2 -> t1 Source

Instances

Qhxy (IPoint a) a 
Qhxy (IRect a) a 

class Qhwh t1 t2 | t1 -> t2 where Source

Methods

width :: t1 -> t2 Source

height :: t1 -> t2 Source

setWidth :: t1 -> t2 -> t1 Source

setHeight :: t1 -> t2 -> t1 Source

Instances

Qhwh (ISize a) a 
Qhwh (IRect a) a 

class QhisNull t1 where Source

Methods

isNull :: t1 -> Bool Source

Instances

class QhisEV t1 where Source

Methods

isEmpty :: t1 -> Bool Source

isValid :: t1 -> Bool Source

Instances

class Qhitranslate a b where Source

Methods

itranslate :: a -> b -> b -> a Source

Instances

(Ord a, Num a) => Qhitranslate (IRect a) a 
Qhitranslate (ILine a) a 

class Qhtranslate a where Source

Methods

translate :: a -> Int -> Int -> a Source

class QhtranslateF a where Source

Methods

translateF :: a -> Double -> Double -> a Source

class QhtranslateP a b | b -> a where Source

Methods

translateP :: a -> b -> a Source

Instances

(Ord a, Num a) => QhtranslateP (IRect a) (IPoint a) 
(Ord a, Num a) => QhtranslateP (ILine a) (IPoint a) 

class Qhdf a b where Source

Methods

(*~) :: a -> b -> a Source

(/~) :: a -> b -> a Source

(~*) :: b -> a -> a Source

(~/) :: b -> a -> a Source