KiCad PCB EDA Suite
Loading...
Searching...
No Matches
eda_list_dialog_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>
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
26#include "kicommon.h"
27
29
34{
35 private:
36
37 protected:
38 wxStaticText* m_listLabel;
39 wxListCtrl* m_listBox;
40 wxTextCtrl* m_filterBox;
41 wxStdDialogButtonSizer* m_sdbSizer;
42 wxButton* m_sdbSizerOK;
44
45 // Virtual event handlers, override them in your derived class
46 virtual void onSize( wxSizeEvent& event ) = 0;
47 virtual void onListItemActivated( wxListEvent& event ) = 0;
48 virtual void textChangeInFilterBox( wxCommandEvent& event ) = 0;
49
50
51 public:
52 wxBoxSizer* m_ExtrasSizer;
53 wxBoxSizer* m_ButtonsSizer;
54
55 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 );
56
58
59};
60
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)
virtual void onListItemActivated(wxListEvent &event)=0
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)
virtual void onSize(wxSizeEvent &event)=0
wxStdDialogButtonSizer * m_sdbSizer
#define KICOMMON_API
Definition kicommon.h:27