KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_select_3d_model_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf0)
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/button.h>
26#include <wx/bitmap.h>
27#include <wx/image.h>
28#include <wx/icon.h>
29#include <wx/checkbox.h>
30#include <wx/dialog.h>
31
33
34
39{
40 private:
41
42 protected:
43 wxSplitterWindow* m_splitterWin;
44 wxPanel* m_panelLeft;
45 wxGenericDirCtrl* m_FileTree;
47 wxBoxSizer* m_Sizer3Dviewer;
48 wxStaticText* m_stDirChoice;
49 wxChoice* m_dirChoices;
50 wxButton* m_cfgPathsButt;
51 wxCheckBox* m_EmbedModelCb;
52 wxStdDialogButtonSizer* m_sdbSizer;
53 wxButton* m_sdbSizerOK;
55
56 // Virtual event handlers, override them in your derived class
57 virtual void OnFileActivated( wxCommandEvent& event ) { event.Skip(); }
58 virtual void OnSelectionChanged( wxCommandEvent& event ) { event.Skip(); }
59 virtual void SetRootDir( wxCommandEvent& event ) { event.Skip(); }
60 virtual void Cfg3DPaths( wxCommandEvent& event ) { event.Skip(); }
61
62
63 public:
64
65 DIALOG_SELECT_3D_MODEL_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Select 3D Model"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
66
68
69 void m_splitterWinOnIdle( wxIdleEvent& )
70 {
71 m_splitterWin->SetSashPosition( 300 );
72 m_splitterWin->Disconnect( wxEVT_IDLE, wxIdleEventHandler( DIALOG_SELECT_3D_MODEL_BASE::m_splitterWinOnIdle ), NULL, this );
73 }
74
75};
76
Class DIALOG_SELECT_3D_MODEL_BASE.
virtual void OnFileActivated(wxCommandEvent &event)
virtual void SetRootDir(wxCommandEvent &event)
virtual void Cfg3DPaths(wxCommandEvent &event)
virtual void OnSelectionChanged(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
#define _(s)