131 Commits

Author SHA1 Message Date
Lipu Fei
0aa49270eb Remove unused function checkConnectionType()
CURA-6011
2018-12-14 09:57:43 +01:00
Lipu Fei
6bf39a32a9 Rename Enum names to camal cases
CURA-6011
2018-12-14 09:56:10 +01:00
Aleksei S
973970a895 Every print ouput device should define its connection type(usb, network, cluster and etc)
CURA-6011
2018-12-13 16:00:12 +01:00
Jaime van Kessel
4990f20566
Use QStringList instead of QVariantList since the return value is a list of strings.
Co-Authored-By: diegopradogesto <d.pradogesto@ultimaker.com>
2018-11-26 10:55:32 +01:00
Diego Prado Gesto
9720512f50 Add a new printer selector button that is connected to the output
devices and shows labels containing the type of printers that are in the
same group.

Contributes to CURA-5942.
2018-11-22 13:54:10 +01:00
fieldOfView
ab7fe3138d Remove unused imports 2018-10-09 17:06:20 +02:00
fieldOfView
a36deea651 Move updateFirmware to PrinterOutputDevice...
along with codestyle and typing fixes
2018-10-09 16:26:45 +02:00
fieldOfView
718ac0a307 Create firmware update progress window from QML 2018-10-03 09:17:51 +02:00
Diego Prado Gesto
762a1b1bfd Fix code-style 2018-07-03 12:06:06 +02:00
Ghostkeeper
eda0d34fd9
Call from QtApplication instead of Application
Because we're using createQmlComponent which is only in QtApplication.

Contributes to issue CURA-5330.
2018-06-15 11:21:59 +02:00
Diego Prado Gesto
f1b0c6238f CURA-5330 Add return type to some constructors 2018-06-13 11:01:30 +02:00
Ghostkeeper
a98b4fe35c
Fix unknown model
My IDE didn't indicate this because it is imported fine, but only if MYPY.

Contributes to issue CURA-5330.
2018-06-01 14:53:13 +02:00
Ghostkeeper
a946a8aaed
Add function typing for PrinterOutputDevice
This causes a lot of typing errors to surface. We'll fix this later though, when we get to it.

Contributes to issue CURA-5330.
2018-06-01 14:53:13 +02:00
Lipu Fei
ec9be7a103 Merge remote-tracking branch 'origin/3.3' 2018-04-25 12:55:21 +02:00
Diego Prado Gesto
3b499edac5 Add back the setAcceptsCommands function with a deprecated decorator. 2018-04-25 10:20:48 +02:00
Aleksei S
290adbd906 Fix: bed leveling for UM+
CURA-4844
2018-03-29 11:53:31 +02:00
Diego Prado Gesto
dfb903fb81 CURA-4870 Wait until the configuration has all the mandatory data before
add it to the list of unique configurations.
Remove some connections to signals and reuse already defined listeners.
2018-03-13 13:14:29 +01:00
Diego Prado Gesto
fa5aa0a53f CURA-4870 React to outputdeviceschanged signal, to update the list of
the configurations.
2018-03-08 16:55:40 +01:00
Diego Prado Gesto
d02d845d1b CURA-4870 Update the selected configuration in the UI when the
configuration in the printer changes.
Modify again the hash function.
2018-03-06 09:24:42 +01:00
Diego Prado Gesto
b8ad0959a7 CURA-4870 Add call to the QObject constructor 2018-03-05 09:41:22 +01:00
Diego Prado Gesto
22b1c2127f CURA-4870 Add information of the current configuration selected in the active printer 2018-03-04 18:13:27 +01:00
Diego Prado Gesto
49fcf35d9b CURA-4870 Prepare the UI to show the list of configurations 2018-03-04 17:26:37 +01:00
Diego Prado Gesto
dead2122dd CURA-4870 Add list of unique configurations to the output device. The printer output model calculates the configuration every time a change is received from the output device 2018-03-03 20:29:06 +01:00
Diego Prado Gesto
da4c98b204 Merge branch 'master' into feature_multiple_BP 2018-01-16 09:59:21 +01:00
Jaime van Kessel
1986677276 re-addded connection text
CL-541
2018-01-12 10:58:16 +01:00
Diego Prado Gesto
de98a62dc8 CURA-4461 Read buildplate id from the printer and set the automatic
option
2018-01-11 13:03:35 +01:00
Jaime van Kessel
99de75a3fd Fixed connection label state
CL-541
2018-01-08 13:44:20 +01:00
Jaime van Kessel
9754aa5397 Material & hotend updated callback is enabled for LegacyUM3 again
CL-541
2017-12-21 13:16:44 +01:00
Jaime van Kessel
d3b9ac0d45 Also start reworking the USBPrint.
It's also time for some much needed code cleaning in that bit. The auto-detect is moved to it's own job,
which should make it a whole lot easier to disable it all together.

