O'Reilly logo

Application Development with Qt Creator by Ray Rischpater

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

Creating forms in Qt Designer

Let's create a simple calculator application using Qt Designer and two forms: one form taking the arguments for an arithmetic operation, and a second dialog form for presenting the results. I'll do this twice in this chapter, first showing you how to do this using Qt GUI, and again using Qt Quick. The example is contrived, but will show you how to create multiple user interface forms in both environments, and give you practice in working with signals and slots.

Creating the main form

In Chapter 1, Getting Started with Qt Creator, you learned the basic elements of the Qt GUI Designer, including the palette of widgets you can use, the central edit pane, the tree of objects, and the property view. The following screenshot ...

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