4529 Commits

Author SHA1 Message Date
Remco Burema
175121e86c
Fix add printer scrollview overlaps buttons.
CURA-7336
2020-04-01 17:31:23 +02:00
fieldOfView
1b3c51d98a Remove extraneous preference 2020-03-31 11:57:45 +02:00
fieldOfView
ccc0589495 Remove the checkbox option to set the preference to hide the messagebox 2020-03-31 11:50:16 +02:00
fieldOfView
b7898b5a97 Change preference to only hide the xray message, not the visualization 2020-03-31 11:39:05 +02:00
fieldOfView
4638e2b72b Fix resetting show xray warning 2020-03-31 11:27:25 +02:00
Ghostkeeper
0150f37937
Merge branch 'master' into xray_in_solid_view 2020-03-24 21:45:48 +01:00
Matt Jani
0516756c3b Summary
Updated Cloud sign in strings CURA-7314
2020-03-24 12:54:38 +01:00
Ghostkeeper
37673691fd
Clarify tooltip about resolution between per-extruder values
It was using a bit of programmer jargon there that was very hard to understand. Initially I was coming in here to remove the space at the end of the translated string but I'm now changing all of it to make it more clear to the user as well.

Done as a 5 minute fix.
2020-03-24 09:35:10 +01:00
fieldOfView
fa091a48b9 Allow spaces in separator name 2020-03-23 08:12:29 +01:00
fieldOfView
18263220ff Add method to add separators to extension menus 2020-03-22 22:07:50 +01:00
Ghostkeeper
485e37e7f5
Extruders can be undefined, not null
This happens when the printer is changed, such as when changing the Machine Width in the machine settings dialogue. It updates these menus then and if not all extruders are defined it'll give the following errors:
2020-03-20 16:56:57,839 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///home/trin/Gedeeld/Projects/Cura/resources/qml/Menus/SettingsMenu.qml:51: TypeError: Cannot read property 'isEnabled' of undefined
2020-03-20 16:56:57,840 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///home/trin/Gedeeld/Projects/Cura/resources/qml/Menus/SettingsMenu.qml:44: TypeError: Cannot read property 'isEnabled' of undefined
2020-03-20 16:56:57,841 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///home/trin/Gedeeld/Projects/Cura/resources/qml/Menus/MaterialMenu.qml:26: TypeError: Cannot read property 'isEnabled' of undefined
2020-03-20 16:56:57,841 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///home/trin/Gedeeld/Projects/Cura/resources/qml/Menus/MaterialMenu.qml:28: TypeError: Cannot read property 'material' of undefined

Done during Turbo Testing and Tooling.
2020-03-20 17:03:08 +01:00
Ghostkeeper
2f3462203c
Fix QML errors due to property providers not being initialised yet
This then updates in a fraction of a millisecond later before things even appear on the screen, so it's not so bad to not have a tooltip or to have it show 0 then.

Done during Turbo Testing and Tooling.
2020-03-20 16:58:18 +01:00
Ghostkeeper
31aee866f4
Check if options are available before matching on them
This prevents a QML warning when the ListModel is created before the property provider is. This QML warning looked like this:
2020-03-20 15:04:30,012 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///home/trin/Gedeeld/Projects/Cura/cura/../resources/qml/MachineSettings/ComboBoxWithOptions.qml:74: TypeError: Cannot call method 'match' of undefined

Done during Turbo Testing and Tooling.
2020-03-20 15:09:46 +01:00
Ghostkeeper
5cfe71e516
Fix binding loop in action panel widget
This widget can't set its width to the width of its children, since its children anchor to its right-hand side which depends on the width.
This fixes the following warning in the log:
2020-03-20 14:25:20,351 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///home/trin/Gedeeld/Projects/Cura/plugins/PrepareStage/PrepareMain.qml:16:5: QML ActionPanelWidget: Binding loop detected for property width

Done during Turbo Testing and Tooling.
2020-03-20 14:52:33 +01:00
Ghostkeeper
3af91bfca7
Fix QML warning assigning undefined to an integer field
Fixes the following QML warning in the logs:
2020-03-20 14:02:13,482 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///home/trin/Gedeeld/Projects/Cura/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml:125:13: Unable to assign [undefined] to int

Instead it now assigns the first extruder before a printer has been created. The first extruder also doesn't exist yet at this point, but this doesn't really matter because there is no interface to show yet at this point.

Done during Turbo Testing and Tooling.
2020-03-20 14:17:24 +01:00
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
Jaime van Kessel
decf96e99e
Set verticalAlignment of numericTextField
Contributes to #7300
2020-03-20 11:04:24 +01:00
Jaime van Kessel
ced25adc2b
Merge branch 'CURA-7017_link_to_help' of github.com:Ultimaker/Cura 2020-03-18 10:49:35 +01:00
Kostas Karmas
34f81ed0b0 Add link then the printer is not found
CURA-7017
2020-03-18 09:31:13 +01:00
Ghostkeeper
d7d91d2fec
Don't translate 'Language:' string
This should make it easier to find the language drop-down again if you can't read the current language.

Done as a 5 minute fix.
2020-03-10 11:19:32 +01:00
Ghostkeeper
7b0964abef
Merge branch 'DenyCZ-4.5' 2020-03-09 16:57:09 +01:00
Ghostkeeper
0c9a8d3a7c
Add Czech language to the list
You can now select Czech as your Cura language.

