mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Move all of Cura's QML files into a qml subdir
This commit is contained in:
parent
cfe29a7b51
commit
4a8f6beb26
10 changed files with 2 additions and 2 deletions
23
qml/ViewPage.qml
Normal file
23
qml/ViewPage.qml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import QtQuick 2.1
|
||||
import QtQuick.Controls 1.1
|
||||
import QtQuick.Layouts 1.1
|
||||
|
||||
import UM 1.0 as UM
|
||||
|
||||
UM.PreferencesPage {
|
||||
//: General configuration page title
|
||||
title: qsTr("View");
|
||||
|
||||
GridLayout {
|
||||
columns: 2;
|
||||
|
||||
CheckBox {
|
||||
checked: UM.Preferences.getValue('view/show_overhang');
|
||||
onCheckedChanged: UM.Preferences.setValue('view/show_overhang', checked)
|
||||
|
||||
text: qsTr("Display overhang");
|
||||
}
|
||||
|
||||
Item { Layout.fillHeight: true; Layout.columnSpan: 2 }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue