mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
WIP: Create new Machine Settings dialog widgets
This commit is contained in:
parent
49233216ec
commit
6c2e80d2a1
7 changed files with 783 additions and 0 deletions
55
resources/qml/MachineSettings/MachineSettingsContent.qml
Normal file
55
resources/qml/MachineSettings/MachineSettingsContent.qml
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.3
|
||||
|
||||
|
||||
Item
|
||||
{
|
||||
id: base
|
||||
anchors.fill: parent
|
||||
|
||||
TabBar
|
||||
{
|
||||
id: bar
|
||||
width: parent.width
|
||||
TabButton
|
||||
{
|
||||
text: "Printer"
|
||||
}
|
||||
|
||||
Repeater
|
||||
{
|
||||
id: extrudersTabsRepeater
|
||||
model: ["Extruder 1", "Extruder 2", "Extruder 3"]
|
||||
|
||||
TabButton
|
||||
{
|
||||
text: modelData
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
StackLayout
|
||||
{
|
||||
width: parent.width
|
||||
currentIndex: bar.currentIndex
|
||||
Item
|
||||
{
|
||||
id: printerTab
|
||||
}
|
||||
Repeater
|
||||
{
|
||||
model: ["Extruder 1", "Extruder 2", "Extruder 3"]
|
||||
Item
|
||||
{
|
||||
anchors.centerIn: parent
|
||||
|
||||
Label // TODO: this is a dummy
|
||||
{
|
||||
anchors.centerIn: parent
|
||||
text: modelData
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue