00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 import wx
00011
00012
00013
00014
00015
00016 class MonitorPanelGenerated ( wx.Panel ):
00017
00018 def __init__( self, parent ):
00019 wx.Panel.__init__ ( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 500,700 ), style = wx.TAB_TRAVERSAL )
00020
00021 bSizer1 = wx.BoxSizer( wx.VERTICAL )
00022
00023 self.m_splitter2 = wx.SplitterWindow( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.SP_3D )
00024 self.m_splitter2.SetSashGravity( 0.5 )
00025 self.m_splitter2.Bind( wx.EVT_IDLE, self.m_splitter2OnIdle )
00026 self.m_splitter2.SetMinimumPaneSize( 100 )
00027
00028 self.m_panel3 = wx.Panel( self.m_splitter2, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
00029 bSizer5 = wx.BoxSizer( wx.VERTICAL )
00030
00031 sbSizer3 = wx.StaticBoxSizer( wx.StaticBox( self.m_panel3, wx.ID_ANY, u"Errors" ), wx.VERTICAL )
00032
00033 self._error_tree_ctrl = wx.TreeCtrl( self.m_panel3, wx.ID_ANY, wx.DefaultPosition, wx.Size( -1,-1 ), wx.TR_DEFAULT_STYLE|wx.TR_HIDE_ROOT )
00034 self._error_tree_ctrl.SetMinSize( wx.Size( -1,60 ) )
00035
00036 sbSizer3.Add( self._error_tree_ctrl, 1, wx.ALL|wx.EXPAND, 5 )
00037
00038 bSizer5.Add( sbSizer3, 1, wx.EXPAND, 5 )
00039
00040 sbSizer2 = wx.StaticBoxSizer( wx.StaticBox( self.m_panel3, wx.ID_ANY, u"Warnings" ), wx.VERTICAL )
00041
00042 self._warning_tree_ctrl = wx.TreeCtrl( self.m_panel3, wx.ID_ANY, wx.DefaultPosition, wx.Size( -1,-1 ), wx.TR_DEFAULT_STYLE|wx.TR_HIDE_ROOT )
00043 self._warning_tree_ctrl.SetMinSize( wx.Size( -1,60 ) )
00044
00045 sbSizer2.Add( self._warning_tree_ctrl, 1, wx.ALL|wx.EXPAND, 5 )
00046
00047 bSizer5.Add( sbSizer2, 1, wx.EXPAND, 5 )
00048
00049 self.m_panel3.SetSizer( bSizer5 )
00050 self.m_panel3.Layout()
00051 bSizer5.Fit( self.m_panel3 )
00052 self.m_panel4 = wx.Panel( self.m_splitter2, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
00053 bSizer4 = wx.BoxSizer( wx.VERTICAL )
00054
00055 sbSizer1 = wx.StaticBoxSizer( wx.StaticBox( self.m_panel4, wx.ID_ANY, u"All" ), wx.VERTICAL )
00056
00057 self._tree_ctrl = wx.TreeCtrl( self.m_panel4, wx.ID_ANY, wx.DefaultPosition, wx.Size( -1,-1 ), wx.TR_DEFAULT_STYLE|wx.TR_HIDE_ROOT )
00058 self._tree_ctrl.SetMinSize( wx.Size( -1,60 ) )
00059
00060 sbSizer1.Add( self._tree_ctrl, 1, wx.ALL|wx.EXPAND, 5 )
00061
00062 bSizer4.Add( sbSizer1, 1, wx.EXPAND, 5 )
00063
00064 self.m_panel4.SetSizer( bSizer4 )
00065 self.m_panel4.Layout()
00066 bSizer4.Fit( self.m_panel4 )
00067 self.m_splitter2.SplitHorizontally( self.m_panel3, self.m_panel4, 240 )
00068 bSizer1.Add( self.m_splitter2, 1, wx.EXPAND, 5 )
00069
00070 self._message_status_text = wx.StaticText( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
00071 self._message_status_text.Wrap( -1 )
00072 self._message_status_text.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), 70, 90, 92, False, wx.EmptyString ) )
00073 self._message_status_text.SetForegroundColour( wx.Colour( 85, 178, 76 ) )
00074 self._message_status_text.SetToolTipString( u"asdf" )
00075
00076 bSizer1.Add( self._message_status_text, 0, wx.ALL, 5 )
00077
00078 self.SetSizer( bSizer1 )
00079 self.Layout()
00080
00081 def __del__( self ):
00082 pass
00083
00084 def m_splitter2OnIdle( self, event ):
00085 self.m_splitter2.SetSashPosition( 240 )
00086 self.m_splitter2.Unbind( wx.EVT_IDLE )
00087
00088
00089
00090
00091
00092
00093 class MessageTimelineGenerated ( wx.Panel ):
00094
00095 def __init__( self, parent ):
00096 wx.Panel.__init__ ( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 503,63 ), style = wx.TAB_TRAVERSAL )
00097
00098 bSizer4 = wx.BoxSizer( wx.HORIZONTAL )
00099
00100 self.m_slider1 = wx.Slider( self, wx.ID_ANY, 2, 1, 2, wx.DefaultPosition, wx.DefaultSize, wx.SL_AUTOTICKS|wx.SL_HORIZONTAL|wx.SL_LABELS|wx.SL_TOP )
00101 bSizer4.Add( self.m_slider1, 1, wx.ALL, 5 )
00102
00103 self._pause_button = wx.ToggleButton( self, wx.ID_ANY, u"Pause", wx.DefaultPosition, wx.DefaultSize, 0 )
00104 bSizer4.Add( self._pause_button, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
00105
00106 self.SetSizer( bSizer4 )
00107 self.Layout()
00108
00109 def __del__( self ):
00110 pass
00111
00112