CL-541
2017-12-14 17:37:57 +01:00
Jaime van Kessel
80526893c2 Made setAcceptsCommands protected
CL-541
2017-12-14 09:36:31 +01:00
Ghostkeeper
1029d4509c
Merge branch 'master' into feature_local_container_server 2017-12-08 16:03:05 +01:00
Jaime van Kessel
ae629e2968 Fixed camera for legacy UM3 printer again
CL-541
2017-12-08 14:59:14 +01:00
Jaime van Kessel
9ccd643f64 Repaired the monitor icon not being updated
CL-541
2017-12-08 14:36:53 +01:00
Jaime van Kessel
aba8bd89c3 Merge branch 'master' of github.com:Ultimaker/Cura into network_rewrite 2017-12-06 13:33:20 +01:00
Ghostkeeper
dad99f5292
Merge branch 'master' into feature_local_container_server
Contributes to issue CURA-4243.
2017-11-29 13:06:08 +01:00
ChrisTerBeke
74eb4958af Fixes for printer output device views - CURA-4568 2017-11-28 14:21:47 +01:00
ChrisTerBeke
cfbb553182 Use new QML element creator for output device view - CURA-4568 2017-11-28 14:16:58 +01:00
Jaime van Kessel
83b13546fb Moved compressing of GCode to one class higher
CL-541
2017-11-27 17:12:36 +01:00
Jaime van Kessel
5d3779da26 Update cluster view components
CL-541
2017-11-27 15:54:44 +01:00
Jaime van Kessel
f791b53ad8 Enabled monitor items for ClusterOutputDevice again
CL-541
2017-11-27 13:54:34 +01:00
Jaime van Kessel
1c2c4d4163 Added property to indicate if output device accepts commands
Instead of how this was previously done, it's now tied to the auth state.

CL-541
2017-11-23 17:07:24 +01:00
Jaime van Kessel
8b8d67b3a8 LegacyUM3 now handles warnings & errors again
CL-541
2017-11-23 13:37:59 +01:00
Jaime van Kessel
7465a6551a Setup the authentication stuff for LegacyUM3
CL-541
2017-11-22 11:59:07 +01:00
Jaime van Kessel
0f78b05802 Connection states changes are now tied into the UI again
CL-541
2017-11-21 15:12:23 +01:00
Jaime van Kessel
b1649f2d38 Added PrintJob handling to ClusterUM3
CL-541
2017-11-21 11:01:19 +01:00
Jaime van Kessel
fd548975cc Closing a connection now actually stops the updates
CL-541
2017-11-21 10:19:17 +01:00
Jaime van Kessel
03304003af Added connection state property
Cl-541
2017-11-20 15:12:11 +01:00
Jaime van Kessel
c1dbdc64ee Added missing ()
CL-541
2017-11-20 11:34:24 +01:00
Jaime van Kessel
22f2279a76 Moved bunch of code from the old location to the new bits in archtiecture
CL-541
2017-11-20 10:59:57 +01:00
fieldOfView
a9f2ad7ca3 Hide manual controls for outputdevices that don't support it 2017-10-24 11:03:51 +02:00