KiCad PCB EDA Suite
dlg_select_3dmodel_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Jul 10 2019)
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/dirctrl.h>
16 #include <wx/gdicmn.h>
17 #include <wx/font.h>
18 #include <wx/colour.h>
19 #include <wx/settings.h>
20 #include <wx/sizer.h>
21 #include <wx/panel.h>
22 #include <wx/splitter.h>
23 #include <wx/stattext.h>
24 #include <wx/choice.h>
25 #include <wx/bitmap.h>
26 #include <wx/image.h>
27 #include <wx/icon.h>
28 #include <wx/button.h>
29 #include <wx/dialog.h>
30 
32 
33 
38 {
39  private:
40 
41  protected:
42  wxSplitterWindow* m_splitterWin;
43  wxPanel* m_panelLeft;
44  wxGenericDirCtrl* m_FileTree;
45  wxPanel* m_pane3Dviewer;
46  wxBoxSizer* m_Sizer3Dviewer;
47  wxStaticText* m_stDirChoice;
48  wxChoice* m_dirChoices;
49  wxButton* m_cfgPathsButt;
50  wxStdDialogButtonSizer* m_sdbSizer;
51  wxButton* m_sdbSizerOK;
52  wxButton* m_sdbSizerCancel;
53 
54  // Virtual event handlers, overide them in your derived class
55  virtual void OnFileActivated( wxCommandEvent& event ) { event.Skip(); }
56  virtual void OnSelectionChanged( wxCommandEvent& event ) { event.Skip(); }
57  virtual void SetRootDir( wxCommandEvent& event ) { event.Skip(); }
58  virtual void Cfg3DPaths( wxCommandEvent& event ) { event.Skip(); }
59 
60 
61  public:
62 
63  DLG_SELECT_3D_MODELE_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Select 3D Model"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 468,347 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
65 
66  void m_splitterWinOnIdle( wxIdleEvent& )
67  {
68  m_splitterWin->SetSashPosition( 340 );
69  m_splitterWin->Disconnect( wxEVT_IDLE, wxIdleEventHandler( DLG_SELECT_3D_MODELE_BASE::m_splitterWinOnIdle ), NULL, this );
70  }
71 
72 };
73 
DLG_SELECT_3D_MODELE_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Select 3D Model"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(468, 347), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void SetRootDir(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
virtual void Cfg3DPaths(wxCommandEvent &event)
#define NULL
void m_splitterWinOnIdle(wxIdleEvent &)
wxStdDialogButtonSizer * m_sdbSizer
#define _(s)
Definition: 3d_actions.cpp:33
virtual void OnFileActivated(wxCommandEvent &event)
virtual void OnSelectionChanged(wxCommandEvent &event)
Class DLG_SELECT_3D_MODELE_BASE.