Sign up for the KDAB Newsletter
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Find what you need - explore our website and developer resources
5 October 2020
Building complex user interfaces with widgets has been the bread and butter of Qt’s ecosystem for the past few 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, we'll investigate potential hotspots and available tools.
The presentation is created by Philippe Hermite, Adobe and Franck Arrecot, KDAB
The slides for this talk can be downloaded here: https://www.qtdesktopdays.com/patterns-and-anti-patterns-for-easy-and-fast-layout-of-complex-desktop-applications/