KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_import_symbol_select_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6a-dirty)
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/srchctrl.h>
16#include <wx/gdicmn.h>
17#include <wx/font.h>
18#include <wx/colour.h>
19#include <wx/settings.h>
20#include <wx/dataview.h>
21#include <wx/button.h>
22#include <wx/bitmap.h>
23#include <wx/image.h>
24#include <wx/icon.h>
25#include <wx/sizer.h>
26#include <wx/stattext.h>
27#include <wx/choice.h>
28#include <wx/panel.h>
29#include <wx/dialog.h>
30
32
37{
38 private:
39
40 protected:
41 wxSearchCtrl* m_searchCtrl;
42 wxDataViewListCtrl* m_symbolList;
45 wxStaticText* m_unitLabel;
46 wxChoice* m_unitChoice;
48 wxBoxSizer* m_previewSizer;
49 wxStaticText* m_statusLine;
50 wxStdDialogButtonSizer* m_sdbSizer;
51 wxButton* m_sdbSizerOK;
53
54 // Virtual event handlers, override them in your derived class
55 virtual void OnFilterTextChanged( wxCommandEvent& event ) { event.Skip(); }
56 virtual void OnSymbolSelected( wxDataViewEvent& event ) { event.Skip(); }
57 virtual void OnSelectAll( wxCommandEvent& event ) { event.Skip(); }
58 virtual void OnSelectNone( wxCommandEvent& event ) { event.Skip(); }
59 virtual void OnUnitChanged( wxCommandEvent& event ) { event.Skip(); }
60
61
62 public:
63
64 DIALOG_IMPORT_SYMBOL_SELECT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Import Symbols from %s"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 900,650 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
65
67
68};
69
DIALOG_IMPORT_SYMBOL_SELECT_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Import Symbols from %s"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(900, 650), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnSymbolSelected(wxDataViewEvent &event)
virtual void OnSelectAll(wxCommandEvent &event)
virtual void OnSelectNone(wxCommandEvent &event)
virtual void OnFilterTextChanged(wxCommandEvent &event)
virtual void OnUnitChanged(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)
#define _(s)