mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Removed the components qml dir
We can consider putting components into their own folder, but we first should have a clear definition of what they are / should be. CURA-5772
This commit is contained in:
parent
fc1faf79f5
commit
8cac5e1de2
11 changed files with 9 additions and 20 deletions
|
@ -1,48 +0,0 @@
|
|||
// Copyright (c) 2017 Ultimaker B.V.
|
||||
// Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
import QtQuick 2.7
|
||||
|
||||
import UM 1.2 as UM
|
||||
import Cura 1.0 as Cura
|
||||
import "../Menus"
|
||||
import "../Menus/ConfigurationMenu"
|
||||
import ".."
|
||||
|
||||
Rectangle
|
||||
{
|
||||
color: UM.Theme.getColor("sidebar_lining_thin")
|
||||
|
||||
implicitHeight: UM.Theme.getSize("sidebar_header").height
|
||||
implicitWidth: UM.Theme.getSize("sidebar").width
|
||||
|
||||
property bool isNetworkPrinter: Cura.MachineManager.activeMachineNetworkKey != ""
|
||||
property bool printerConnected: Cura.MachineManager.printerConnected
|
||||
|
||||
MachineSelection
|
||||
{
|
||||
id: machineSelection
|
||||
anchors
|
||||
{
|
||||
left: parent.left
|
||||
right: configSelection.left
|
||||
rightMargin: UM.Theme.getSize("sidebar_lining_thin").height / 2
|
||||
top: parent.top
|
||||
bottom: parent.bottom
|
||||
}
|
||||
}
|
||||
|
||||
ConfigurationSelection
|
||||
{
|
||||
id: configSelection
|
||||
visible: isNetworkPrinter && printerConnected
|
||||
width: visible ? Math.round(parent.width * 0.15) : 0
|
||||
panelWidth: parent.width
|
||||
anchors
|
||||
{
|
||||
right: parent.right
|
||||
top: parent.top
|
||||
bottom: parent.bottom
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue