KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcbnew/dialogs/dialog_text_properties_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
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>
13class BITMAP_BUTTON;
14class FONT_CHOICE;
16
17#include "dialog_shim.h"
18#include <wx/string.h>
19#include <wx/stattext.h>
20#include <wx/gdicmn.h>
21#include <wx/font.h>
22#include <wx/colour.h>
23#include <wx/settings.h>
24#include <wx/stc/stc.h>
25#include <wx/sizer.h>
26#include <wx/textctrl.h>
27#include <wx/checkbox.h>
28#include <wx/bmpcbox.h>
29#include <wx/choice.h>
30#include <wx/bmpbuttn.h>
31#include <wx/bitmap.h>
32#include <wx/image.h>
33#include <wx/icon.h>
34#include <wx/button.h>
35#include <wx/combobox.h>
36#include <wx/gbsizer.h>
37#include <wx/dialog.h>
38
40
45{
46 private:
47
48 protected:
49 wxBoxSizer* m_MultiLineSizer;
50 wxStyledTextCtrl* m_MultiLineText;
51 wxBoxSizer* m_SingleLineSizer;
52 wxStaticText* m_TextLabel;
53 wxTextCtrl* m_SingleLineText;
54 wxCheckBox* m_cbLocked;
55 wxCheckBox* m_Visible;
56 wxStaticText* m_LayerLabel;
58 wxCheckBox* m_cbKnockout;
59 wxCheckBox* m_KeepUpright;
60 wxStaticText* m_fontLabel;
74 wxStaticText* m_SizeXLabel;
75 wxTextCtrl* m_SizeXCtrl;
76 wxStaticText* m_SizeXUnits;
77 wxStaticText* m_SizeYLabel;
78 wxTextCtrl* m_SizeYCtrl;
79 wxStaticText* m_SizeYUnits;
80 wxStaticText* m_ThicknessLabel;
81 wxTextCtrl* m_ThicknessCtrl;
82 wxStaticText* m_ThicknessUnits;
83 wxStaticText* m_PositionXLabel;
84 wxTextCtrl* m_PositionXCtrl;
85 wxStaticText* m_PositionXUnits;
86 wxStaticText* m_PositionYLabel;
87 wxTextCtrl* m_PositionYCtrl;
88 wxStaticText* m_PositionYUnits;
89 wxStaticText* m_OrientLabel;
90 wxComboBox* m_OrientCtrl;
91 wxStaticText* m_statusLine;
93 wxStdDialogButtonSizer* m_sdbSizer;
94 wxButton* m_sdbSizerOK;
96
97 // Virtual event handlers, override them in your derived class
98 virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
99 virtual void onMultiLineTCLostFocus( wxFocusEvent& event ) { event.Skip(); }
100 virtual void OnSetFocusText( wxFocusEvent& event ) { event.Skip(); }
101 virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); }
102 virtual void onFontSelected( wxCommandEvent& event ) { event.Skip(); }
103 virtual void onBoldToggle( wxCommandEvent& event ) { event.Skip(); }
104 virtual void onAlignButton( wxCommandEvent& event ) { event.Skip(); }
105 virtual void onValignButton( wxCommandEvent& event ) { event.Skip(); }
106 virtual void onThickness( wxCommandEvent& event ) { event.Skip(); }
107 virtual void updateTextThickness( wxCommandEvent& event ) { event.Skip(); }
108
109
110 public:
111
112 DIALOG_TEXT_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|wxSYSTEM_MENU );
113
115
116};
117
A bitmap button widget that behaves like an AUI toolbar item's button when it is drawn.
Definition: bitmap_button.h:42
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
virtual void OnInitDlg(wxInitDialogEvent &event)
virtual void onThickness(wxCommandEvent &event)
virtual void onBoldToggle(wxCommandEvent &event)
virtual void onMultiLineTCLostFocus(wxFocusEvent &event)
virtual void updateTextThickness(wxCommandEvent &event)
virtual void onFontSelected(wxCommandEvent &event)
DIALOG_TEXT_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|wxSYSTEM_MENU)
virtual void onValignButton(wxCommandEvent &event)
virtual void onAlignButton(wxCommandEvent &event)
Class to display a pcb layer list in a wxBitmapComboBox.
#define _(s)