KiCad PCB EDA Suite
bitmap2cmp_gui_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Oct 26 2018)
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 "kiway_player.h"
14 #include <wx/scrolwin.h>
15 #include <wx/gdicmn.h>
16 #include <wx/font.h>
17 #include <wx/colour.h>
18 #include <wx/settings.h>
19 #include <wx/string.h>
20 #include <wx/bitmap.h>
21 #include <wx/image.h>
22 #include <wx/icon.h>
23 #include <wx/notebook.h>
24 #include <wx/stattext.h>
25 #include <wx/sizer.h>
26 #include <wx/statbox.h>
27 #include <wx/bmpbuttn.h>
28 #include <wx/button.h>
29 #include <wx/textctrl.h>
30 #include <wx/valtext.h>
31 #include <wx/choice.h>
32 #include <wx/radiobox.h>
33 #include <wx/slider.h>
34 #include <wx/checkbox.h>
35 #include <wx/panel.h>
36 #include <wx/statusbr.h>
37 #include <wx/frame.h>
38 
40 
41 
46 {
47  private:
48 
49  protected:
50  wxNotebook* m_Notebook;
51  wxScrolledWindow* m_InitialPicturePanel;
52  wxScrolledWindow* m_GreyscalePicturePanel;
53  wxScrolledWindow* m_BNPicturePanel;
54  wxPanel* m_panelRight;
55  wxStaticText* m_staticTextISize;
56  wxStaticText* m_SizeXValue;
57  wxStaticText* m_SizeYValue;
58  wxStaticText* m_SizePixUnits;
59  wxStaticText* m_staticTextDPI;
60  wxStaticText* m_InputXValueDPI;
61  wxStaticText* m_InputYValueDPI;
62  wxStaticText* m_DPIUnit;
63  wxStaticText* m_staticTextBPP;
64  wxStaticText* m_BPPValue;
65  wxStaticText* m_BPPunits;
66  wxStaticText* m_textLock;
67  wxBitmapButton* m_AspectRatioLockButton;
68  wxStaticText* m_staticTextOSize;
69  wxTextCtrl* m_UnitSizeX;
70  wxTextCtrl* m_UnitSizeY;
71  wxChoice* m_PixelUnit;
72  wxButton* m_buttonLoad;
73  wxButton* m_buttonExportFile;
75  wxRadioBox* m_rbOutputFormat;
76  wxStaticText* m_ThresholdText;
77  wxSlider* m_sliderThreshold;
78  wxCheckBox* m_checkNegative;
79  wxRadioBox* m_rbPCBLayer;
80  wxStatusBar* m_statusBar;
81 
82  // Virtual event handlers, overide them in your derived class
83  virtual void OnPaintInit( wxPaintEvent& event ) { event.Skip(); }
84  virtual void OnPaintGreyscale( wxPaintEvent& event ) { event.Skip(); }
85  virtual void OnPaintBW( wxPaintEvent& event ) { event.Skip(); }
86  virtual void ToggleAspectRatioLock( wxCommandEvent& event ) { event.Skip(); }
87  virtual void OnSizeChangeX( wxCommandEvent& event ) { event.Skip(); }
88  virtual void OnSizeChangeY( wxCommandEvent& event ) { event.Skip(); }
89  virtual void OnSizeUnitChange( wxCommandEvent& event ) { event.Skip(); }
90  virtual void OnLoadFile( wxCommandEvent& event ) { event.Skip(); }
91  virtual void OnExportToFile( wxCommandEvent& event ) { event.Skip(); }
92  virtual void OnExportToClipboard( wxCommandEvent& event ) { event.Skip(); }
93  virtual void OnFormatChange( wxCommandEvent& event ) { event.Skip(); }
94  virtual void OnThresholdChange( wxScrollEvent& event ) { event.Skip(); }
95  virtual void OnNegativeClicked( wxCommandEvent& event ) { event.Skip(); }
96 
97 
98  public:
99 
100  BM2CMP_FRAME_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Bitmap to Component Converter"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL );
101 
103 
104 };
105 
virtual void OnSizeChangeX(wxCommandEvent &event)
wxStaticText * m_DPIUnit
A wxFrame capable of the OpenProjectFiles function, meaning it can load a portion of a KiCad project.
Definition: kiway_player.h:61
wxTextCtrl * m_UnitSizeY
wxStaticText * m_staticTextOSize
wxStaticText * m_BPPValue
Class BM2CMP_FRAME_BASE.
wxStaticText * m_staticTextBPP
virtual void OnLoadFile(wxCommandEvent &event)
wxStaticText * m_SizePixUnits
wxRadioBox * m_rbPCBLayer
virtual void OnFormatChange(wxCommandEvent &event)
wxButton * m_buttonExportClipboard
virtual void OnExportToFile(wxCommandEvent &event)
virtual void ToggleAspectRatioLock(wxCommandEvent &event)
wxStaticText * m_textLock
BM2CMP_FRAME_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Bitmap to Component Converter"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL)
wxStaticText * m_InputXValueDPI
wxTextCtrl * m_UnitSizeX
wxStatusBar * m_statusBar
wxStaticText * m_SizeXValue
virtual void OnPaintGreyscale(wxPaintEvent &event)
virtual void OnSizeUnitChange(wxCommandEvent &event)
virtual void OnPaintBW(wxPaintEvent &event)
virtual void OnThresholdChange(wxScrollEvent &event)
virtual void OnSizeChangeY(wxCommandEvent &event)
wxSlider * m_sliderThreshold
wxCheckBox * m_checkNegative
wxRadioBox * m_rbOutputFormat
wxStaticText * m_InputYValueDPI
wxButton * m_buttonExportFile
virtual void OnPaintInit(wxPaintEvent &event)
wxStaticText * m_ThresholdText
wxBitmapButton * m_AspectRatioLockButton
#define _(s)
Definition: 3d_actions.cpp:33
wxScrolledWindow * m_GreyscalePicturePanel
wxScrolledWindow * m_InitialPicturePanel
wxStaticText * m_staticTextDPI
virtual void OnNegativeClicked(wxCommandEvent &event)
wxStaticText * m_BPPunits
wxStaticText * m_SizeYValue
wxScrolledWindow * m_BNPicturePanel
wxStaticText * m_staticTextISize
virtual void OnExportToClipboard(wxCommandEvent &event)