Qt Quick 5.1 Now Available with Layouts, Controls, Views, Tab Navigation and Window Improvements
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.
Stuart Williams Aug 02, 2015
David Beyer, Olaf Carlson-Wee, Richard Minerich Aug 02, 2015