kicad/pagelayout_editor/dialogs/properties_frame_base.h

153 lines
5.0 KiB
C
Raw Normal View History

///////////////////////////////////////////////////////////////////////////
2021-10-21 12:59:55 +00:00
// C++ code generated with wxFormBuilder (version 3.10.0-4761b0c5)
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
2019-05-31 10:05:16 +00:00
#pragma once
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/intl.h>
#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
2021-10-21 12:59:55 +00:00
#include <wx/button.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/icon.h>
#include <wx/choice.h>
#include <wx/sizer.h>
#include <wx/stc/stc.h>
#include <wx/checkbox.h>
#include <wx/textctrl.h>
#include <wx/combobox.h>
#include <wx/statbox.h>
#include <wx/gbsizer.h>
2019-05-31 10:05:16 +00:00
#include <wx/scrolwin.h>
#include <wx/notebook.h>
#include <wx/panel.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class PANEL_PROPERTIES_BASE
///////////////////////////////////////////////////////////////////////////////
2019-05-31 10:05:16 +00:00
class PANEL_PROPERTIES_BASE : public wxPanel
{
private:
2019-05-31 10:05:16 +00:00
protected:
wxNotebook* m_notebook;
wxScrolledWindow* m_swItemProperties;
wxBoxSizer* m_SizerItemProperties;
wxStaticText* m_staticTextType;
wxButton* m_buttonHelp;
wxChoice* m_choicePageOpt;
wxBoxSizer* m_SizerTextOptions;
wxStyledTextCtrl* m_stcText;
wxStaticText* m_staticTextHjust;
wxChoice* m_choiceHjustify;
wxCheckBox* m_checkBoxBold;
wxStaticText* m_staticTextVjust;
wxChoice* m_choiceVjustify;
wxCheckBox* m_checkBoxItalic;
wxStaticText* m_staticTextTsizeX;
wxTextCtrl* m_textCtrlTextSizeX;
wxStaticText* m_TextTextSizeXUnits;
wxStaticText* m_staticTextTsizeY;
wxTextCtrl* m_textCtrlTextSizeY;
wxStaticText* m_TextTextSizeYUnits;
wxStaticText* m_staticTextConstraintX;
wxTextCtrl* m_textCtrlConstraintX;
wxStaticText* m_TextConstraintXUnits;
wxStaticText* m_staticTextConstraintY;
wxTextCtrl* m_textCtrlConstraintY;
wxStaticText* m_TextConstraintYUnits;
wxStaticText* m_staticTextSizeInfo;
wxStaticText* m_staticTextComment;
wxTextCtrl* m_textCtrlComment;
wxStaticBoxSizer* sbSizerPos;
wxStaticText* m_staticTextPosX;
wxTextCtrl* m_textCtrlPosX;
wxStaticText* m_TextPosXUnits;
wxStaticText* m_staticTextPosY;
wxTextCtrl* m_textCtrlPosY;
wxStaticText* m_TextPosYUnits;
wxStaticText* m_staticTextOrgPos;
wxComboBox* m_comboBoxCornerPos;
wxStaticBoxSizer* m_sbSizerEndPosition;
wxStaticText* m_staticTextEndX;
wxTextCtrl* m_textCtrlEndX;
wxStaticText* m_TextEndXUnits;
wxStaticText* m_staticTextEndY;
wxTextCtrl* m_textCtrlEndY;
wxStaticText* m_TextEndYUnits;
wxStaticText* m_staticTextOrgEnd;
wxComboBox* m_comboBoxCornerEnd;
wxStaticText* m_staticTextThickness;
wxTextCtrl* m_textCtrlThickness;
2020-12-09 03:38:40 +00:00
wxStaticText* m_TextLineThicknessUnits;
wxStaticText* m_staticTextRot;
wxTextCtrl* m_textCtrlRotation;
wxStaticText* m_staticTextBitmapDPI;
wxTextCtrl* m_textCtrlBitmapDPI;
wxStaticText* m_staticTextRepeatCnt;
wxTextCtrl* m_textCtrlRepeatCount;
wxStaticText* m_staticTextInclabel;
wxTextCtrl* m_textCtrlTextIncrement;
wxStaticText* m_staticTextStepX;
wxTextCtrl* m_textCtrlStepX;
wxStaticText* m_TextStepXUnits;
wxStaticText* m_staticTextStepY;
wxTextCtrl* m_textCtrlStepY;
wxStaticText* m_TextStepYUnits;
wxButton* m_buttonOK;
wxScrolledWindow* m_swGeneralOpts;
wxStaticText* m_staticTextDefTsX;
wxTextCtrl* m_textCtrlDefaultTextSizeX;
wxStaticText* m_TextDefaultTextSizeXUnits;
wxStaticText* m_staticTextDefTsY;
wxTextCtrl* m_textCtrlDefaultTextSizeY;
wxStaticText* m_TextDefaultTextSizeYUnits;
wxStaticText* m_staticTextDefLineW;
wxTextCtrl* m_textCtrlDefaultLineWidth;
wxStaticText* m_TextDefaultLineWidthUnits;
wxStaticText* m_staticTextDefTextThickness;
wxTextCtrl* m_textCtrlDefaultTextThickness;
wxStaticText* m_TextDefaultTextThicknessUnits;
2013-07-26 12:50:29 +00:00
wxButton* m_buttonDefault;
wxStaticText* m_staticTextLeftMargin;
wxTextCtrl* m_textCtrlLeftMargin;
wxStaticText* m_TextLeftMarginUnits;
wxStaticText* m_staticTextDefRightMargin;
wxTextCtrl* m_textCtrlRightMargin;
wxStaticText* m_TextRightMarginUnits;
wxStaticText* m_staticTextTopMargin;
wxTextCtrl* m_textCtrlTopMargin;
wxStaticText* m_TextTopMarginUnits;
wxStaticText* m_staticTextBottomMargin;
wxTextCtrl* m_textCtrlBottomMargin;
wxStaticText* m_TextBottomMarginUnits;
wxButton* m_buttonGeneralOptsOK;
2019-05-31 10:05:16 +00:00
2021-10-21 12:59:55 +00:00
// Virtual event handlers, override them in your derived class
virtual void OnPageChanged( wxNotebookEvent& event ) { event.Skip(); }
virtual void onHelp( wxCommandEvent& event ) { event.Skip(); }
virtual void OnAcceptPrms( wxCommandEvent& event ) { event.Skip(); }
virtual void OnSetDefaultValues( wxCommandEvent& event ) { event.Skip(); }
2019-05-31 10:05:16 +00:00
public:
2019-05-31 10:05:16 +00:00
2021-10-21 12:59:55 +00:00
PANEL_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
~PANEL_PROPERTIES_BASE();
2019-05-31 10:05:16 +00:00
};