mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -06:00
Add a MainWindow class to Wx and use it in printer and scanner
This commit is contained in:
parent
1069565b59
commit
8ad7b5546e
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue