KiCad PCB EDA Suite
bitmap2cmp_gui_base.h
Go to the documentation of this file.
1
2// 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;
75 wxRadioBox* m_rbOutputFormat;
76 wxStaticText* m_ThresholdText;
78 wxCheckBox* m_checkNegative;
79 wxRadioBox* m_rbPCBLayer;
80 wxStatusBar* m_statusBar;
81
82 // Virtual event handlers, override 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
Class BM2CMP_FRAME_BASE.
wxStaticText * m_DPIUnit
wxStaticText * m_InputYValueDPI
wxStaticText * m_textLock
virtual void OnPaintGreyscale(wxPaintEvent &event)
wxSlider * m_sliderThreshold
virtual void OnPaintInit(wxPaintEvent &event)
wxButton * m_buttonExportFile
wxStaticText * m_staticTextOSize
wxTextCtrl * m_UnitSizeX
virtual void OnFormatChange(wxCommandEvent &event)
virtual void OnThresholdChange(wxScrollEvent &event)
wxBitmapButton * m_AspectRatioLockButton
wxStaticText * m_SizeXValue
virtual void OnLoadFile(wxCommandEvent &event)
wxStaticText * m_BPPunits
wxStaticText * m_ThresholdText
virtual void OnSizeChangeY(wxCommandEvent &event)
virtual void OnExportToFile(wxCommandEvent &event)
wxStaticText * m_SizePixUnits
wxStaticText * m_BPPValue
virtual void OnSizeChangeX(wxCommandEvent &event)
wxStaticText * m_staticTextDPI
wxStaticText * m_InputXValueDPI
wxScrolledWindow * m_GreyscalePicturePanel
virtual void OnNegativeClicked(wxCommandEvent &event)
wxCheckBox * m_checkNegative
wxStaticText * m_staticTextBPP
virtual void OnPaintBW(wxPaintEvent &event)
virtual void ToggleAspectRatioLock(wxCommandEvent &event)
wxScrolledWindow * m_InitialPicturePanel
wxScrolledWindow * m_BNPicturePanel
wxButton * m_buttonExportClipboard
wxRadioBox * m_rbPCBLayer
wxStaticText * m_staticTextISize
wxTextCtrl * m_UnitSizeY
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)
virtual void OnExportToClipboard(wxCommandEvent &event)
virtual void OnSizeUnitChange(wxCommandEvent &event)
wxRadioBox * m_rbOutputFormat
wxStaticText * m_SizeYValue
wxStatusBar * m_statusBar
A wxFrame capable of the OpenProjectFiles function, meaning it can load a portion of a KiCad project.
Definition: kiway_player.h:66
#define _(s)