qt-1.1.6.1: Qt bindings

Safe HaskellNone
LanguageHaskell98

Qtc.Core.Attributes

Description

Documentation

class Qst a where Source

Methods

qstobj :: a -> QObject () Source

class Qstt a b where Source

Methods

qsttobj :: a -> b Source

data Qsignal x f Source

Constructors

Qsignal String 

data Qsig f Source

Constructors

Qsig String 

data Qsignalf f Source

Constructors

Qsignalf (Qsig f) (QObject ()) 

type QSlot a = Qslot a (a -> IO ()) Source

type QSlotP a p = Qslot a (a -> p -> IO ()) Source

data Qslot x f Source

Constructors

Qslot String 

data Prop w Source

Constructors

forall a . (Attr w a) := a infixr 0 
forall a . (Attr w a) :~ (a -> a) infixr 0 
forall a . (Attr w a) ::= (w -> a) infixr 0 
forall a . (Attr w a) ::~ (w -> a -> a) infixr 0 
forall a . (WriteAttr w a) :- a infixr 0 
forall a . (WriteAttr w a) ::- (w -> a) infixr 0 
forall a . (Attr w a) :< (IO a) infixr 0 
forall a . (WriteAttr w a) :<- (IO a) infixr 0 
(SigConf w w) :=< (Qsignalf w) infixr 0 
forall a . (SigConf w a) :-< (Qsignalf a) infixr 0 
forall a . (SltCon w a ()) :~> String 
forall a . (SltConf w a) :=> (Qslot w a, a) infixr 0 
forall a . (SltConf w a) :-> (Qslot w a, a) infixr 0 

data Attr w a Source

data WriteAttr w a Source

data SigCon w a Source

data SltCon w a b Source

makeAttr :: (w -> IO a) -> (w -> a -> IO ()) -> (w -> (a -> a) -> IO a) -> Attr w a Source

newAttr :: (w -> IO a) -> (w -> a -> IO ()) -> Attr w a Source

writeAttr :: (w -> a -> IO ()) -> WriteAttr w a Source

sigCon :: (w -> a -> String -> IO ()) -> SigCon w a Source

sigConf :: (w -> Qsignalf a -> Bool -> IO ()) -> SigConf w a Source

sltCon :: (w -> String -> b -> IO ()) -> SltCon w a b Source

sltConf :: (w -> Qslot w a -> a -> Bool -> IO ()) -> SltConf w a Source

get :: w -> Attr w a -> IO a Source

set :: w -> [Prop w] -> IO () Source

swap :: w -> Attr w a -> a -> IO a Source

class QsigClicked p | -> p where Source

Instances

st_sltConf_nt_p :: (Qst a, Qst d, Qcsn (b -> IO c)) => a -> Qsig (b -> IO c) -> SltConf d (d -> b -> IO c) Source

st_sltConf_nt :: (Qst a, Qst b) => a -> Qsig (IO ()) -> SltConf b (b -> IO ()) Source

on_sltConf_nt_p :: Qcsn (b -> IO c) => Qsig (b -> IO c) -> SltConf (QObject d) (QObject d -> b -> IO c) Source

on_sltConf_nt :: Qsig (IO ()) -> SltConf (QObject b) (QObject b -> IO ()) Source

sltConf_nt_p :: Qcsn (b -> IO c) => QObject a -> Qsig (b -> IO c) -> SltConf (QObject d) (QObject d -> b -> IO c) Source

sltConf_nt :: QObject a -> Qsig (IO ()) -> SltConf (QObject b) (QObject b -> IO ()) Source

settings' :: QqSettings x1 => x1 -> [Prop (QSettings ())] -> IO (QSettings ()) Source

class QsaSignalTriggered_nt_f w x f where Source

Instances

Qst a => QsaSignalTriggered_nt_f a (QMenu b) (a -> QAction () -> IO ()) 
Qst a => QsaSignalTriggered_nt_f a (QAction b) (a -> IO ()) 

