mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +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 {
|
footerContent: RowLayout {
|
||||||
anchors.fill: parent
|
|
||||||
|
|
||||||
// Image count
|
// Image count
|
||||||
Label {
|
RowLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
text: grid.model.count + " image" + (grid.model.count > 1 ? "s" : "") + (_reconstruction.nbCameras > 0 ? " / " + _reconstruction.nbCameras + " camera" + (_reconstruction.nbCameras > 1 ? "s": "") : "")
|
spacing: 8
|
||||||
elide: Text.ElideRight
|
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
|
// Thumbnail size icon and slider
|
||||||
Label {
|
MaterialLabel {
|
||||||
text: MaterialIcons.photo_size_select_large
|
text: MaterialIcons.photo_size_select_large
|
||||||
font.family: MaterialIcons.fontFamily
|
|
||||||
font.pixelSize: 13
|
|
||||||
}
|
}
|
||||||
Slider {
|
Slider {
|
||||||
id: thumbnailSizeSlider
|
id: thumbnailSizeSlider
|
||||||
|
@ -301,7 +308,6 @@ Panel {
|
||||||
value: defaultCellSize
|
value: defaultCellSize
|
||||||
to: 250
|
to: 250
|
||||||
implicitWidth: 70
|
implicitWidth: 70
|
||||||
height: parent.height
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue