Copyright | (c) Marcin Mrotek, 2015 |
---|---|
License | BSD3 |
Maintainer | marcin.jan.mrotek@gmail.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Extensions |
|
Indexing data types by columns.
Documentation
A class of types with columns that can be indexed by an integer. A generic implementation is provided for all single constructor types.
Nothing
A generic implementation of QtTable
.
gGetColumn :: Int -> f a -> IO QtVariant Source
QtField t => GQtTable * (K1 i t) Source | If only one value is available, it's returned regardless of the index. |
(GCountFields * a, GCountFields * b, GQtTable * a, GQtTable * b) => GQtTable * ((:*:) a b) Source | One branch of a product type is chosen depending on the index. |
GQtTable * f => GQtTable * (M1 i t f) Source | Meta information is skipped, and the recursion proceeds further down. |
A class of types with columns that can be cast to a QtVariant
.
QtField Bool Source | |
QtField Double Source | |
QtField Int Source | |
QtField Integer Source | Indegers are marshalled through QT strings rather than ints. |
QtField String Source | |
QtField Natural Source | Naturals are marshalled through QT strings rather than ints. |
QtField Text Source | |
QtField t => QtField (Maybe t) Source |
|