class QsaSignalToggled_nt_f w x f where Source

Instances

Qst a => QsaSignalToggled_nt_f a (QAction b) (a -> Bool -> IO ()) 

class QsaSignalExpanded_nt_f w x f where Source

Instances

Qst a => QsaSignalExpanded_nt_f a (QTreeViewSc b) (a -> QModelIndex () -> IO ()) 

class QsaSignalCollapsed_nt_f w x f where Source

Instances

class QsaSignalActivated_nt_f w x f where Source

Instances

class QsaSignalTextChanged_nt_f w x f where Source

Instances

Qst a => QsaSignalTextChanged_nt_f a (QLineEdit b) (a -> IO ()) 
Qst a => QsaSignalTextChanged_nt_f a (QLineEdit b) (a -> String -> IO ()) 

class QsaSignalClicked_nt_f w x f where Source

Instances

Qst a => QsaSignalClicked_nt_f a (QTreeView ()) (a -> QModelIndex () -> IO ()) 
Qst a => QsaSignalClicked_nt_f a (QTreeViewSc b) (a -> QModelIndex () -> IO ()) 
Qst a => QsaSignalClicked_nt_f a (QAbstractButton b) (a -> IO ()) 

class QsaSlotReject w where Source

Methods

slotReject', reject' :: (Qslot w (w -> ()), w -> ()) Source

Instances

class QsaSignalRejected_nt_f w x f where Source

Instances

class QsaSignalAccepted_nt_f w x f where Source

Instances

class QsaConnectSlot_nt_f w x f where Source

Methods

slot' :: x -> Qsignal x f -> SltConf w f Source

Instances

Qst a => QsaConnectSlot_nt_f a (QAbstractButton b) (a -> IO ()) 
Qst a => QsaConnectSlot_nt_f a (QWidget b) (a -> QPoint () -> IO ()) 
Qst a => QsaConnectSlot_nt_f a (QTreeViewSc b) (a -> QModelIndex () -> IO ()) 
Qst a => QsaConnectSlot_nt_f a (QDialogButtonBox b) (a -> ()) 
Qst a => QsaConnectSlot_nt_f a (QDialogButtonBox b) (a -> IO ()) 
Qst a => QsaConnectSlot_nt_f a (QLineEdit b) (a -> String -> IO ()) 
Qst a => QsaConnectSlot_nt_f a (QStandardItemModel b) (a -> QStandardItem () -> IO ()) 
Qst a => QsaConnectSlot_nt_f a (QComboBox b) (a -> String -> IO ()) 
Qst a => QsaConnectSlot_nt_f a (QItemSelectionModel b) (a -> QModelIndex () -> IO ()) 

($>) :: t -> t1 -> (t, t1) infixr 1 Source

class QsaConnectSignal w x where Source

Methods

signal' :: String -> SigCon w x Source

Instances

class QsaConnectSlot w x f where Source

Methods

slotp' :: x -> String -> SltCon w x f Source

Instances

class QsaConnectSlot_nt w x f where Source

Methods

slotf' :: x -> String -> SltCon w x f Source

class QaParent w x where Source

Methods

parent' :: Attr w x Source

Instances

class QaText w where Source

Methods

text' :: Attr w String Source

Instances

class QaIcon w where Source

Methods

icon' :: Attr w (QIcon ()) Source

class QaAutoRaise w where Source

Instances

class QaVisible w where Source

Methods

visible' :: Attr w Bool Source

Instances

class QaAcceptDrops w where Source

Instances

class QaMargin w where Source

Methods

margin' :: Attr w Int Source

Instances

class QaEditable w where Source

Instances

class QaCheckable w where Source

Instances

class QaSelectable w where Source

class QwaOnEventFilter w x where Source

Instances

Qstt w (QWidgetSc a) => QwaOnEventFilter w (w -> QWidget b -> QObject t1 -> QEvent t2 -> IO Bool) 
Qstt w (QDialogSc a) => QwaOnEventFilter w (w -> QDialog b -> QObject t1 -> QEvent t2 -> IO Bool) 

