KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_field_properties_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
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 COLOR_SWATCH;
15class FONT_CHOICE;
17
18#include "dialog_shim.h"
19#include <wx/string.h>
20#include <wx/stattext.h>
21#include <wx/gdicmn.h>
22#include <wx/font.h>
23#include <wx/colour.h>
24#include <wx/settings.h>
25#include <wx/textctrl.h>
26#include <wx/stc/stc.h>
27#include <wx/bmpbuttn.h>
28#include <wx/bitmap.h>
29#include <wx/image.h>
30#include <wx/icon.h>
31#include <wx/button.h>
32#include <wx/choice.h>
33#include <wx/sizer.h>
34#include <wx/checkbox.h>
35#include <wx/panel.h>
36#include <wx/gbsizer.h>
37#include <wx/dialog.h>
38
40
45{
46 private:
47
48 protected:
49 wxStaticText* m_textLabel;
50 wxTextCtrl* m_TextCtrl;
51 wxStyledTextCtrl* m_StyledTextCtrl;
53 wxStaticText* m_unitLabel;
54 wxChoice* m_unitChoice;
55 wxStaticText* m_note;
56 wxCheckBox* m_visible;
57 wxCheckBox* m_nameVisible;
58 wxCheckBox* m_cbAllowAutoPlace;
59 wxStaticText* m_fontLabel;
76 wxStaticText* m_textSizeLabel;
77 wxTextCtrl* m_textSizeCtrl;
78 wxStaticText* m_textSizeUnits;
79 wxStaticText* m_textColorLabel;
82 wxStaticText* m_xPosLabel;
83 wxTextCtrl* m_xPosCtrl;
84 wxStaticText* m_xPosUnits;
85 wxStaticText* m_yPosLabel;
86 wxTextCtrl* m_yPosCtrl;
87 wxStaticText* m_yPosUnits;
88 wxCheckBox* m_commonToAllUnits;
90 wxStdDialogButtonSizer* m_sdbSizerButtons;
93
94 // Virtual event handlers, override them in your derived class
95 virtual void OnCloseDialog( wxCloseEvent& event ) { event.Skip(); }
96 virtual void OnSetFocusText( wxFocusEvent& event ) { event.Skip(); }
97 virtual void onMultiLineTCLostFocus( wxFocusEvent& event ) { event.Skip(); }
98 virtual void OnTextValueSelectButtonClick( wxCommandEvent& event ) { event.Skip(); }
99
100
101 public:
102
103 DIALOG_FIELD_PROPERTIES_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 );
104
106
107};
108
A bitmap button widget that behaves like an AUI toolbar item's button when it is drawn.
Definition: bitmap_button.h:42
A simple color swatch of the kind used to set layer colors.
Definition: color_swatch.h:57
Class DIALOG_FIELD_PROPERTIES_BASE.
virtual void OnSetFocusText(wxFocusEvent &event)
virtual void OnCloseDialog(wxCloseEvent &event)
wxStdDialogButtonSizer * m_sdbSizerButtons
virtual void onMultiLineTCLostFocus(wxFocusEvent &event)
virtual void OnTextValueSelectButtonClick(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
A bitmap button widget that behaves like a standard dialog button except with an icon.
#define _(s)