KiCad PCB EDA Suite
dialog_lib_edit_text_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 "dialog_shim.h"
14 #include <wx/string.h>
15 #include <wx/stattext.h>
16 #include <wx/gdicmn.h>
17 #include <wx/font.h>
18 #include <wx/colour.h>
19 #include <wx/settings.h>
20 #include <wx/textctrl.h>
21 #include <wx/stc/stc.h>
22 #include <wx/bmpbuttn.h>
23 #include <wx/bitmap.h>
24 #include <wx/image.h>
25 #include <wx/icon.h>
26 #include <wx/button.h>
27 #include <wx/sizer.h>
28 #include <wx/checkbox.h>
29 #include <wx/choice.h>
30 #include <wx/statline.h>
31 #include <wx/dialog.h>
32 
34 
39 {
40  private:
41 
42  protected:
43  wxStaticText* m_textLabel;
44  wxTextCtrl* m_TextCtrl;
45  wxStyledTextCtrl* m_StyledTextCtrl;
46  wxStaticText* m_PowerComponentValues;
47  wxBitmapButton* m_TextValueSelectButton;
48  wxCheckBox* m_visible;
49  wxStaticText* m_xPosLabel;
50  wxTextCtrl* m_xPosCtrl;
51  wxStaticText* m_xPosUnits;
52  wxCheckBox* m_italic;
53  wxStaticText* m_orientLabel;
54  wxChoice* m_orientChoice;
55  wxStaticText* m_yPosLabel;
56  wxTextCtrl* m_yPosCtrl;
57  wxStaticText* m_yPosUnits;
58  wxCheckBox* m_bold;
59  wxStaticText* m_hAlignLabel;
60  wxChoice* m_hAlignChoice;
61  wxStaticText* m_textSizeLabel;
62  wxTextCtrl* m_textSizeCtrl;
63  wxStaticText* m_textSizeUnits;
64  wxStaticText* m_vAlignLabel;
65  wxChoice* m_vAlignChoice;
66  wxCheckBox* m_CommonUnit;
67  wxCheckBox* m_CommonConvert;
68  wxStaticLine* m_staticline2;
69  wxStdDialogButtonSizer* m_sdbSizerButtons;
72 
73  // Virtual event handlers, overide them in your derived class
74  virtual void OnCloseDialog( wxCloseEvent& event ) { event.Skip(); }
75  virtual void OnSetFocusText( wxFocusEvent& event ) { event.Skip(); }
76  virtual void OnTextValueSelectButtonClick( wxCommandEvent& event ) { event.Skip(); }
77 
78 
79  public:
80 
81  DIALOG_LIB_EDIT_TEXT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Text Item Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
83 
84 };
85 
virtual void OnSetFocusText(wxFocusEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
virtual void OnTextValueSelectButtonClick(wxCommandEvent &event)
virtual void OnCloseDialog(wxCloseEvent &event)
wxStdDialogButtonSizer * m_sdbSizerButtons
Class DIALOG_LIB_EDIT_TEXT_BASE.
#define _(s)
Definition: 3d_actions.cpp:33
DIALOG_LIB_EDIT_TEXT_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Text Item Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)