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.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/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
38{
39 private:
40
41 protected:
42 wxSplitterWindow* m_splitterWin;
43 wxPanel* m_panelLeft;
44 wxGenericDirCtrl* m_FileTree;
46 wxBoxSizer* m_Sizer3Dviewer;
47 wxStaticText* m_stDirChoice;
48 wxChoice* m_dirChoices;
49 wxButton* m_cfgPathsButt;
50 wxCheckBox* m_EmbedModelCb;
51 wxStdDialogButtonSizer* m_sdbSizer;
52 wxButton* m_sdbSizerOK;
54
55 // Virtual event handlers, override them in your derived class
56 virtual void OnFileActivated( wxCommandEvent& event ) { event.Skip(); }
57 virtual void OnSelectionChanged( wxCommandEvent& event ) { event.Skip(); }
58 virtual void SetRootDir( wxCommandEvent& event ) { event.Skip(); }
59 virtual void Cfg3DPaths( wxCommandEvent& event ) { event.Skip(); }
60
61
62 public:
63
64 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 );
65
67
68 void m_splitterWinOnIdle( wxIdleEvent& )
69 {
70 m_splitterWin->SetSashPosition( 300 );
71 m_splitterWin->Disconnect( wxEVT_IDLE, wxIdleEventHandler( DIALOG_SELECT_3D_MODEL_BASE::m_splitterWinOnIdle ), NULL, this );
72 }
73
74};
75
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)