16 Commits

Author SHA1 Message Date
Remco Burema
97da0b9183
Qt5->Qt6: Fix another stack-overflow error for newer Python/Qt.
part of CURA-8591
2021-12-29 10:15:14 +01:00
Remco Burema
abe7c1bf7f
Search/replace Qt5->Qt6.
part of upgrading Qt to v6.2: CURA-8591
2021-12-28 14:46:02 +01:00
Nino van Hooff
58ffc9dcae Merge remote-tracking branch 'origin/master' into doxygen_to_restructuredtext_comments
# Conflicts:
#	cura/API/__init__.py
#	cura/Settings/CuraContainerRegistry.py
#	cura/Settings/ExtruderManager.py
#	plugins/PostProcessingPlugin/scripts/PauseAtHeight.py
#	plugins/UM3NetworkPrinting/src/Cloud/CloudApiClient.py
#	plugins/UM3NetworkPrinting/src/Cloud/ToolPathUploader.py
#	plugins/UM3NetworkPrinting/src/Network/LocalClusterOutputDeviceManager.py
2020-05-28 17:31:24 +02:00
Nino van Hooff
b135da866a Add Cura.API.connectionStatus
CURA-7437
2020-05-20 16:06:10 +02:00
Jelle Spijker
68318d20fd
Converted comments in dir Cura/cura/API to rst style
Converted doxygen style comments to reStructuredText style in the files found in Cura/cura/API directory recursively  using the script dox_2_rst.py (provided in the Uranium repo). Comments were manually checked and changed if needed.

Comments from the hidden attributes in the class CuraAPI (_acount, _backups, _interface) were moved to the public property getters, so they docstrings are exposed to the user.
2020-04-22 20:57:41 +02:00
Ghostkeeper
305bce5a78
Enforce Cura API to be a singleton
If it's not used that way we want to know about it and fail.

If plug-ins use it this way, the plug-in won't get initialised so it'll be as if the plug-in is disabled or that function doesn't work.

Contributes to issue CURA-7135.
2020-01-27 16:28:26 +01:00
Lipu Fei
75f2f40534 Make API version configuration for Application
CURA-5840
2018-11-08 12:04:43 +01:00
Jaime van Kessel
18361b9434 Ensure that CuraAPI can be called in the same way as before
This should prevent another API break.

CURA-5744
2018-10-02 10:42:15 +02:00
Lipu Fei
dd150bbab9 Resolve circular imports for CuraAPI 2018-09-28 12:07:00 +02:00
Jaime van Kessel
081b2a28fe Expose Account API to QML
This is done by adding the API as an SingletonType to Cura.

CURA-5744
2018-09-21 17:23:30 +02:00
Jaime van Kessel
b54383e685 Added account object to API
CURA-5744
2018-09-21 16:43:32 +02:00
Ian Paschal
16db297613 Some final tweaks
Contributes to CURA-5595
2018-08-10 16:28:02 +02:00
Ian Paschal
6d237b09e8 Proposed improvement on API naming 2018-08-10 16:08:54 +02:00
Ian Paschal
4912073aed Add API abstraction layer
Contributes to CURA-5595
2018-08-09 15:14:55 +02:00
Ghostkeeper
2eedc96f36
Convert to Doxygen documentation
Like the rest of Cura and Uranium.
2018-06-11 15:06:48 +02:00
ChrisTerBeke
5b5a8f77b7 Rename Api to API 2018-05-18 17:29:01 +02:00