mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-30 01:55:55 +08:00
30 lines
667 B
QML
30 lines
667 B
QML
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 }
|
|
}
|
|
}
|