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 3.10.1-0-g8feb16b)
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/dialog.h>
30
32
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 wxStdDialogButtonSizer* m_sdbSizer;
51 wxButton* m_sdbSizerOK;
53
54 // Virtual event handlers, override 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 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 );
64
66
67 void m_splitterWinOnIdle( wxIdleEvent& )
68 {
69 m_splitterWin->SetSashPosition( 300 );
70 m_splitterWin->Disconnect( wxEVT_IDLE, wxIdleEventHandler( DIALOG_SELECT_3D_MODEL_BASE::m_splitterWinOnIdle ), NULL, this );
71 }
72
73};
74
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:84
#define _(s)