Qt Quick 5.1 Now Available with Layouts, Controls, Views, Tab Navigation and Window Improvements

| by Anand Narayanaswamy Follow 0 Followers on Jun 26, 2013. Estimated reading time: 1 minute |

The recently released Qt Quick 5.1 includes a new QtQuick.Controls module in addition to QtQuick.Layouts with which you can build complex resizable layouts by providing minimum and maximum size hints. The module also provides an ability to declare items as expanding or fixed in a declarative way. The QtQuick.Controls module, which is equivalent of widgets include buttons, combo box, spin box, group box, sliders, progress bars, text fields and menus.

While ScrollView control provides support for scroll bars and frame, SplitView control enables you to add a vertical or horizontal resize handle between items in a view. On the other hand, TableView provides support for native look and feel as well as re-arrangable columns and row selection.

Qt 5.1 also includes a StackView control that provides typical stack based (or drill-down) navigation through a series of application pages. It also exposes the platform directly to QML through the global Qt.platform.os property. The latest release provides an ability to add activeFocusOnTab property to QQuickItem, which will attach the control to implicit tab key chain.

The dialogs module introduces standard dialogs such as ColorDialog and FileDialog that map to the native platform dialogs on different systems. As per official sources, more dialogs will be supported in the future releases.

Qt Quick 5.1 introduces significant improvements for windows declaration in addition to a closing signal which enables you to handle window closing request. Moreover, TextEdit and the new TextArea control includes advanced features such as syntax highlighters, code completion or printing support. On the other hand, ApplicationWindow provides support for setting a window specific MenuBar, ToolBar and StatusBar in QML.

Qt 5.1 includes QQmlApplicationEngine, which enables you to set up qt quick window, pick up the right translation files and implicitly connects the application quit() signal to your root window. The createWindowContainer() function included in QWidget provides an ability to include a Qt Quick 2 scene inside an existing widget based application.

Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread


Educational Content

Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you