KiCad PCB EDA Suite
dialog_field_properties_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
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;
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/textctrl.h>
25#include <wx/stc/stc.h>
26#include <wx/bmpbuttn.h>
27#include <wx/bitmap.h>
28#include <wx/image.h>
29#include <wx/icon.h>
30#include <wx/button.h>
31#include <wx/sizer.h>
32#include <wx/checkbox.h>
33#include <wx/choice.h>
34#include <wx/panel.h>
35#include <wx/gbsizer.h>
36#include <wx/statline.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;
52 wxBitmapButton* m_TextValueSelectButton;
53 wxStaticText* m_note;
54 wxCheckBox* m_visible;
55 wxCheckBox* m_nameVisible;
56 wxCheckBox* m_cbAllowAutoPlace;
57 wxStaticText* m_fontLabel;
74 wxStaticText* m_textSizeLabel;
75 wxTextCtrl* m_textSizeCtrl;
76 wxStaticText* m_textSizeUnits;
77 wxStaticText* m_textColorLabel;
80 wxStaticText* m_xPosLabel;
81 wxTextCtrl* m_xPosCtrl;
82 wxStaticText* m_xPosUnits;
83 wxStaticText* m_yPosLabel;
84 wxTextCtrl* m_yPosCtrl;
85 wxStaticText* m_yPosUnits;
86 wxCheckBox* m_CommonUnit;
87 wxCheckBox* m_CommonConvert;
88 wxStaticLine* m_staticline2;
89 wxStdDialogButtonSizer* m_sdbSizerButtons;
92
93 // Virtual event handlers, override them in your derived class
94 virtual void OnCloseDialog( wxCloseEvent& event ) { event.Skip(); }
95 virtual void OnSetFocusText( wxFocusEvent& event ) { event.Skip(); }
96 virtual void onMultiLineTCLostFocus( wxFocusEvent& event ) { event.Skip(); }
97 virtual void OnTextValueSelectButtonClick( wxCommandEvent& event ) { event.Skip(); }
98
99
100 public:
101
102 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 );
103
105
106};
107
A bitmap button widget that behaves like an AUI toolbar item's button when it is drawn.
Definition: bitmap_button.h:41
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)
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)
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:83
#define _(s)