Cura/resources/qml
Ghostkeeper c7e6553dbf
Disallow printers larger than 2km
To do this, I'm giving more power to the NumericTextFieldWithUnit QML element, to allow an arbitrary minimum and maximum. Enforcing this minimum and maximum is fairly simple with a JavaScript hook. This hook is necessary because the DoubleValidator allows intermediary values which defeats the purpose, essentially allowing any number as long as it has the correct number of digits.
Printers larger than 2km would start to give overflow errors in its X and Y coordinates. Z is okay up to about 9 billion kilometres in theory, since we don't need to do any squaring math on those coordinates afaik. In practice I'm doing this because at very high values the Arranger also gives errors because Numpy can't handle those extremely big arrays (since the arranger creates a 2mm grid).

Fixes Sentry issue CURA-CB.
2020-03-20 11:16:16 +01:00
..
Account Change the copy of the account benefits 2019-04-26 14:04:46 +02:00
ActionPanel Update ActionPanelWidget.qml 2019-09-28 10:36:05 +02:00
Dialogs Fix translation with an argument 2020-02-24 13:09:29 +01:00
MachineSettings Disallow printers larger than 2km 2020-03-20 11:16:16 +01:00
MainWindow Merge branch 'master' into CURA-6627_Store_extra_data_project_files 2020-01-21 15:14:45 +01:00
Menus Fix QML null warnings 2020-02-13 12:26:49 +01:00
Preferences Don't translate 'Language:' string 2020-03-10 11:19:32 +01:00
PrinterOutput Fix values in print monitor preheat fields 2020-02-28 12:27:57 +01:00
PrinterSelector Remove deprecated functions in MachineManager 2019-10-22 14:11:40 +02:00
PrintSetupSelector Fix QML null warnings 2020-02-13 12:26:49 +01:00
Settings Remove unneeded rounding 2020-01-03 16:56:13 +01:00
WelcomePages Merge branch 'CURA-7017_link_to_help' of github.com:Ultimaker/Cura 2020-03-18 10:49:35 +01:00
Widgets Fix some dark theme styling (MoreInfoWindow, ToolboxLicenseDialog 2020-01-30 12:51:13 +01:00
ActionButton.qml Fix the positioning of multi-line tooltip anchor-points 2020-02-28 23:00:56 +01:00
Actions.qml Update resources/qml/Actions.qml 2020-01-16 16:26:15 +01:00
BorderGroup.qml Add copyright header. 2018-11-26 15:39:34 +01:00
CheckBoxWithTooltip.qml Rename CheckBox.qml to CheckBoxWithTooltip.qml 2019-01-03 11:53:19 +01:00
Cura.qml Don't hard-code application name here either 2020-03-06 15:58:41 +01:00
EmptyViewMenuComponent.qml Use a disabled rectangle instead of an empty space in the XRay view 2019-05-02 16:00:17 +02:00
ExpandableComponent.qml DoubleClick and drag no longer contradict eachother for expandable component 2019-04-29 15:13:01 +02:00
ExpandableComponentHeader.qml Make expandable component dragable. 2019-04-25 08:43:36 +02:00
ExpandablePopup.qml Qt 5.13 compatibility - fix size of ExpandablePopup background. 2019-07-28 08:03:36 +01:00
ExtruderButton.qml Add a new ToolbarButton 2018-11-27 17:16:52 +01:00
ExtruderIcon.qml Merge branch '4.0' into unify_font_types 2018-12-19 11:56:22 +01:00
FPSItem.qml Add a QML item that shows the FPS 2019-04-19 13:58:41 +02:00
IconWithText.qml Elide the profile text in the middle for the PrintSetupSelector. 2019-10-15 10:26:52 +02:00
JobSpecs.qml Fix QML warnings 2020-01-07 11:37:37 +01:00
LabelBar.qml Apply screenScaleFactor to implicitWidth (and cleanup) 2019-10-04 12:58:40 +02:00
MachineAction.qml T466: Revert the previous commit since it messed up the file rights. 2016-12-23 15:53:15 -05:00
MonitorButton.qml Unify the fonts to only have 8 instead of 13. 2018-12-12 17:50:21 +01:00
ObjectItemButton.qml Reuse the Cura ToolTip while showing long object item 2019-09-17 13:52:37 +02:00
ObjectSelector.qml Fix scrollbar for object selector 2019-09-18 17:05:00 +02:00
PrimaryButton.qml Add header in new files. Remove unused imports. 2018-11-26 14:06:34 +01:00
PrinterTypeLabel.qml WIP: Show full name of network printer types 2019-03-13 13:03:41 +01:00
PrintMonitor.qml Show tooltip on top of control elements 2019-05-10 11:09:56 +02:00
PrintSetupTooltip.qml Show tooltip on the right side if the setting area is to far to the left 2019-04-29 10:33:02 +02:00
qmldir Merge branch 'master' into CURA-6447_fix_start_onboarding 2019-04-12 16:39:51 +02:00
RadioCheckbar.qml Change RadioCheckbar active button color 2019-12-10 13:19:10 +01:00
RoundedRectangle.qml Add border to rounded rectangle. 2018-11-26 15:14:32 +01:00
SecondaryButton.qml Add header in new files. Remove unused imports. 2018-11-26 14:06:34 +01:00
Toolbar.qml Only update position of label when it's visible 2020-01-24 14:04:27 +01:00
ToolbarButton.qml Remove the show property from the tooltip 2018-12-20 16:41:26 +01:00
ToolTip.qml Fix fonts of plug-in tiles 2018-12-31 15:14:23 +01:00
ViewOrientationButton.qml Change the margin in the view orientation buttons to aling the pixels correctly 2018-12-17 11:00:49 +01:00
ViewOrientationControls.qml Fix tooltips absorbed mouseclicks for view-buttons. 2019-10-10 12:57:27 +02:00
ViewsSelector.qml Change text to singular mode 2019-03-08 15:27:17 +01:00