mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 17:15:56 +08:00
Merge branch 'master' of https://github.com/Ultimaker/Cura
This commit is contained in:
commit
ad735472ff
@ -85,14 +85,14 @@ class CrashHandler:
|
|||||||
dialog = QDialog()
|
dialog = QDialog()
|
||||||
dialog.setMinimumWidth(500)
|
dialog.setMinimumWidth(500)
|
||||||
dialog.setMinimumHeight(170)
|
dialog.setMinimumHeight(170)
|
||||||
dialog.setWindowTitle(catalog.i18nc("@title:window", "Cura Crashed"))
|
dialog.setWindowTitle(catalog.i18nc("@title:window", "Cura can't startup"))
|
||||||
dialog.finished.connect(self._closeEarlyCrashDialog)
|
dialog.finished.connect(self._closeEarlyCrashDialog)
|
||||||
|
|
||||||
layout = QVBoxLayout(dialog)
|
layout = QVBoxLayout(dialog)
|
||||||
|
|
||||||
label = QLabel()
|
label = QLabel()
|
||||||
label.setText(catalog.i18nc("@label crash message", """<p><b>A fatal error has occurred.</p></b>
|
label.setText(catalog.i18nc("@label crash message", """<p><b>Oops, Ultimaker Cura has encountered something that doesn't seem right.</p></b>
|
||||||
<p>Unfortunately, Cura encountered an unrecoverable error during start up. It was possibly caused by some incorrect configuration files. We suggest to backup and reset your configuration.</p>
|
<p>We encountered an unrecoverable error during start up. It was possibly caused by some incorrect configuration files. We suggest to backup and reset your configuration.</p>
|
||||||
<p>Backups can be found in the configuration folder.</p>
|
<p>Backups can be found in the configuration folder.</p>
|
||||||
<p>Please send us this Crash Report to fix the problem.</p>
|
<p>Please send us this Crash Report to fix the problem.</p>
|
||||||
"""))
|
"""))
|
||||||
@ -220,7 +220,7 @@ class CrashHandler:
|
|||||||
|
|
||||||
def _messageWidget(self):
|
def _messageWidget(self):
|
||||||
label = QLabel()
|
label = QLabel()
|
||||||
label.setText(catalog.i18nc("@label crash message", """<p><b>A fatal error has occurred. Please send us this Crash Report to fix the problem</p></b>
|
label.setText(catalog.i18nc("@label crash message", """<p><b>A fatal error has occurred in Cura. Please send us this Crash Report to fix the problem</p></b>
|
||||||
<p>Please use the "Send report" button to post a bug report automatically to our servers</p>
|
<p>Please use the "Send report" button to post a bug report automatically to our servers</p>
|
||||||
"""))
|
"""))
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@ Column
|
|||||||
text: catalog.i18nc("@label:header configurations", "Available configurations")
|
text: catalog.i18nc("@label:header configurations", "Available configurations")
|
||||||
font: UM.Theme.getFont("large")
|
font: UM.Theme.getFont("large")
|
||||||
width: parent.width - 2 * parent.padding
|
width: parent.width - 2 * parent.padding
|
||||||
|
color: UM.Theme.getColor("configuration_item_text")
|
||||||
}
|
}
|
||||||
|
|
||||||
Component
|
Component
|
||||||
@ -42,6 +43,7 @@ Column
|
|||||||
{
|
{
|
||||||
text: section
|
text: section
|
||||||
font: UM.Theme.getFont("default_bold")
|
font: UM.Theme.getFont("default_bold")
|
||||||
|
color: UM.Theme.getColor("configuration_item_text")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -207,6 +207,14 @@
|
|||||||
"layerview_support_interface": [64, 192, 255, 255],
|
"layerview_support_interface": [64, 192, 255, 255],
|
||||||
"layerview_nozzle": [181, 166, 66, 120],
|
"layerview_nozzle": [181, 166, 66, 120],
|
||||||
|
|
||||||
|
"configuration_item": [0, 0, 0, 0],
|
||||||
|
"configuration_item_active": [12, 169, 227, 179],
|
||||||
|
"configuration_item_text": [255, 255, 255, 255],
|
||||||
|
"configuration_item_text_active": [255, 255, 255, 255],
|
||||||
|
"configuration_item_border": [255, 255, 255, 255],
|
||||||
|
"configuration_item_border_active": [12, 169, 227, 179],
|
||||||
|
"configuration_item_border_hover": [12, 169, 227, 179],
|
||||||
|
|
||||||
"material_compatibility_warning": [255, 255, 255, 255],
|
"material_compatibility_warning": [255, 255, 255, 255],
|
||||||
|
|
||||||
"quality_slider_unavailable": [179, 179, 179, 255],
|
"quality_slider_unavailable": [179, 179, 179, 255],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user