KiCad PCB EDA Suite
eda_list_dialog_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Oct 26 2018)
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>
13 #include "dialog_shim.h"
14 #include <wx/string.h>
15 #include <wx/stattext.h>
16 #include <wx/gdicmn.h>
17 #include <wx/font.h>
18 #include <wx/colour.h>
19 #include <wx/settings.h>
20 #include <wx/listctrl.h>
21 #include <wx/textctrl.h>
22 #include <wx/sizer.h>
23 #include <wx/button.h>
24 #include <wx/dialog.h>
25 
27 
28 
33 {
34  private:
35 
36  protected:
37  wxStaticText* m_listLabel;
38  wxListCtrl* m_listBox;
39  wxTextCtrl* m_filterBox;
40  wxStdDialogButtonSizer* m_sdbSizer;
41  wxButton* m_sdbSizerOK;
42  wxButton* m_sdbSizerCancel;
43 
44  // Virtual event handlers, overide them in your derived class
45  virtual void onListItemActivated( wxListEvent& event ) = 0;
46  virtual void textChangeInFilterBox( wxCommandEvent& event ) = 0;
47 
48 
49  public:
50 
51  EDA_LIST_DIALOG_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
53 
54 };
55 
virtual void onListItemActivated(wxListEvent &event)=0
wxStdDialogButtonSizer * m_sdbSizer
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
virtual void textChangeInFilterBox(wxCommandEvent &event)=0
EDA_LIST_DIALOG_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Class EDA_LIST_DIALOG_BASE.