Designing user interfaces

This is where you start to learn how to add Qt Widgets to the user interface and make them react to user inputs and other events. Qt Creator offers extremely easy tools to design user interfaces and write code for them. You have already seen the different panes and tools available in the Design mode, so we can start with our example already. Make sure you switch to the Design mode first (if you are not already there) by selecting the mainwindow.ui file, which is the user interface file for our main window from the Edit mode.

When in Design mode, you can see a list of Qt Widgets available for use on your user interface. The purpose for most of these widgets is instantly recognizable from their icons and names, but ...

Get Computer Vision with OpenCV 3 and Qt5 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.