mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 01:26:01 +08:00
Add a MainWindow class to Wx and use it in printer and scanner
This commit is contained in:
parent
1069565b59
commit
8ad7b5546e
@ -1,8 +1,11 @@
|
|||||||
from Cura.Wx.WxApplication import WxApplication
|
from Cura.Wx.WxApplication import WxApplication
|
||||||
|
from Cura.Wx.MainWindow import MainWindow
|
||||||
|
|
||||||
class PrinterApplication(WxApplication):
|
class PrinterApplication(WxApplication):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(PrinterApplication, self).__init__()
|
super(PrinterApplication, self).__init__()
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
window = MainWindow("Cura Printer")
|
||||||
|
window.Show()
|
||||||
super(PrinterApplication, self).run()
|
super(PrinterApplication, self).run()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user