hsqml-datamodel-0.2.0.2: HsQML (Qt5) data model.

Safe HaskellNone
LanguageHaskell2010

Graphics.QML.DataModel.Internal.FFI.Types

Synopsis

Documentation

newtype HmDelegateHandle Source

Identifier of a HaskellModel delegate handle.

Constructors

HmDelegateHandle CInt 

newtype QtVariant Source

Pointer to a QVariant type.

Constructors

QtVariant (Ptr CChar) 

newtype HmColumnType Source

Identifier of a column type.

Constructors

HmColumnType CInt 

type RowCountCallback = IO CInt Source

Used by QML to query the number of rows in a model.

type ColumnCountCallback = IO CInt Source

Used by QML to query the number of columns in a model.

type DataCallback = CInt -> CInt -> IO QtVariant Source

Used by QML to obtain a row at the given index.

type HeaderDataCallback = CInt -> IO QtVariant Source

Used by QML to obtain the name of the column at the given index.