28 lines
679 B
QML
28 lines
679 B
QML
import QtQuick
|
|
import QtQuick.Controls.Basic as QQC2
|
|
import "../Flowee" as Flowee
|
|
|
|
Item {
|
|
id: root
|
|
implicitHeight: helpText.height + 12
|
|
|
|
Rectangle {
|
|
width: Math.min(400, root.width)
|
|
height: parent.height - 6
|
|
color: palette.base
|
|
radius: 6
|
|
y: 6
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
}
|
|
Flowee.Label {
|
|
id: helpText
|
|
text: {
|
|
let count = model.collapsedCount;
|
|
return qsTr("%1 hidden transactions", "activity list", count).arg(count)
|
|
}
|
|
font.italic: true
|
|
font.pixelSize: mainWindow.font.pixelSize * 0.9
|
|
anchors.centerIn: parent
|
|
}
|
|
}
|