KiCad PCB EDA Suite
Loading...
Searching...
No Matches
appearance_controls_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
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 BITMAP_BUTTON;
14class WX_GRID;
15
16#include "widgets/wx_panel.h"
17#include <wx/scrolwin.h>
18#include <wx/gdicmn.h>
19#include <wx/font.h>
20#include <wx/colour.h>
21#include <wx/settings.h>
22#include <wx/string.h>
23#include <wx/sizer.h>
24#include <wx/panel.h>
25#include <wx/bitmap.h>
26#include <wx/image.h>
27#include <wx/icon.h>
28#include <wx/stattext.h>
29#include <wx/textctrl.h>
30#include <wx/grid.h>
31#include <wx/splitter.h>
32#include <wx/notebook.h>
33#include <wx/choice.h>
34
36
37
42{
43 private:
44
45 protected:
46 wxBoxSizer* m_sizerOuter;
47 wxNotebook* m_notebook;
48 wxPanel* m_panelLayers;
49 wxBoxSizer* m_panelLayersSizer;
50 wxScrolledCanvas* m_windowLayers;
53 wxScrolledCanvas* m_windowObjects;
56 wxSplitterWindow* m_netsTabSplitter;
57 wxPanel* m_panelNets;
58 wxStaticText* m_staticTextNets;
59 wxTextCtrl* m_txtNetFilter;
65 wxScrolledWindow* m_netclassScrolledWindow;
67 wxStaticText* m_presetsLabel;
69 wxStaticText* m_viewportsLabel;
70 wxChoice* m_cbViewports;
71
72 // Virtual event handlers, override them in your derived class
73 virtual void OnSetFocus( wxFocusEvent& event ) { event.Skip(); }
74 virtual void OnSize( wxSizeEvent& event ) { event.Skip(); }
75 virtual void OnNotebookPageChanged( wxNotebookEvent& event ) { event.Skip(); }
76 virtual void OnNetGridClick( wxGridEvent& event ) { event.Skip(); }
77 virtual void OnNetGridDoubleClick( wxGridEvent& event ) { event.Skip(); }
78 virtual void OnNetGridRightClick( wxGridEvent& event ) { event.Skip(); }
79 virtual void onLayerPresetChanged( wxCommandEvent& event ) { event.Skip(); }
80 virtual void onViewportChanged( wxCommandEvent& event ) { event.Skip(); }
81
82
83 public:
84
85 APPEARANCE_CONTROLS_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 );
86
88
89 void m_netsTabSplitterOnIdle( wxIdleEvent& )
90 {
91 m_netsTabSplitter->SetSashPosition( 300 );
92 m_netsTabSplitter->Disconnect( wxEVT_IDLE, wxIdleEventHandler( APPEARANCE_CONTROLS_BASE::m_netsTabSplitterOnIdle ), NULL, this );
93 }
94
95};
96
const char * name
Definition: DXF_plotter.cpp:57
Class APPEARANCE_CONTROLS_BASE.
virtual void onLayerPresetChanged(wxCommandEvent &event)
virtual void OnNotebookPageChanged(wxNotebookEvent &event)
virtual void OnNetGridDoubleClick(wxGridEvent &event)
virtual void onViewportChanged(wxCommandEvent &event)
virtual void OnNetGridClick(wxGridEvent &event)
virtual void OnNetGridRightClick(wxGridEvent &event)
wxSplitterWindow * m_netsTabSplitter
virtual void OnSetFocus(wxFocusEvent &event)
void m_netsTabSplitterOnIdle(wxIdleEvent &)
wxScrolledWindow * m_netclassScrolledWindow
virtual void OnSize(wxSizeEvent &event)
A bitmap button widget that behaves like an AUI toolbar item's button when it is drawn.
Definition: bitmap_button.h:42