O'Reilly logo

Application Development with Qt Creator - Second Edition 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 that takes the arguments for an arithmetic operation and a second dialog form to present the results. I'll do this twice in this chapter, first to show you how to do this using Qt Widgets and second by 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.

Tip

F1 is the keystroke you can use in Qt Creator to get help. As you write code in this and subsequent chapters, any class or method you're curious about, select it and hit F1. You'll be taken to Qt's Help mode, with documentation about that class or method. ...

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