kicad/pcbnew/dialogs/dialog_dimension_properties...

147 lines
4.7 KiB
C
Raw Normal View History

2020-09-08 02:42:26 +00:00
///////////////////////////////////////////////////////////////////////////
2024-05-26 21:12:51 +00:00
// C++ code generated with wxFormBuilder (version 4.1.0-0-g733bf3d)
2020-09-08 02:42:26 +00:00
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#pragma once
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/intl.h>
2022-01-03 01:20:25 +00:00
class BITMAP_BUTTON;
class FONT_CHOICE;
2020-09-08 02:42:26 +00:00
class PCB_LAYER_BOX_SELECTOR;
#include "dialog_shim.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>
#include <wx/textctrl.h>
#include <wx/choice.h>
#include <wx/bmpcbox.h>
#include <wx/gbsizer.h>
#include <wx/sizer.h>
#include <wx/statbox.h>
#include <wx/checkbox.h>
2022-01-03 01:20:25 +00:00
#include <wx/bmpbuttn.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/icon.h>
2020-09-08 02:42:26 +00:00
#include <wx/button.h>
2022-01-03 01:20:25 +00:00
#include <wx/combobox.h>
2020-09-08 02:42:26 +00:00
#include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_DIMENSION_PROPERTIES_BASE
///////////////////////////////////////////////////////////////////////////////
class DIALOG_DIMENSION_PROPERTIES_BASE : public DIALOG_SHIM
{
private:
protected:
wxBoxSizer* m_mainSizer;
wxStaticBoxSizer* m_sizerLeader;
wxStaticText* m_lblLeaderValue;
wxTextCtrl* m_txtLeaderValue;
wxStaticText* m_lblTextFrame;
wxChoice* m_cbTextFrame;
wxStaticText* m_lblLeaderLayer;
PCB_LAYER_BOX_SELECTOR* m_cbLeaderLayer;
2020-09-17 00:54:58 +00:00
wxStaticBoxSizer* m_sizerCenter;
wxStaticText* m_lblCenterLayer;
PCB_LAYER_BOX_SELECTOR* m_cbCenterLayer;
wxStaticBoxSizer* m_sizerFormat;
2020-09-08 02:42:26 +00:00
wxStaticText* m_lblValue;
wxTextCtrl* m_txtValue;
wxCheckBox* m_cbOverrideValue;
wxStaticText* m_lblUnits;
wxChoice* m_cbUnits;
wxStaticText* m_lblPrefix;
wxTextCtrl* m_txtPrefix;
wxStaticText* m_txtUnitsFormat;
wxChoice* m_cbUnitsFormat;
wxStaticText* m_lblSuffix;
wxTextCtrl* m_txtSuffix;
wxStaticText* m_lblPrecision;
wxChoice* m_cbPrecision;
wxCheckBox* m_cbSuppressZeroes;
wxStaticText* m_lblLayer;
PCB_LAYER_BOX_SELECTOR* m_cbLayer;
wxStaticText* m_lblPreview;
wxStaticText* m_staticTextPreview;
2020-09-17 00:54:58 +00:00
wxStaticBoxSizer* m_sizerText;
2022-01-03 01:20:25 +00:00
wxStaticText* m_fontLabel;
FONT_CHOICE* m_fontCtrl;
BITMAP_BUTTON* m_separator0;
BITMAP_BUTTON* m_bold;
BITMAP_BUTTON* m_italic;
BITMAP_BUTTON* m_separator1;
BITMAP_BUTTON* m_alignLeft;
BITMAP_BUTTON* m_alignCenter;
BITMAP_BUTTON* m_alignRight;
BITMAP_BUTTON* m_separator2;
BITMAP_BUTTON* m_mirrored;
BITMAP_BUTTON* m_separator3;
2020-09-08 02:42:26 +00:00
wxStaticText* m_lblTextWidth;
wxTextCtrl* m_txtTextWidth;
wxStaticText* m_lblTextWidthUnits;
wxStaticText* m_lblTextPosX;
wxTextCtrl* m_txtTextPosX;
wxStaticText* m_lblTextPosXUnits;
wxStaticText* m_lblTextHeight;
wxTextCtrl* m_txtTextHeight;
wxStaticText* m_lblTextHeightUnits;
wxStaticText* m_lblTextPosY;
wxTextCtrl* m_txtTextPosY;
wxStaticText* m_lblTextPosYUnits;
wxStaticText* m_lblTextThickness;
wxTextCtrl* m_txtTextThickness;
wxStaticText* m_lblTextThicknessUnits;
wxStaticText* m_lblTextOrientation;
wxComboBox* m_cbTextOrientation;
wxStaticText* m_lblTextPositionMode;
wxChoice* m_cbTextPositionMode;
2022-01-03 01:20:25 +00:00
wxCheckBox* m_cbKeepAligned;
2020-09-08 02:42:26 +00:00
wxStaticText* m_lblLineThickness;
wxTextCtrl* m_txtLineThickness;
wxStaticText* m_lblLineThicknessUnits;
wxStaticText* m_lblArrowLength;
wxTextCtrl* m_txtArrowLength;
wxStaticText* m_lblArrowLengthUnits;
wxStaticText* m_lblExtensionOffset;
wxTextCtrl* m_txtExtensionOffset;
wxStaticText* m_lblExtensionOffsetUnits;
wxStaticText* m_lblExtensionOvershoot;
wxTextCtrl* m_txtExtensionOvershoot;
wxStaticText* m_lblExtensionOvershootUnits;
2020-09-08 02:42:26 +00:00
wxStdDialogButtonSizer* m_sdbSizer;
wxButton* m_sdbSizerOK;
wxButton* m_sdbSizerCancel;
// Virtual event handlers, override them in your derived class
2020-09-08 02:42:26 +00:00
virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
virtual void OnDimensionUnitsChange( wxCommandEvent& event ) { event.Skip(); }
2022-01-03 01:20:25 +00:00
virtual void onFontSelected( wxCommandEvent& event ) { event.Skip(); }
virtual void onBoldToggle( wxCommandEvent& event ) { event.Skip(); }
virtual void onAlignButton( wxCommandEvent& event ) { event.Skip(); }
2020-09-08 02:42:26 +00:00
virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); }
2022-01-03 01:20:25 +00:00
virtual void onThickness( wxCommandEvent& event ) { event.Skip(); }
2020-09-08 02:42:26 +00:00
public:
DIALOG_DIMENSION_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Dimension Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxSYSTEM_MENU );
2020-09-08 02:42:26 +00:00
~DIALOG_DIMENSION_PROPERTIES_BASE();
};