2012-04-05 13:27:56 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-10-03 09:50:05 +02:00
|
|
|
// C++ code generated with wxFormBuilder (version Oct 17 2016)
|
2012-04-05 13:27:56 -05:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-10-03 09:50:05 +02:00
|
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
2012-04-05 13:27:56 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2018-10-03 09:50:05 +02:00
|
|
|
#ifndef __DIALOG_PRINT_PCBNEW_BASE_H__
|
|
|
|
#define __DIALOG_PRINT_PCBNEW_BASE_H__
|
2012-04-05 13:27:56 -05:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2018-10-03 09:50:05 +02:00
|
|
|
class DIALOG_SHIM;
|
|
|
|
|
2012-04-05 13:27:56 -05:00
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/string.h>
|
2016-06-19 20:29:13 +02:00
|
|
|
#include <wx/stattext.h>
|
2012-04-05 13:27:56 -05:00
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2016-06-19 20:29:13 +02:00
|
|
|
#include <wx/checklst.h>
|
|
|
|
#include <wx/sizer.h>
|
2018-10-03 09:50:05 +02:00
|
|
|
#include <wx/button.h>
|
2016-06-19 20:29:13 +02:00
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/statbox.h>
|
2012-04-05 13:27:56 -05:00
|
|
|
#include <wx/textctrl.h>
|
2018-06-13 13:20:29 +01:00
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/gbsizer.h>
|
2018-10-03 09:50:05 +02:00
|
|
|
#include <wx/radiobox.h>
|
|
|
|
#include <wx/radiobut.h>
|
2018-06-13 13:20:29 +01:00
|
|
|
#include <wx/statline.h>
|
2012-04-05 13:27:56 -05:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2018-10-03 09:50:05 +02:00
|
|
|
/// Class DIALOG_PRINT_PCBNEW_BASE
|
2012-04-05 13:27:56 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2018-10-03 09:50:05 +02:00
|
|
|
class DIALOG_PRINT_PCBNEW_BASE : public DIALOG_SHIM
|
2012-04-05 13:27:56 -05:00
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
wxID_FRAME_SEL = 1000,
|
|
|
|
wxID_PAGE_MODE,
|
2018-06-13 13:20:29 +01:00
|
|
|
wxID_PRINT_OPTIONS
|
2012-04-05 13:27:56 -05:00
|
|
|
};
|
|
|
|
|
2016-06-19 20:29:13 +02:00
|
|
|
wxStaticText* m_staticText4;
|
|
|
|
wxCheckListBox* m_CopperLayersList;
|
|
|
|
wxStaticText* m_staticText5;
|
|
|
|
wxCheckListBox* m_TechnicalLayersList;
|
2018-10-03 09:50:05 +02:00
|
|
|
wxButton* m_buttonSelectAll;
|
|
|
|
wxButton* m_buttonDeselectAll;
|
2012-04-05 13:27:56 -05:00
|
|
|
wxCheckBox* m_Exclude_Edges_Pcb;
|
2018-06-13 13:20:29 +01:00
|
|
|
wxStaticText* m_penWidthLabel;
|
|
|
|
wxTextCtrl* m_penWidthCtrl;
|
|
|
|
wxStaticText* m_penWidthUnits;
|
|
|
|
wxStaticText* m_drillMarksLabel;
|
|
|
|
wxChoice* m_drillMarksChoice;
|
|
|
|
wxStaticText* m_outputModeLabel;
|
|
|
|
wxChoice* m_outputMode;
|
2012-04-05 13:27:56 -05:00
|
|
|
wxCheckBox* m_Print_Sheet_Ref;
|
|
|
|
wxCheckBox* m_Print_Mirror;
|
|
|
|
wxRadioBox* m_PagesOption;
|
2018-10-03 09:50:05 +02:00
|
|
|
wxRadioButton* m_scale1;
|
|
|
|
wxRadioButton* m_scaleFit;
|
|
|
|
wxRadioButton* m_scaleCustom;
|
|
|
|
wxTextCtrl* m_scaleCustomText;
|
2018-06-13 13:20:29 +01:00
|
|
|
wxStaticLine* m_staticline1;
|
2012-04-05 13:27:56 -05:00
|
|
|
wxButton* m_buttonOption;
|
2018-06-13 13:20:29 +01:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer1;
|
|
|
|
wxButton* m_sdbSizer1OK;
|
|
|
|
wxButton* m_sdbSizer1Apply;
|
|
|
|
wxButton* m_sdbSizer1Cancel;
|
2012-04-05 13:27:56 -05:00
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
2018-10-03 09:50:05 +02:00
|
|
|
virtual void OnSelectAllClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnDeselectAllClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSetCustomScale( wxCommandEvent& event ) { event.Skip(); }
|
2012-04-05 13:27:56 -05:00
|
|
|
virtual void OnPageSetup( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPrintPreview( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPrintButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2018-10-03 09:50:05 +02:00
|
|
|
DIALOG_PRINT_PCBNEW_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Print"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 700,550 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
|
|
|
~DIALOG_PRINT_PCBNEW_BASE();
|
2012-04-05 13:27:56 -05:00
|
|
|
|
|
|
|
};
|
|
|
|
|
2018-10-03 09:50:05 +02:00
|
|
|
#endif //__DIALOG_PRINT_PCBNEW_BASE_H__
|