KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_create_net_chain_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>
14class WX_GRID;
15
16#include "dialog_shim.h"
17#include <wx/string.h>
18#include <wx/stattext.h>
19#include <wx/gdicmn.h>
20#include <wx/font.h>
21#include <wx/colour.h>
22#include <wx/settings.h>
23#include <wx/textctrl.h>
24#include <wx/grid.h>
25#include <wx/sizer.h>
26#include <wx/panel.h>
27#include <wx/listbox.h>
28#include <wx/splitter.h>
29#include <wx/statline.h>
30#include <wx/combobox.h>
31#include <wx/bmpbuttn.h>
32#include <wx/bitmap.h>
33#include <wx/image.h>
34#include <wx/icon.h>
35#include <wx/button.h>
36#include <wx/dialog.h>
37
39
44{
45 private:
46
47 protected:
48 wxStaticText* m_headerLabel;
49 wxSplitterWindow* m_splitter;
50 wxPanel* m_gridPanel;
51 wxTextCtrl* m_filterInput;
54 wxStaticText* m_membersLabel;
55 wxListBox* m_membersListBox;
56 wxStaticLine* m_separator;
57 wxStaticText* m_manualLabel;
58 wxStaticText* m_fromLabel;
59 wxComboBox* m_fromComponent;
60 wxStaticText* m_toLabel;
61 wxComboBox* m_toComponent;
63 wxStaticText* m_nameLabel;
64 wxTextCtrl* m_nameInput;
66 wxStdDialogButtonSizer* m_sdbSizer;
67 wxButton* m_sdbSizerOK;
69
70 // Virtual event handlers, override them in your derived class
71 virtual void OnFilterChanged( wxCommandEvent& event ) { event.Skip(); }
72 virtual void OnChainSelected( wxGridEvent& event ) { event.Skip(); }
73 virtual void OnFindPathClicked( wxCommandEvent& event ) { event.Skip(); }
74 virtual void OnRefreshClicked( wxCommandEvent& event ) { event.Skip(); }
75
76
77 public:
78
79 DIALOG_CREATE_NET_CHAIN_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Create Net Chain"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
80
82
83 void m_splitterOnIdle( wxIdleEvent& )
84 {
85 m_splitter->SetSashPosition( -100 );
86 m_splitter->Disconnect( wxEVT_IDLE, wxIdleEventHandler( DIALOG_CREATE_NET_CHAIN_BASE::m_splitterOnIdle ), NULL, this );
87 }
88
89};
90
virtual void OnChainSelected(wxGridEvent &event)
virtual void OnRefreshClicked(wxCommandEvent &event)
virtual void OnFilterChanged(wxCommandEvent &event)
DIALOG_CREATE_NET_CHAIN_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Create Net Chain"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnFindPathClicked(wxCommandEvent &event)
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
A bitmap button widget that behaves like a standard dialog button except with an icon.
#define _(s)