Saumya Jain
495be39d1f
Update cura/SingleInstance.py
...
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
2024-02-08 10:51:49 +01:00
saumya.jain
313a7f7068
remove debug statement
...
CURA-11596
2024-02-07 12:16:01 +01:00
saumya.jain
206b530724
Removing debug statement
...
CURA-11596
2024-02-07 11:05:48 +01:00
saumya.jain
bb28a7c506
fixing the if condition
...
CURA-11596
2024-02-07 11:01:05 +01:00
saumya.jain
664fa4f48d
assigning different command for opening url
...
CURA-11596
2024-02-06 16:19:01 +01:00
saumya.jain
eff4584203
adding files in single instance in case of url
...
CURA-11596
2024-02-06 16:05:34 +01:00
saumya.jain
9c57627a88
Adding command for opening url
...
CURA-11596
2024-02-06 12:17:38 +01:00
saumya.jain
e554eb264e
adding logging for debugging
...
CURA-11596
2024-02-05 15:44:46 +01:00
saumya.jain
21517c5025
Adding openURL in singleinstance
2024-02-05 13:22:26 +01:00
Jaime van Kessel
c1ed7b97f9
Use right enums for single instance
...
CURA-9183
2022-04-22 09:36:46 +02: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
Jaime van Kessel
c497e61d9d
Merge branch 'feature_single_instance_clear_before_load' of https://github.com/fieldOfView/Cura
2021-09-15 16:18:54 +02:00
luz paz
d68f375e38
Fix various typos
...
Found via `codespell -q 3 -S *.po,*.pot -L childs,initialy,lod,ned,te,slicable,sur,tutoriels,wont`
2021-09-07 11:33:54 -04:00
fieldOfView
6367e07631
Add preference to enable loading multiple objects into a single instance
2021-03-23 22:27:10 +01:00
Nino van Hooff
2df0d96923
Consider user preference when opening project files from cli.
...
The logic using just a "skip_project_file_check" boolean was too obscure
imho, so used a string value with more explicit values
to improve readability
CURA-6824
2019-10-01 11:54:53 +02:00
Nino van Hooff
2c12d713e3
Revert "Do not show the "load project or models" dialog when opening a file from a command line argument"
...
This reverts commit abfd7e92, because the desired behavior has still tbd
2019-09-27 16:50:28 +02:00
Nino van Hooff
abfd7e9266
Do not show the "load project or models" dialog when opening a file from
...
a command line argument
2019-09-27 16:37:41 +02:00
Diego Prado Gesto
f91b6faecc
Fix code-styling
2018-07-03 17:57:30 +02:00
Ghostkeeper
fe43219e34
Fix minor type mistakes
...
Contributes to issue CURA-5330.
2018-06-15 13:14:56 +02:00
Diego Prado Gesto
51888d86fe
CURA-5330 Fix typing check
2018-06-13 17:13:33 +02:00
Ghostkeeper
5bf553c63c
Merge branch 'mypy_fixes' of ssh://github.com/Ultimaker/Cura into mypy_fixes
2018-06-13 17:03:31 +02:00
Diego Prado Gesto
221cd3e73e
CURA-5330 Fix typing in SingleInstance
2018-06-13 09:06:05 +02:00
Ghostkeeper
b9d47f6092
Add function typing
...
This allows MyPy to detect mistakes in the typing of these functions.
Contributes to issue CURA-5330.
2018-06-08 16:31:32 +02:00
Lipu Fei
051dd7a6e9
WIP: Make application initialization and start up more clear
...
- Create SingleInstance class to handling single instance stuff.
- Instead of calling getInstance() everywhere, initialize each object
explicitly in order when application starts and getInstance()s do not
create instances any more and they merely return the created
instances.
- Only set initial values in construtor functions __init__(). Move the
initialization of context-aware (i.e. things that depend on other
things) to separate functions.
- Split application creation and initialziation into several steps and
them should be called explicitly in the correct order.
2018-05-04 09:57:02 +02:00