27 lines
616 B
QML
27 lines
616 B
QML
|
|
import QtQuick
|
||
|
|
import "../Flowee" as Flowee
|
||
|
|
|
||
|
|
Item {
|
||
|
|
id: root
|
||
|
|
implicitHeight: helpText.height + 8
|
||
|
|
|
||
|
|
Rectangle {
|
||
|
|
width: parent.width - 16
|
||
|
|
x: 8
|
||
|
|
height: parent.height
|
||
|
|
color: palette.light
|
||
|
|
border.width: 1
|
||
|
|
border.color: palette.midlight
|
||
|
|
}
|
||
|
|
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
|
||
|
|
}
|
||
|
|
}
|