KiCad PCB EDA Suite
dialog_list_selector_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Dec 30 2017)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
8 #ifndef __DIALOG_LIST_SELECTOR_BASE_H__
9 #define __DIALOG_LIST_SELECTOR_BASE_H__
10 
11 #include <wx/artprov.h>
12 #include <wx/xrc/xmlres.h>
13 #include <wx/intl.h>
14 #include "dialog_shim.h"
15 #include <wx/string.h>
16 #include <wx/stattext.h>
17 #include <wx/gdicmn.h>
18 #include <wx/font.h>
19 #include <wx/colour.h>
20 #include <wx/settings.h>
21 #include <wx/textctrl.h>
22 #include <wx/listctrl.h>
23 #include <wx/sizer.h>
24 #include <wx/button.h>
25 #include <wx/dialog.h>
26 
28 
29 
34 {
35  private:
36 
37  protected:
38  wxStaticText* m_filterLabel;
39  wxTextCtrl* m_filterBox;
40  wxStaticText* m_listLabel;
41  wxListCtrl* m_listBox;
42  wxStaticText* m_staticTextMsg;
43  wxTextCtrl* m_messages;
44  wxStdDialogButtonSizer* m_sdbSizer;
45  wxButton* m_sdbSizerOK;
46  wxButton* m_sdbSizerCancel;
47 
48  // Virtual event handlers, overide them in your derived class
49  virtual void onClose( wxCloseEvent& event ) = 0;
50  virtual void textChangeInFilterBox( wxCommandEvent& event ) = 0;
51  virtual void onListItemActivated( wxListEvent& event ) = 0;
52  virtual void onListItemSelected( wxListEvent& event ) = 0;
53  virtual void onCancelClick( wxCommandEvent& event ) = 0;
54  virtual void onOkClick( wxCommandEvent& event ) = 0;
55 
56 
57  public:
58 
59  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 );
61 
62 };
63 
64 #endif //__DIALOG_LIST_SELECTOR_BASE_H__
virtual void onListItemActivated(wxListEvent &event)=0
wxStdDialogButtonSizer * m_sdbSizer
virtual void onOkClick(wxCommandEvent &event)=0
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:70
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.
virtual void onCancelClick(wxCommandEvent &event)=0
virtual void onClose(wxCloseEvent &event)=0
virtual void onListItemSelected(wxListEvent &event)=0