Skip to Content
C++ GUI Programming with Qt 4
book

C++ GUI Programming with Qt 4

by Jasmin Blanchette, Mark Summerfield
February 2008
Intermediate to advanced
752 pages
19h 5m
English
Pearson
Content preview from C++ GUI Programming with Qt 4

5. Creating Custom Widgets

Image

This chapter explains how to develop custom widgets using Qt. Custom widgets can be created by subclassing an existing Qt widget or by subclassing QWidget directly. We will demonstrate both approaches, and we will also see how to integrate a custom widget with Qt Designer so that it can be used just like a built-in Qt widget. We will round off the chapter by presenting a custom widget that uses double buffering, a powerful technique for high-speed drawing.

Customizing Qt Widgets

In some cases, we find that a Qt widget ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C++ GUI Programming with Qt 4

C++ GUI Programming with Qt 4

Jasmin Blanchette, Mark Summerfield
C++ GUI Programming with Qt 3

C++ GUI Programming with Qt 3

Jasmin Blanchette, Mark Summerfield
Programming with Qt, 2nd Edition

Programming with Qt, 2nd Edition

Matthias Kalle Dalheimer

Publisher Resources

ISBN: 9780137143979Purchase book