StatusBar QML Type
Contains status information in your app. More...
Import Statement: | import QtQuick.Controls 1.4 |
Since: | Qt 5.1 |
Inherits: |
Properties
- contentItem : Item
- style : Component
Detailed Description
The common way of using StatusBar is in relation to ApplicationWindow.
Note that the StatusBar does not provide a layout of its own, but requires you to position its contents, for instance by creating a RowLayout.
If only a single item is used within the StatusBar, it will resize to fit the implicitHeight of its contained item. This makes it particularly suitable for use together with layouts. Otherwise the height is platform dependent.
import QtQuick.Controls 1.2 import QtQuick.Layouts 1.0 ApplicationWindow { statusBar: StatusBar { RowLayout { anchors.fill: parent Label { text: "Read Only" } } } }
Property Documentation
[read-only] contentItem : Item |
style : Component |
The style Component for this control.
See also StatusBarStyle.
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.