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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.