Patterns and anti-patterns for easy and fast layout of complex desktop applications

Created by Philippe Hermite, Adobe / Presented by Franck Arrecot, KDAB

Abstract

Building complex user interfaces with widgets have been the bread and butter of Qt’s ecosystem for the past decades. While it largely involves a well-known set of tools and practices, achieving complex layouts requires experience to avoid common pitfalls which might make the code harder to maintain and impact runtime performance. For example, we will show that reducing the number of widgets and layouts in use can improve the readability of the code and the performance of the application. We will also show how views can be used to achieve the layout of multiple widgets but also how this can make styling and layout more complex, such as achieving proper alignment of multiple groups of widgets. We will also survey a number of small tips and tricks that can be utilized to solve simple UI behavior. Finally, when investigating how some layout operations affect performance, will investigate potential hotspots and available tools.

Philippe Hermite

Philippe Hermite AdobeAfter obtaining his Master’s degree in computer science, Philippe has been working as a software engineer at Allegorithmic since 2016. He is now an Adobe employee and works on Substance Painter. Philippe is particularly interested in C++ development and UI/UX issues.

 

Franck Arrecot

Software engineer at KDAB, Franck has actively developed with Qt since 2011 when he started contributing to open source projects. He has been an active KDE contributor to Zanshin: KDE task management software and more recently to the Qt3D module. He holds a Masters’s degree in Computer Science.

 

Slides

The slides for this presentation can be viewed here…

Video

Please accept marketing cookies to view this content, or watch on youtube https://www.youtube.com/watch?v=3uQjIOz0wvQ.

Leave a Reply

Your email address will not be published. Required fields are marked *