Moved the prepareMenu into the prepare stage plugin

CURA-5772
This commit is contained in:
Jaime van Kessel 2018-10-12 13:29:57 +02:00
parent 10de312647
commit 7d5472b09f
2 changed files with 47 additions and 1 deletions

View file

@ -0,0 +1,42 @@
import QtQuick 2.7
import QtQuick.Controls 1.4
import UM 1.3 as UM
import Cura 1.1 as Cura
Row
{
spacing: UM.Theme.getSize("default_margin").width
UM.I18nCatalog
{
id: catalog
name:"cura"
}
Button
{
id: openFileButton;
text: catalog.i18nc("@action:button", "Open File");
iconSource: UM.Theme.getIcon("load")
style: UM.Theme.styles.tool_button
tooltip: ""
action: Cura.Actions.open;
}
Cura.MachineAndConfigurationSelector
{
}
Cura.MaterialAndVariantSelector
{
width: UM.Theme.getSize("sidebar").width
}
Cura.ProfileAndSettingComponent
{
width: UM.Theme.getSize("sidebar").width
}
}