class QwaOnFocusInEvent w x where Source

Instances

Qstt w (QWidgetSc a) => QwaOnFocusInEvent w (w -> QWidget b -> QFocusEvent t -> IO ()) 

class QaValue w x where Source

Methods

value' :: Attr w x Source

class QwaShow w where Source

Methods

show' :: WriteAttr w () Source

Instances

class QwaAddWidget w where Source

Instances

class QwaAddLayout w where Source

Instances

class QwaAddItem w where Source

Instances

class QwaAddItems w x where Source

Methods

addItems' :: WriteAttr w x Source

Instances

class QwaClear w where Source

Methods

clear' :: WriteAttr w () Source

Instances

class QaCurrentIndex w where Source

Instances

_isValid :: QqisValid a () => a -> Bool Source

class QdataRole x where Source

(~~) :: (a -> b) -> a -> b infixl 4 Source

(~>=) :: IO a -> (a -> IO b) -> IO b infixl 1 Source

class Qfp x y | x -> y where Source

Methods

(~>) :: x -> (y -> b -> IO c) -> b -> IO c infixl 4 Source

Instances

Qfp (IO (Object a)) (Object a) 
Qfp (Object a) (Object a) 

class Qfpn x y | x -> y where Source

Methods

(>~) :: x -> (y -> () -> IO c) -> IO c infixl 4 Source

Instances

Qfpn (IO (Object a)) (Object a) 
Qfpn (Object a) (Object a) 

class Qnfpn x y | x -> y where Source

Methods

(~>~) :: x -> (y -> IO c) -> IO c infixl 4 Source

Instances

Qnfpn (IO (Object a)) (Object a) 
Qnfpn (Object a) (Object a) 

class Qems b c | c -> b where Source

Methods

(~<) :: Object a -> (Object a -> String -> c -> IO ()) -> Qsignalf b -> c -> IO () Source

Instances

Qems (IO ()) () 
Qems (Int -> IO ()) Int 
Qems (String -> IO ()) String 
Qems (QModelIndex () -> IO ()) (QModelIndex ()) 

class Qbps a ia | ia -> a where Source

Methods

(<$) :: (a -> b -> IO c) -> ia -> b -> IO c infixr 2 Source

Instances

Qbps a (IO a) 

class Qbp a ia | ia -> a where Source

Methods

(<~) :: (a -> IO b) -> ia -> IO b infixr 3 Source

Instances

Qbp a (IO a) 
Qbp (a, b) (a, IO b) 
Qbp (a, b, c) (a, b, IO c) 

class Qbpe a ia | ia -> a where Source

Methods

(=<~) :: (a -> IO b) -> ia -> IO b infixr 1 Source

Instances

Qbpe (a, b) (IO a, IO b) 
Qbpe (a, b, c) (IO a, IO b, IO c) 

class Qbpd a ia | ia -> a where Source

Methods

(/<~) :: (a -> IO b) -> ia -> IO b infixr 1 Source

Instances

Qbpd (a, b) (IO a, b) 
Qbpd (a, b, c) (IO a, b, c) 

class Qbpde a ia | ia -> a where Source

Methods

(=/<~) :: (a -> IO b) -> ia -> IO b Source

Instances

Qbpde (a, b, c) (IO a, b, IO c) 

(>:) :: (Monad m, Eq a) => a -> m a1 -> a -> m Bool infixr 0 Source

(>>:) :: (Monad m, Eq a) => [a] -> m a1 -> a -> m Bool infixr 0 Source

class Qslf a b where Source

Methods

(~:) :: a -> b -> [b] infixl 1 Source

Instances

Eq a => Qslf a a 
Eq a => Qslf [a] a 

(-:) :: (t1 -> t) -> t1 -> t Source

switch :: Eq a => a -> [a -> IO Bool] -> IO () Source

switch_ :: Eq a => a -> [a -> IO Bool] -> IO () -> IO () Source