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/dialog.h>
37
39
44{
45 private:
46
47 protected:
48 wxStaticText* m_textLabel;
49 wxTextCtrl* m_TextCtrl;
50 wxStyledTextCtrl* m_StyledTextCtrl;
51 wxBitmapButton* m_TextValueSelectButton;
52 wxStaticText* m_note;
53 wxCheckBox* m_visible;
54 wxCheckBox* m_nameVisible;
55 wxCheckBox* m_cbAllowAutoPlace;
56 wxStaticText* m_fontLabel;
73 wxStaticText* m_textSizeLabel;
74 wxTextCtrl* m_textSizeCtrl;
75 wxStaticText* m_textSizeUnits;
76 wxStaticText* m_textColorLabel;
79 wxStaticText* m_xPosLabel;
80 wxTextCtrl* m_xPosCtrl;
81 wxStaticText* m_xPosUnits;
82 wxStaticText* m_yPosLabel;
83 wxTextCtrl* m_yPosCtrl;
84 wxStaticText* m_yPosUnits;
85 wxCheckBox* m_CommonUnit;
86 wxCheckBox* m_CommonConvert;
87 wxStdDialogButtonSizer* m_sdbSizerButtons;
90
91 // Virtual event handlers, override them in your derived class
92 virtual void OnCloseDialog( wxCloseEvent& event ) { event.Skip(); }
93 virtual void OnSetFocusText( wxFocusEvent& event ) { event.Skip(); }
94 virtual void onMultiLineTCLostFocus( wxFocusEvent& event ) { event.Skip(); }
95 virtual void OnTextValueSelectButtonClick( wxCommandEvent& event ) { event.Skip(); }
96
97
98 public:
99
100 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 );
101
103
104};
105
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)