Add a grid with images

Those images indicate the type of data we are collecting anonymously.

Contributes to CURA-6434.
This commit is contained in:
Diego Prado Gesto 2019-04-29 14:50:14 +02:00
parent 9d48a90f8f
commit 534a035841
3 changed files with 66 additions and 71 deletions

View file

@ -61,11 +61,34 @@ Item
renderType: Text.NativeRendering
}
Image
{
id: curaImage
Grid {
columns: 2
spacing: UM.Theme.getSize("wide_margin").height
anchors.horizontalCenter: parent.horizontalCenter
source: UM.Theme.getImage("first_run_share_data")
ImageTile
{
text: catalog.i18nc("@text", "Machine types")
imageSource: UM.Theme.getImage("first_run_machine_types")
}
ImageTile
{
text: catalog.i18nc("@text", "Material usage")
imageSource: UM.Theme.getImage("first_run_material_usage")
}
ImageTile
{
text: catalog.i18nc("@text", "Number of slices")
imageSource: UM.Theme.getImage("first_run_number_slices")
}
ImageTile
{
text: catalog.i18nc("@text", "Print settings")
imageSource: UM.Theme.getImage("first_run_print_settings")
}
}
Label