User settings are now properly proposed for export

CURA-11561
This commit is contained in:
Erwan MATHIEU 2024-01-31 09:26:49 +01:00
parent 2aef33f521
commit 8ad4ab90a8
6 changed files with 114 additions and 46 deletions

View file

@ -1,7 +1,7 @@
# Copyright (c) 2024 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.
from PyQt6.QtCore import pyqtSignal, QObject, pyqtProperty, QCoreApplication, QUrl
from PyQt6.QtCore import pyqtSignal, QObject, pyqtProperty, QCoreApplication, QUrl, pyqtSlot
from PyQt6.QtGui import QDesktopServices
from typing import List, Optional, Dict, cast
@ -26,6 +26,8 @@ i18n_catalog = i18nCatalog("cura")
class PCBDialog(QObject):
finished = pyqtSignal()
def __init__(self, parent = None) -> None:
super().__init__(parent)
@ -35,3 +37,7 @@ class PCBDialog(QObject):
def show(self) -> None:
self._view.show()
@pyqtSlot()
def notifyClosed(self):
self.finished.emit()