mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Move QML files to resources
This commit is contained in:
parent
81aac4a1c1
commit
70d714def5
17 changed files with 0 additions and 0 deletions
29
resources/qml/ViewPage.qml
Normal file
29
resources/qml/ViewPage.qml
Normal file
|
@ -0,0 +1,29 @@
|
|||
import QtQuick 2.1
|
||||
import QtQuick.Controls 1.1
|
||||
import QtQuick.Layouts 1.1
|
||||
|
||||
import UM 1.0 as UM
|
||||
|
||||
UM.PreferencesPage {
|
||||
//: View configuration page title
|
||||
title: qsTr("View");
|
||||
|
||||
function reset()
|
||||
{
|
||||
UM.Preferences.resetPreference('view/show_overhang');
|
||||
}
|
||||
|
||||
GridLayout {
|
||||
columns: 2;
|
||||
|
||||
CheckBox {
|
||||
checked: UM.Preferences.getValue('view/show_overhang');
|
||||
onCheckedChanged: UM.Preferences.setValue('view/show_overhang', checked)
|
||||
|
||||
//: Display Overhang preference checkbox
|
||||
text: qsTr("Display Overhang");
|
||||
}
|
||||
|
||||
Item { Layout.fillHeight: true; Layout.columnSpan: 2 }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue