KiCad PCB EDA Suite
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
simulator_frame_ui_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
8#pragma once
9
10#include <wx/artprov.h>
11#include <wx/xrc/xmlres.h>
12#include <wx/intl.h>
13class WX_GRID;
14
15#include <wx/gdicmn.h>
16#include <wx/aui/auibook.h>
17#include <wx/font.h>
18#include <wx/colour.h>
19#include <wx/settings.h>
20#include <wx/string.h>
21#include <wx/sizer.h>
22#include <wx/panel.h>
23#include <wx/textctrl.h>
24#include <wx/splitter.h>
25#include <wx/srchctrl.h>
26#include <wx/grid.h>
27
29
33class SIMULATOR_FRAME_UI_BASE : public wxPanel
34{
35 private:
36
37 protected:
38 wxSplitterWindow* m_splitterLeftRight;
39 wxPanel* m_panelLeft;
40 wxBoxSizer* m_sizer11;
41 wxSplitterWindow* m_splitterPlotAndConsole;
42 wxPanel* m_plotPanel;
43 wxBoxSizer* m_sizerPlot;
44 wxAuiNotebook* m_plotNotebook;
46 wxBoxSizer* m_sizerConsole;
47 wxTextCtrl* m_simConsole;
48 wxPanel* m_sidePanel;
49 wxBoxSizer* m_sideSizer;
50 wxSplitterWindow* m_splitterSignals;
52 wxSearchCtrl* m_filter;
54 wxPanel* m_panelCMT;
55 wxSplitterWindow* m_splitterCursors;
58 wxPanel* m_panelMT;
59 wxSplitterWindow* m_splitterMeasurements;
62 wxPanel* m_panelTuners;
63 wxBoxSizer* m_sizerTuners;
64
65 // Virtual event handlers, override them in your derived class
66 virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
67 virtual void onPlotDragged( wxAuiNotebookEvent& event ) { event.Skip(); }
68 virtual void onPlotChanged( wxAuiNotebookEvent& event ) { event.Skip(); }
69 virtual void onPlotChanging( wxAuiNotebookEvent& event ) { event.Skip(); }
70 virtual void onPlotClose( wxAuiNotebookEvent& event ) { event.Skip(); }
71 virtual void onPlotClosed( wxAuiNotebookEvent& event ) { event.Skip(); }
72 virtual void OnFilterMouseMoved( wxMouseEvent& event ) { event.Skip(); }
73 virtual void OnFilterText( wxCommandEvent& event ) { event.Skip(); }
74 virtual void onSignalsGridCellChanged( wxGridEvent& event ) { event.Skip(); }
75 virtual void onCursorsGridCellChanged( wxGridEvent& event ) { event.Skip(); }
76 virtual void onMeasurementsGridCellChanged( wxGridEvent& event ) { event.Skip(); }
77
78
79 public:
80
81 SIMULATOR_FRAME_UI_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
82
84
85 void m_splitterLeftRightOnIdle( wxIdleEvent& )
86 {
87 m_splitterLeftRight->SetSashPosition( 700 );
88 m_splitterLeftRight->Disconnect( wxEVT_IDLE, wxIdleEventHandler( SIMULATOR_FRAME_UI_BASE::m_splitterLeftRightOnIdle ), NULL, this );
89 }
90
91 void m_splitterPlotAndConsoleOnIdle( wxIdleEvent& )
92 {
93 m_splitterPlotAndConsole->SetSashPosition( 500 );
94 m_splitterPlotAndConsole->Disconnect( wxEVT_IDLE, wxIdleEventHandler( SIMULATOR_FRAME_UI_BASE::m_splitterPlotAndConsoleOnIdle ), NULL, this );
95 }
96
97 void m_splitterSignalsOnIdle( wxIdleEvent& )
98 {
99 m_splitterSignals->SetSashPosition( 0 );
100 m_splitterSignals->Disconnect( wxEVT_IDLE, wxIdleEventHandler( SIMULATOR_FRAME_UI_BASE::m_splitterSignalsOnIdle ), NULL, this );
101 }
102
103 void m_splitterCursorsOnIdle( wxIdleEvent& )
104 {
105 m_splitterCursors->SetSashPosition( 0 );
106 m_splitterCursors->Disconnect( wxEVT_IDLE, wxIdleEventHandler( SIMULATOR_FRAME_UI_BASE::m_splitterCursorsOnIdle ), NULL, this );
107 }
108
109 void m_splitterMeasurementsOnIdle( wxIdleEvent& )
110 {
111 m_splitterMeasurements->SetSashPosition( 0 );
112 m_splitterMeasurements->Disconnect( wxEVT_IDLE, wxIdleEventHandler( SIMULATOR_FRAME_UI_BASE::m_splitterMeasurementsOnIdle ), NULL, this );
113 }
114
115};
116
const char * name
Definition: DXF_plotter.cpp:59
Class SIMULATOR_FRAME_UI_BASE.
virtual void onPlotDragged(wxAuiNotebookEvent &event)
virtual void onPlotClosed(wxAuiNotebookEvent &event)
virtual void onPlotChanging(wxAuiNotebookEvent &event)
wxSplitterWindow * m_splitterLeftRight
virtual void onPlotClose(wxAuiNotebookEvent &event)
wxSplitterWindow * m_splitterMeasurements
void m_splitterLeftRightOnIdle(wxIdleEvent &)
virtual void OnFilterText(wxCommandEvent &event)
void m_splitterMeasurementsOnIdle(wxIdleEvent &)
wxSplitterWindow * m_splitterCursors
virtual void OnUpdateUI(wxUpdateUIEvent &event)
virtual void onMeasurementsGridCellChanged(wxGridEvent &event)
virtual void onPlotChanged(wxAuiNotebookEvent &event)
virtual void onCursorsGridCellChanged(wxGridEvent &event)
void m_splitterPlotAndConsoleOnIdle(wxIdleEvent &)
void m_splitterCursorsOnIdle(wxIdleEvent &)
virtual void onSignalsGridCellChanged(wxGridEvent &event)
wxSplitterWindow * m_splitterPlotAndConsole
void m_splitterSignalsOnIdle(wxIdleEvent &)
wxSplitterWindow * m_splitterSignals
virtual void OnFilterMouseMoved(wxMouseEvent &event)