|  | Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# Qt Examples

This is the list of examples in Qt's `examples` directory. The examples demonstrate Qt features in small, self-contained programs. They are not very impressive when you run them, but their source code is carefully written to show good Qt programming practices. If you are new to Qt, you should probably start by going through the Tutorial before you have a look at the Application example.

In addition to the examples and the tutorial, Qt includes a selection of demos that deliberately show off Qt's features. You might want to look at these as well.

Examples marked with an asterisk (*) are fully documented. It is our goal to fully document all examples in a future release.

Categories:

- Qt Tutorial
- Widget Examples
- Dialog Examples
- Main Window Examples
- Layout Examples
- Item View Examples
- Painting Examples
- Rich Text Examples
- Tool Examples
- Thread Examples
- Drag and Drop Examples
- OpenGL Examples
- XML Examples
- Network Examples
- SQL Examples
- Qt Designer Examples
- Qt Linguist Examples
- ActiveQt Examples
- Qtopia Core Examples

## Qt Tutorial

- Tutorial 1: Hello World!*
- Tutorial 2: Calling it Quits*
- Tutorial 3: Family Values*
- Tutorial 4: Let There Be Widgets*
- Tutorial 5: Building Blocks*
- Tutorial 6: Building Blocks Galore!*
- Tutorial 7: One Thing Leads to Another*
- Tutorial 8: Preparing for Battle*
- Tutorial 9: With Cannon You Can*
- Tutorial 10: Smooth as Silk*
- Tutorial 11: Giving It a Shot*
- Tutorial 12: Hanging in the Air the Way Bricks Don't*
- Tutorial 13: Game Over*
- Tutorial 14: Facing the Wall*

## Widget Examples

- Analog Clock*
- Calculator*
- Character Map*
- Digital Clock*
- Group Box*
- Icons*
- Image Viewer*
- Line Edits
- Movie
- Screenshot*
- Scribble*
- Shaped Clock*
- Sliders*
- Spin Boxes
- Styles*
- Tetrix
- Tooltips*
- Wiggly*
- Window Flags*

## Dialog Examples

- Complex Wizard*
- Configuration Dialog
- Extension*
- Find Files*
- Simple Wizard*
- Standard Dialogs
- Tab Dialog*

## Main Window Examples

- Application*
- Dock Widgets*
- MDI
- Menus
- Recent Files
- SDI

## Layout Examples

- Basic Layouts*
- Border Layout
- Flow Layout

## Item View Examples

- Chart
- Dir View
- Pixelator*
- Puzzle
- Simple DOM Model*
- Simple Tree Model*
- Sorting Model
- Spin Box Delegate*

## Painting Examples

- Basic Drawing*
- Concentric Circles*
- Painter Paths*
- SVG Viewer
- Transformations*

## Rich Text Examples

- Calendar
- Order Form
- Syntax Highlighter*

## Tool Examples

- Codecs
- I18N
- Plug & Paint*
- Plug & Paint Plugins: Basic Tools* and Extra Filters*
- Qt Demo
- RegExp
- Settings Editor

## Thread Examples

- Mandelbrot*
- Semaphores*
- Wait Conditions*

## Drag and Drop Examples

- Draggable Icons
- Draggable Text
- Drop Site
- Fridge Magnets
- Drag and Drop Puzzle

## OpenGL Examples

- 2D Painting*
- Grabber
- Hello GL*
- Overpainting*
- Pixel Buffers
- Sample Buffers
- Textures

## XML Examples

- DOM Bookmarks
- SAX Bookmarks

## Network Examples

- Blocking Fortune Client*
- Broadcast Receiver
- Broadcast Sender
- Fortune Client*
- Fortune Server*
- FTP
- HTTP
- Loopback
- Threaded Fortune Server*
- Torrent

## SQL Examples

- Cached Table
- Query Model
- Relational Table Model
- Table Model

## Qt Designer Examples

- Calculator Builder*
- Calculator Form*
- Custom Widget Plugin*
- Task Menu Extension*
- Container Extension*
- World Time Clock Builder*
- World Time Clock Plugin*

## Qt Linguist Examples

- Hello tr()*
- Arrow Pad*
- Troll Print*

## ActiveQt Examples

- COM App*
- Dot Net*
- Hierarchy*
- Menus*
- Multiple*
- OpenGL*
- Qutlook*
- Simple*
- Web Browser*
- Wrapper*

## Qtopia Core Examples

- Mouse Calibration*