import QtQuick 2.2 import QtQuick.Layouts 1.3 import QtQuick.Controls 2.3 Item { ToolBar { id: otpTimeout anchors.right: parent.right anchors.left: parent.left ColumnLayout { anchors.fill: parent RowLayout { id: actionTools Layout.alignment: Qt.AlignRight ToolButton { id: addItem icon.name: "list-add" ToolTip.text: qsTr("Add Item") ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval ToolTip.visible: down } ToolButton { id: addQRItem icon.name: "insert-image" ToolTip.text: qsTr("Add Item by QR") ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval ToolTip.visible: down } } ProgressBar { id: timeout Layout.fillWidth: true visible: true } } } ListView { id: otpList anchors.top: otpTimeout.bottom anchors.right: parent.right anchors.left: parent.left anchors.bottom: parent.bottom Component { id: otpDelegate Text { text: "test" } } model: otpListModel delegate: otpDelegate } }