qtHaskell Primer

David Harley

Abstract

This document is a primer for qtHaskell programming using version 1.1.10 of qtHaskell, a set of Haskell bindings for the Qt C++ library from Qt Development Frameworks of The Qt Company.


Table of Contents

1. Introduction
1.1. A Simple Example
1.2. First Observations - Basic Function Types
2. Callbacks
2.1. Types of Callback Functions
2.2. Signals and Slots
2.3. Handlers
2.4. Key Press Counter Example
3. Modules, Functions, Types
3.1. Modules
3.1.1. Generic Modules
3.1.2. Class Specific Modules
3.2. Functions
3.2.1. 'q'
3.2.2. '_nf'
3.2.3. Destructors
3.2.4. Enumerated Types
3.3. Types
3.3.1. Types of Types
3.3.2. qCast
4. UI, Scripting, Resources
4.1. UI
4.2. Scripting
4.3. Resources
Index