Commit 66175f58 authored by Jeremy Kajikawa's avatar Jeremy Kajikawa

Updated Weaver,

Added some GUI Elements,  re-organizing others
parent 515b912c
...@@ -15,7 +15,7 @@ try: ...@@ -15,7 +15,7 @@ try:
class AppWindow(wx.Frame): class AppWindow(wx.Frame):
def __init__(self): def __init__(self):
wx.Frame.__init__(self, None, title="Weaver - [UI Template]") wx.Frame.__init__(self, None, title="Weaver", style=wx.MAXIMIZE_BOX | wx.RESIZE_BORDER | wx.SYSTEM_MENU | wx.CAPTION | wx.CLOSE_BOX)
self.menustrip = wx.MenuBar() self.menustrip = wx.MenuBar()
m = wx.Menu() m = wx.Menu()
self.Bind(wx.EVT_MENU, self.OnOther, m.Append(wx.ID_ANY," "," ")) self.Bind(wx.EVT_MENU, self.OnOther, m.Append(wx.ID_ANY," "," "))
...@@ -34,12 +34,16 @@ try: ...@@ -34,12 +34,16 @@ try:
self.SetMenuBar(self.menustrip) self.SetMenuBar(self.menustrip)
self.vroot = wx.BoxSizer(wx.VERTICAL) self.vroot = wx.BoxSizer(wx.VERTICAL)
self.vroot.Append(self.hSettings = wx.BoxSizer(wx.HORIZONTAL))
self.vroot.Append(self.hControls = wx.BoxSizer(wx.HORIZONTAL))
self.PrintCancel = wx.Button()
self.CreateStatusBar() self.CreateStatusBar()
self.Show(True) self.Show(True)
def OnAbout(self,event): def OnAbout(self,event):
dlg = wx.MessageDialog( self, "Prusa - Mendel - RAMPS/Sanguinololu - Sprinter", "Weaver", wx.OK) dlg = wx.MessageDialog( self, "Prusa - Mendel - RAMPS - Sprinter", "About Weaver", wx.OK)
dlg.ShowModal() dlg.ShowModal()
dlg.Destroy() dlg.Destroy()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment