Add more info dialog

CURA-5204
This commit is contained in:
Lipu Fei 2018-04-10 11:59:25 +02:00
parent 0fbb067508
commit 40eedbcf70
6 changed files with 337 additions and 9 deletions

View file

@ -649,7 +649,7 @@ UM.PreferencesPage
UM.TooltipArea {
visible: plugins.find("id", "SliceInfoPlugin") > -1
width: childrenRect.width
height: visible ? childrenRect.height : 0
height: visible ? childrenRect.height * 2 : 0
text: catalog.i18nc("@info:tooltip","Should anonymous data about your print be sent to Ultimaker? Note, no models, IP addresses or other personally identifiable information is sent or stored.")
CheckBox
@ -659,6 +659,22 @@ UM.PreferencesPage
checked: boolCheck(UM.Preferences.getValue("info/send_slice_info"))
onCheckedChanged: UM.Preferences.setValue("info/send_slice_info", checked)
}
Button
{
id: showMoreInfo
anchors
{
top: sendDataCheckbox.bottom
bottom: parent.bottom
}
text: catalog.i18nc("@action:button", "Show more information on anonymous data collection")
onClicked:
{
CuraApplication.getCuraAppSignals().showMoreInfoOnAnonymousDataCollection();
}
}
}
Item