Contributes to issue CURA-7285.
2020-03-09 16:55:13 +01:00
Jaime van Kessel
d041131f84
Merge branch 'fix_preheat_fields' of https://github.com/fieldOfView/Cura 2020-03-09 13:02:02 +01:00
Ghostkeeper
c32677d27a
Don't hard-code application name here either
Seems that there are 30-ish places where this is hard-coded in the rest of our code base too. I'm not going to fix all of those.
2020-03-06 15:58:41 +01:00
Jaime van Kessel
68ad38de28
Fix sizing of the machine action dialog
Contributes to #7224
2020-03-06 11:02:59 +01:00
Ghostkeeper
365d1c0f74
Reset 'has responded' state when pressing Add
It's maybe not a good idea to remember this state only in QML. Not changing that now though.

Contributes to issue CURA-7017.
2020-03-05 17:39:57 +01:00
Ghostkeeper
2dcf5a9c97
Fix link to connecting page
Contributes to issue CURA-7017.
2020-03-05 14:01:02 +01:00
Ghostkeeper
25292a4c7c
Add link to help pages if it can't connect
I don't know what the link is supposed to be linking to though. Yet.

Contributes to issue CURA-7017.
2020-03-05 13:16:54 +01:00
fieldOfView
67af1aa19d Fix the positioning of multi-line tooltip anchor-points 2020-02-28 23:00:56 +01:00
fieldOfView
ddbd843d91 Fix showing tooltips for actionbuttons that have a tooltip text set 2020-02-28 22:31:34 +01:00
Jaime van Kessel
670a106957
Be a bit more gracefull when adding a machine failed
This seems to happen for people that manually add machines to cura
but mess something up when copying the files.

CURA-3X
2020-02-28 17:03:38 +01:00
fieldOfView
d07649fc59 Fix values in print monitor preheat fields
Contributes to #7172
2020-02-28 12:27:57 +01:00
Tim Kuipers
4b1a426873 add xray error warning preference 2020-02-27 16:41:20 +01:00
Ghostkeeper
a1438e91d0
Merge branch '4.5'
Conflicts:
	cura_app.py -> Due to moving some imports around.
2020-02-25 12:07:47 +01:00
Ghostkeeper
0dfa65bb6d
Disable Polish translation for 4.5
These translations weren't updated this round, so we'll disable them from the interface. The files are still available if someone else wants to translate them.

Contributes to issue CURA-7201.
2020-02-24 14:17:21 +01:00
Ghostkeeper
92e520b230
Fix translation with an argument
There are multiple issues with that line:
* Other languages might have the application name before their version of 'About'. The previous line can't account for those languages because the application name is always appended at the end.
* The old one was trying to translate CuraApplication.applicationDisplayName which can't be statically determined.
* The old one had no explanation towards the translator.
2020-02-24 13:09:29 +01:00
fieldOfView
ddee0d59e0 Fix the layout of the head jogging controls 2020-02-17 22:13:38 +01:00
Lipu Fei
65e1314538 Fix QML null warnings 2020-02-13 12:26:49 +01:00
Lipu Fei
15f4d1231b Fix QML null warnings 2020-02-13 12:11:25 +01:00
Ghostkeeper
66e2ca6aa5
Merge branch 'CURA-7099_sync_sideloaded_plugins' 2020-02-03 16:12:56 +01:00
Nino van Hooff
8ea3004c73 Fix some dark theme styling (MoreInfoWindow, ToolboxLicenseDialog
CURA-7152
2020-01-30 12:51:13 +01:00
Nino van Hooff
d4eb463f2d Always subscribe to packages after installing them
Now that we subscribe for all situations where a package is installed,
it makes sense to watch package installs and create a 1:1 relation that
way. Prevents code duplication.

CURA-7099
2020-01-28 13:08:57 +01:00
Jaime van Kessel
a706b42782
Disable create & import on materialpage if machine does not support materials 2020-01-27 16:12:26 +01:00
Ghostkeeper
d31240ad70
Merge branch 'CURA-6627_Store_extra_data_project_files' 2020-01-24 14:53:33 +01:00
Jaime van Kessel
bd18a539e2
Only update position of label when it's visible
This prevents unneeded re-rendering
2020-01-24 14:04:27 +01:00
Ghostkeeper
a3825c1f14
Merge branch 'master' into CURA-6627_Store_extra_data_project_files 2020-01-21 15:14:45 +01:00
ninovanhooff
8bf7666493
Merge pull request #6986 from Ultimaker/CURA-7027_Add_more_materials_from_Marketplace_button
Cura 7027 add more materials from marketplace button
2020-01-16 16:26:38 +01:00
ninovanhooff
4b60da6802
Update resources/qml/Actions.qml
Remove redundant icon from marketplaceMaterialsAction
2020-01-16 16:26:15 +01:00
Kostas Karmas
18e5d76990 Fix button to open in-Cura Marketplace materials
The button was opening the online Marketplace, which was wrong.
This fix changes the behavior to open the in-Cura Marketplace at
the materials tab.

In order to achieve that, the button calls an action called
materialsMarketplace, which in turn is connected through a
Connection in the ApplicationMenu. When the action is triggered,
it first launched the Toolbox and then it sets its category to
the materials tab.

Since the callExtensionMethod does not allow us to provide input
arguments to the called method, a new method had to be created in
the toolbox that changes the view to the materials tab, instead
of immediately calling the setViewCategory("material").

CURA-7027
2020-01-16 15:11:34 +01:00
Nino van Hooff
182bab6467 Merge remote-tracking branch 'origin/master' into CURA-6983_sync_packages
# Conflicts:
#	plugins/Toolbox/src/CloudSync/SubscribedPackagesModel.py
#	plugins/Toolbox/src/Toolbox.py
2020-01-15 15:40:03 +01:00