Nino van Hooff
89f0970a88
Remove trailing whitespace from Python files
2020-05-29 14:30:33 +02:00
Jelle Spijker
120541a8db
Updated comments in Models
...
Converted doxygen style comments to reStructuredText style in the files
found in Cura/cura/Model directory recursively using the script
dox_2_rst.py (provided in the Uranium repo). Comments were manually
checked and changed if needed.
Note: dox_2rst.py struggles with decorated functions.
2020-05-08 18:59:38 +02:00
Jaime van Kessel
81b33b8649
Add some missing typing
2020-01-10 14:58:53 +01:00
Lipu Fei
9c92e61699
Remove deprecated getChildNode and getContainer in ContainerNode
...
CURA-6858
2019-10-22 14:11:40 +02:00
Ghostkeeper
40b562093d
Don't unnecessarily deprecate the getMetaDataEntry functionality
...
If possible you should group the metadata queries but otherwise this is still fine to use.
Contributes to issue CURA-6600.
2019-08-23 13:43:30 +02:00
Jaime van Kessel
b5d826fab9
Fix deprecation warning
...
CURA-6600
2019-08-20 14:49:47 +02:00
Ghostkeeper
47fe4b4c90
Re-add getMetadata()
...
We need to deprecate it to not break functionality of old plug-ins and such.
Contributes to issue CURA-6600.
2019-08-13 17:20:59 +02:00
Ghostkeeper
8ec1c31b58
Don't make parent a common property
...
Instead we use properly-typed and appropriately-named variables in each of the sub classes.
Contributes to issue CURA-6600.
2019-08-06 16:31:57 +02:00
Ghostkeeper
9fda7bd0b9
Rework container tree structure
...
This sets up a few new classes, subclasses of ContainerNode.
This is intended to simplify the current structure in the QualityManager.
Contributes to issue CURA-6600.
2019-08-05 17:39:19 +02:00
Jaime van Kessel
7310a677ce
Clean up more code
...
This fixes some typing and moves a property to protected, as it should be
2018-09-27 16:07:18 +02:00
Jaime van Kessel
e7d9f0ce45
Added typing for various setting classes
2018-09-10 15:24:11 +02:00
Diego Prado Gesto
f700a39547
CURA-5330 Fix type checking in ContainerNodes
2018-06-13 16:10:11 +02:00
Diego Prado Gesto
6e364f0895
CURA-5330 Fix typing and code-style in the ContainerNode and all the
...
related children, and QualityGroup and its children.
Also fix the related calls in the managers.
2018-06-13 10:55:57 +02:00
Diego Prado Gesto
2e174e75fa
CURA-5330 Add typing checks to the MachineManager
2018-06-12 16:28:39 +02:00
Ghostkeeper
593c80225d
Show configuration error when failing to find container in ContainerNode
...
Instead of only logging it.
Contributes to issue CURA-5045.
2018-03-27 09:54:47 +02:00
Ghostkeeper
6d3fed8f52
Allow getContainer() to return None
...
And in the rest of the locations we must then check if it's None and handle that gracefully.
Here we assume that the getContainer message shows a message to the user if necessary. For now we'll just log it.
Contributes to issue CURA-5045.
2018-03-26 15:48:03 +02:00
Lipu Fei
a0acf8631d
Add copyright headers
2018-02-28 11:18:01 +01:00
Lipu Fei
d84ea07e9e
WIP: add getQaulityChangesGroup()
2018-02-16 14:23:10 +01:00
Lipu Fei
d99bacb2d2
WIP: Create ContainerNode and ContainerGroup
2018-02-16 14:20:03 +01:00
Lipu Fei
55bdc0c853
WIP: Create VariantManager
2018-02-16 14:20:02 +01:00