BT

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

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

This item in japanese

Bookmarks

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
Style

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.

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

Community comments

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

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

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.