# Qt 4.5: Qt Examples

|  | Home · All Namespaces · 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 all designed to be impressive when you run them, but their source code is carefully written to show good Qt programming practices. You can launch any of these programs from the Examples and Demos Launcher application.

If you are new to Qt, you should probably start by going through the Tutorials 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.

One more valuable source for examples and explanations of Qt features is the archive of the Qt Quarterly.

In the list below, examples marked with an asterisk (*) are fully documented. Eventually, all the examples will be fully documented, but sometimes we include an example before we have time to write about it, because someone might need it right now.

Categories:

- ActiveQt
- Concurrent Programming
- D-Bus
- Desktop
- Dialogs
- Drag and Drop
- Graphics View
- Help System
- Item Views
- Layouts
- Main Windows
- Network
- OpenGL
- Painting
- Phonon Multimedia Framework
- Qt Designer
- Qt Linguist
- Qt for Embedded Linux
- Qt Script
- Rich Text
- SQL
- Threads
- Tools
- UiTools
- WebKit
- Widgets
- XML
- XQuery, XPath
- Inter-Process Communication

### ActiveQt

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

### Concurrent Programming

- QtConcurrent Asynchronous Image Scaling
- QtConcurrent Map
- QtConcurrent Progress Dialog
- QtConcurrent Run Function
- QtConcurrent Word Count

### D-Bus

- Chat
- Complex Ping Pong
- List Names
- Ping Pong
- Remote Controlled Car

### Desktop

- Screenshot*
- System Tray*

### Dialogs

- Class Wizard*
- Config Dialog
- Extension*
- Find Files*
- License Wizard*
- Standard Dialogs
- Tab Dialog*
- Trivial Wizard

### Drag and Drop

- Delayed Encoding*
- Draggable Icons
- Draggable Text
- Drop Site
- Fridge Magnets*
- Drag and Drop Puzzle

### Graphics View

- Colliding Mice*
- Diagram Scene*
- Drag and Drop Robot
- Elastic Nodes
- Ported Asteroids
- Ported Canvas

### Help System

- Simple Text Viewer*

### Item Views

- Address Book*
- Basic Sort/Filter Model
- Chart
- Color Editor Factory*
- Combo Widget Mapper*
- Custom Sort/Filter Model*
- Dir View
- Editable Tree Model*
- Fetch More*
- Pixelator*
- Puzzle
- Simple DOM Model*
- Simple Tree Model*
- Simple Widget Mapper*
- Spin Box Delegate*
- Star Delegate*

### Layouts

- Basic Layouts*
- Border Layout
- Dynamic Layouts
- Flow Layout

### Main Windows

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

### Network

- Blocking Fortune Client*
- Broadcast Receiver
- Broadcast Sender
- Network Chat
- Fortune Client*
- Fortune Server*
- FTP*
- HTTP
- Loopback
- Threaded Fortune Server*
- Torrent
- Google Suggest

### OpenGL

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

### Painting

- Basic Drawing*
- Concentric Circles*
- Font Sampler
- Image Composition*
- Painter Paths*
- SVG Generator*
- SVG Viewer
- Transformations*

### Phonon Multimedia Framework

- Capabilities*
- Music Player*

### Qt Designer

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

### Qt Linguist

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

### Qt for Embedded Linux

- Accelerated Graphics Driver*
- Double Buffered Graphics Driver*
- Mouse Calibration*
- OpenGL for Embedded Systems*
- Simple Decoration*

### Qt Script

- Calculator*
- Context2D*
- Default Prototypes*
- Hello Script*
- Qt Script Tetrix*
- Custom Script Class*

### Rich Text

- Calendar*
- Order Form*
- Syntax Highlighter*
- Text Object*

### SQL

- Cached Table*
- Drill Down*
- Query Model
- Relational Table Model
- Table Model
- SQL Widget Mapper*

### Threads

- Queued Custom Type*
- Mandelbrot*
- Semaphores*
- Wait Conditions*

### Tools

- Codecs
- Completer*
- Custom Completer*
- Custom Type*
- Custom Type Sending*
- Echo Plugin*
- I18N
- Plug & Paint*
- Plug & Paint Plugins: Basic Tools* and Extra Filters*
- RegExp
- Settings Editor
- Style Plugin*
- Tree Model Completer*
- Undo Framework*

### UiTools

- Multiple Inheritance*
- Text Finder*

### WebKit

- Previewer*
- Form Extractor
- Google Chat
- Fancy Browser

### Widgets

- Analog Clock*
- Calculator*
- Calendar Widget*
- Character Map*
- Code Editor*
- Digital Clock*
- Group Box*
- Icons*
- Image Viewer*
- Line Edits*
- Movie
- Scribble*
- Shaped Clock*
- Sliders*
- Spin Boxes*
- Styles*
- Style Sheet*
- Tablet*
- Tetrix*
- Tooltips*
- Wiggly*
- Window Flags*

### XML

- DOM Bookmarks
- SAX Bookmarks
- QXmlStream Bookmarks*
- RSS-Listing
- XML Stream Lint Example*

### XQuery, XPath

- Recipes
- File System Example
- QObject XML Model Example
- C++ Source Code Analyzer Example
- Traffic Info*

### Inter-Process Communication

- Local Fortune Client*
- Local Fortune Server*
- Shared Memory*