CURA-5035 Added fake material showcase model

This commit is contained in:
Ian Paschal 2018-04-12 12:49:31 +02:00
parent 594e9aa414
commit 87c194178d
20 changed files with 95 additions and 110 deletions

View file

@ -1,5 +1,5 @@
// Copyright (c) 2018 Ultimaker B.V.
// PluginBrowser is released under the terms of the LGPLv3 or higher.
// Toolbox is released under the terms of the LGPLv3 or higher.
import QtQuick 2.2
import QtQuick.Dialogs 1.1
@ -34,7 +34,16 @@ Column
Repeater
{
model: manager.pluginsShowcaseModel
model: {
if ( manager.viewCategory == "plugin" )
{
return manager.pluginsShowcaseModel
}
if ( manager.viewCategory == "material" )
{
return manager.materialsShowcaseModel
}
}
delegate: ToolboxDownloadsShowcaseTile {}
}
}