KiCad PCB EDA Suite
dialog_list_selector_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Jun 5 2014)
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 class DIALOG_SHIM;
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/listctrl.h>
25 #include <wx/sizer.h>
26 #include <wx/button.h>
27 #include <wx/dialog.h>
28 
30 
31 
36 {
37  private:
38 
39  protected:
40  wxStaticText* m_filterLabel;
41  wxTextCtrl* m_filterBox;
42  wxStaticText* m_staticText2;
43  wxListCtrl* m_listBox;
44  wxStaticText* m_staticTextMsg;
45  wxTextCtrl* m_messages;
46  wxStdDialogButtonSizer* m_sdbSizer;
47  wxButton* m_sdbSizerOK;
48  wxButton* m_sdbSizerCancel;
49 
50  // Virtual event handlers, overide them in your derived class
51  virtual void onClose( wxCloseEvent& event ) = 0;
52  virtual void textChangeInFilterBox( wxCommandEvent& event ) = 0;
53  virtual void onListItemActivated( wxListEvent& event ) = 0;
54  virtual void onListItemSelected( wxListEvent& event ) = 0;
55  virtual void onCancelClick( wxCommandEvent& event ) = 0;
56  virtual void onOkClick( wxCommandEvent& event ) = 0;
57 
58 
59  public:
60 
61  EDA_LIST_DIALOG_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 400,400 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
63 
64 };
65 
66 #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:60
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=wxSize(400, 400), 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