O'Reilly logo

An Introduction to Design Patterns in C++ with Qt 4 by Paul Ezust, Alan Ezust

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Qt GUI Widgets

This chapter provides an overview of the GUI building blocks, called widgets, that are part of the Qt library and includes some simple examples of how to use them.

11.1

Widget Categories

239

11.2

QMainWindow and QSettings

240

11.3

Dialogs

244

11.4

Images and Resources

248

11.5

Layout of Widgets

251

11.6

QActions, QMenus, and QMenuBars

260

11.7

QActions, QToolbars, and QActionGroups

262

11.8

Regions and QDockWidgets

270

11.9

Views of a QStringList

272

Widgets, objects of classes derived from QWidget, are reusable building blocks with a visual representation on the screen. The common features of a QWidget are shown in Figure 11.1.

QWidget’s Heritage

Figure 11.1. QWidget’s ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required