mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Display (uncomplete) configuration UI to export PCB file
CURA-11561
This commit is contained in:
parent
edd5cee41a
commit
b5b0575baf
10 changed files with 466 additions and 0 deletions
24
plugins/PCBWriter/SettingExport.py
Normal file
24
plugins/PCBWriter/SettingExport.py
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Copyright (c) 2024 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
from PyQt6.QtCore import Qt, QObject, pyqtProperty
|
||||
from UM.FlameProfiler import pyqtSlot
|
||||
from UM.Application import Application
|
||||
from UM.Qt.ListModel import ListModel
|
||||
from UM.Logger import Logger
|
||||
|
||||
|
||||
class SettingsExport():
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._name = "Generate Support"
|
||||
self._value = "Enabled"
|
||||
|
||||
@pyqtProperty(str, constant=True)
|
||||
def name(self):
|
||||
return self._name
|
||||
|
||||
@pyqtProperty(str, constant=True)
|
||||
def value(self):
|
||||
return self._value
|
Loading…
Add table
Add a link
Reference in a new issue