2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2024-06-02 21:26:49 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-02-02 15:56:09 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-08-25 23:45:10 +00:00
|
|
|
#pragma once
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2022-12-13 20:47:28 +00:00
|
|
|
class STD_BITMAP_BUTTON;
|
2020-03-06 20:02:58 +00:00
|
|
|
class WX_GRID;
|
2022-03-29 19:41:03 +00:00
|
|
|
class WX_INFOBAR;
|
2020-03-06 20:02:58 +00:00
|
|
|
|
2020-03-08 02:18:45 +00:00
|
|
|
#include "widgets/color_swatch.h"
|
2013-05-26 04:36:44 +00:00
|
|
|
#include "dialog_shim.h"
|
2022-03-29 19:41:03 +00:00
|
|
|
#include <wx/infobar.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2020-03-06 20:02:58 +00:00
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/grid.h>
|
2019-08-25 23:45:10 +00:00
|
|
|
#include <wx/bmpbuttn.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/button.h>
|
2013-12-14 19:03:38 +00:00
|
|
|
#include <wx/sizer.h>
|
2020-03-06 20:02:58 +00:00
|
|
|
#include <wx/statbox.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/textctrl.h>
|
2024-06-02 21:26:49 +00:00
|
|
|
#include <wx/checkbox.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2020-03-06 20:02:58 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2020-10-06 13:17:45 +00:00
|
|
|
/// Class DIALOG_SHEET_PROPERTIES_BASE
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2020-10-06 13:17:45 +00:00
|
|
|
class DIALOG_SHEET_PROPERTIES_BASE : public DIALOG_SHIM
|
2013-05-26 04:36:44 +00:00
|
|
|
{
|
|
|
|
private:
|
2019-08-25 23:45:10 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
protected:
|
2022-03-29 19:41:03 +00:00
|
|
|
WX_INFOBAR* m_infoBar;
|
2020-03-06 20:02:58 +00:00
|
|
|
wxBoxSizer* m_longForm;
|
|
|
|
WX_GRID* m_grid;
|
2022-12-13 20:47:28 +00:00
|
|
|
STD_BITMAP_BUTTON* m_bpAdd;
|
|
|
|
STD_BITMAP_BUTTON* m_bpMoveUp;
|
|
|
|
STD_BITMAP_BUTTON* m_bpMoveDown;
|
|
|
|
STD_BITMAP_BUTTON* m_bpDelete;
|
2024-06-02 21:26:49 +00:00
|
|
|
wxStaticText* m_pageNumberStaticText;
|
|
|
|
wxTextCtrl* m_pageNumberTextCtrl;
|
|
|
|
wxCheckBox* m_cbExcludeFromSim;
|
|
|
|
wxCheckBox* m_cbExcludeFromBom;
|
|
|
|
wxCheckBox* m_cbExcludeFromBoard;
|
|
|
|
wxCheckBox* m_cbDNP;
|
|
|
|
wxStaticText* m_borderLabel;
|
2020-03-08 02:18:45 +00:00
|
|
|
wxStaticText* m_borderWidthLabel;
|
|
|
|
wxTextCtrl* m_borderWidthCtrl;
|
|
|
|
wxStaticText* m_borderWidthUnits;
|
|
|
|
wxStaticText* m_borderColorLabel;
|
2020-04-09 16:15:57 +00:00
|
|
|
COLOR_SWATCH* m_borderSwatch;
|
2024-06-02 21:26:49 +00:00
|
|
|
wxStaticText* m_fillLabel;
|
2020-03-08 02:18:45 +00:00
|
|
|
wxStaticText* m_backgroundColorLabel;
|
2020-04-09 16:15:57 +00:00
|
|
|
COLOR_SWATCH* m_backgroundSwatch;
|
2022-04-30 12:37:40 +00:00
|
|
|
wxBoxSizer* m_sizerBottom;
|
2020-10-24 22:29:29 +00:00
|
|
|
wxStaticText* m_hierarchicalPathLabel;
|
2022-04-30 12:37:40 +00:00
|
|
|
wxStaticText* m_hierarchicalPath;
|
2020-03-06 20:02:58 +00:00
|
|
|
wxStdDialogButtonSizer* m_stdDialogButtonSizer;
|
|
|
|
wxButton* m_stdDialogButtonSizerOK;
|
|
|
|
wxButton* m_stdDialogButtonSizerCancel;
|
2019-08-25 23:45:10 +00:00
|
|
|
|
2022-12-13 20:47:28 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2020-03-06 20:02:58 +00:00
|
|
|
virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSizeGrid( wxSizeEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnAddField( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnMoveUp( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnMoveDown( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnDeleteField( wxCommandEvent& event ) { event.Skip(); }
|
2024-06-02 21:26:49 +00:00
|
|
|
virtual void OnCheckBox( wxCommandEvent& event ) { event.Skip(); }
|
2019-08-25 23:45:10 +00:00
|
|
|
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
public:
|
2019-08-25 23:45:10 +00:00
|
|
|
|
2020-10-06 13:17:45 +00:00
|
|
|
DIALOG_SHEET_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Sheet Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxCAPTION|wxCLOSE_BOX|wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER|wxSYSTEM_MENU );
|
2022-12-13 20:47:28 +00:00
|
|
|
|
2020-10-06 13:17:45 +00:00
|
|
|
~DIALOG_SHEET_PROPERTIES_BASE();
|
2019-08-25 23:45:10 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|
|
|
|
|