KiCad PCB EDA Suite
dialog_text_and_label_properties_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version 3.10.0-39-g3487c3cb)
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/combobox.h>
23 #include <wx/hyperlink.h>
24 #include <wx/sizer.h>
25 #include <wx/radiobox.h>
26 #include <wx/button.h>
27 #include <wx/dialog.h>
28 
30 
35 {
36  private:
37 
38  protected:
39  enum
40  {
43  };
44 
45  wxFlexGridSizer* m_textEntrySizer;
46  wxStaticText* m_labelSingleLine;
47  wxTextCtrl* m_valueSingleLine;
48  wxStaticText* m_labelMultiLine;
49  wxStyledTextCtrl* m_valueMultiLine;
50  wxStaticText* m_labelCombo;
51  wxComboBox* m_valueCombo;
52  wxStaticText* m_textSizeLabel;
53  wxTextCtrl* m_textSizeCtrl;
54  wxStaticText* m_textSizeUnits;
55  wxHyperlinkCtrl* m_formattingHelp;
56  wxStaticText* m_note1;
57  wxStaticText* m_note2;
58  wxRadioBox* m_TextOrient;
59  wxRadioBox* m_TextStyle;
60  wxRadioBox* m_TextShape;
61  wxStdDialogButtonSizer* m_sdbSizer1;
62  wxButton* m_sdbSizer1OK;
63  wxButton* m_sdbSizer1Cancel;
64 
65  // Virtual event handlers, override them in your derived class
66  virtual void OnEnterKey( wxCommandEvent& event ) { event.Skip(); }
67  virtual void onMultiLineTCLostFocus( wxFocusEvent& event ) { event.Skip(); }
68  virtual void OnFormattingHelp( wxHyperlinkEvent& event ) { event.Skip(); }
69 
70 
71  public:
72 
73  DIALOG_TEXT_AND_LABEL_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Text Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
74 
76 
77 };
78 
Class DIALOG_TEXT_AND_LABEL_PROPERTIES_BASE.
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:82
#define _(s)
DIALOG_TEXT_AND_LABEL_PROPERTIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Text Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnFormattingHelp(wxHyperlinkEvent &event)