mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 16:58:24 +02:00
[ui] ImageGallery: use image/camera icons instead of text in footer
This commit is contained in:
parent
997cb65442
commit
ef7c201c63
1 changed files with 14 additions and 8 deletions
|
@ -280,20 +280,27 @@ Panel {
|
|||
}
|
||||
|
||||
footerContent: RowLayout {
|
||||
anchors.fill: parent
|
||||
|
||||
// Image count
|
||||
Label {
|
||||
RowLayout {
|
||||
Layout.fillWidth: true
|
||||
text: grid.model.count + " image" + (grid.model.count > 1 ? "s" : "") + (_reconstruction.nbCameras > 0 ? " / " + _reconstruction.nbCameras + " camera" + (_reconstruction.nbCameras > 1 ? "s": "") : "")
|
||||
elide: Text.ElideRight
|
||||
spacing: 8
|
||||
RowLayout {
|
||||
MaterialLabel { text: MaterialIcons.image }
|
||||
Label { text: grid.model.count }
|
||||
}
|
||||
RowLayout {
|
||||
visible: _reconstruction.cameraInit && _reconstruction.nbCameras
|
||||
MaterialLabel { text: MaterialIcons.videocam }
|
||||
Label { text: _reconstruction.cameraInit ? _reconstruction.nbCameras : 0 }
|
||||
}
|
||||
}
|
||||
|
||||
Item { Layout.fillHeight: true; Layout.fillWidth: true }
|
||||
|
||||
// Thumbnail size icon and slider
|
||||
Label {
|
||||
MaterialLabel {
|
||||
text: MaterialIcons.photo_size_select_large
|
||||
font.family: MaterialIcons.fontFamily
|
||||
font.pixelSize: 13
|
||||
}
|
||||
Slider {
|
||||
id: thumbnailSizeSlider
|
||||
|
@ -301,7 +308,6 @@ Panel {
|
|||
value: defaultCellSize
|
||||
to: 250
|
||||
implicitWidth: 70
|
||||
height: parent.height
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue