mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Small code improvements
This commit is contained in:
parent
f34fc7e6f9
commit
fa5b083b74
9 changed files with 15 additions and 8 deletions
|
@ -1,6 +1,7 @@
|
|||
# Copyright (c) 2019 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
import os
|
||||
from abc import ABC
|
||||
from typing import List, Optional, Dict
|
||||
|
||||
from PyQt5.QtCore import pyqtProperty, pyqtSignal, QObject, pyqtSlot, QUrl
|
||||
|
@ -22,7 +23,7 @@ from .Models.Http.ClusterPrintJobStatus import ClusterPrintJobStatus
|
|||
## Output device class that forms the basis of Ultimaker networked printer output devices.
|
||||
# Currently used for local networking and cloud printing using Ultimaker Connect.
|
||||
# This base class primarily contains all the Qt properties and slots needed for the monitor page to work.
|
||||
class UltimakerNetworkedPrinterOutputDevice(NetworkedPrinterOutputDevice):
|
||||
class UltimakerNetworkedPrinterOutputDevice(NetworkedPrinterOutputDevice, ABC):
|
||||
|
||||
# Signal emitted when the status of the print jobs for this cluster were changed over the network.
|
||||
printJobsChanged = pyqtSignal()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue