mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
User settings are now properly proposed for export
CURA-11561
This commit is contained in:
parent
2aef33f521
commit
8ad4ab90a8
6 changed files with 114 additions and 46 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue