Commit c9b27ee7 authored by Marco Mattila's avatar Marco Mattila

Tune pcbnew plot dialog layout.

parent 7bd85a39
This diff is collapsed.
This diff is collapsed.
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Sep 8 2010) // C++ code generated with wxFormBuilder (version Nov 18 2010)
// http://www.wxformbuilder.org/ // http://www.wxformbuilder.org/
// //
// PLEASE DO "NOT" EDIT THIS FILE! // PLEASE DO "NOT" EDIT THIS FILE!
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#ifndef __dialog_plot_base__ #ifndef __dialog_plot_base__
#define __dialog_plot_base__ #define __dialog_plot_base__
#include <wx/intl.h> #include <wx/intl.h>
#include <wx/string.h> #include <wx/string.h>
#include <wx/radiobox.h> #include <wx/stattext.h>
#include <wx/gdicmn.h> #include <wx/gdicmn.h>
#include <wx/font.h> #include <wx/font.h>
#include <wx/colour.h> #include <wx/colour.h>
#include <wx/settings.h> #include <wx/settings.h>
#include <wx/sizer.h> #include <wx/choice.h>
#include <wx/statbox.h> #include <wx/sizer.h>
#include <wx/checkbox.h> #include <wx/textctrl.h>
#include <wx/stattext.h> #include <wx/button.h>
#include <wx/choice.h> #include <wx/statbox.h>
#include <wx/textctrl.h> #include <wx/checkbox.h>
#include <wx/button.h> #include <wx/dialog.h>
#include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////// /// Class DIALOG_PLOT_BASE
/// Class DIALOG_PLOT_BASE ///////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////// class DIALOG_PLOT_BASE : public wxDialog
class DIALOG_PLOT_BASE : public wxDialog {
{ private:
private:
protected:
protected: enum
enum {
{ ID_ALLOW_PRINT_PAD_ON_SILKSCREEN = 1000,
ID_ALLOW_PRINT_PAD_ON_SILKSCREEN = 1000, ID_PRINT_REF,
ID_PRINT_REF, ID_MIROR_OPT,
ID_MIROR_OPT, ID_SAVE_OPT_PLOT,
ID_SAVE_OPT_PLOT, ID_CREATE_DRILL_FILE,
ID_CREATE_DRILL_FILE, };
};
wxBoxSizer* m_MainSizer;
wxRadioBox* m_plotFormatOpt; wxStaticText* m_staticText121;
wxStaticBoxSizer* m_CopperLayersBoxSizer; wxChoice* m_plotFormatOpt;
wxStaticBoxSizer* m_TechnicalLayersBoxSizer; wxStaticText* m_staticTextDir;
wxCheckBox* m_plotSheetRef; wxTextCtrl* m_outputDirectoryName;
wxCheckBox* m_plotPads_on_Silkscreen; wxButton* m_browseButton;
wxCheckBox* m_plotModuleValueOpt; wxStaticBoxSizer* m_CopperLayersBoxSizer;
wxCheckBox* m_plotModuleRefOpt; wxStaticBoxSizer* m_TechnicalLayersBoxSizer;
wxCheckBox* m_plotTextOther; wxBoxSizer* m_PlotOptionsSizer;
wxCheckBox* m_plotInvisibleText; wxCheckBox* m_plotSheetRef;
wxCheckBox* m_plotNoViaOnMaskOpt; wxCheckBox* m_plotPads_on_Silkscreen;
wxCheckBox* m_plotMirrorOpt; wxCheckBox* m_plotModuleValueOpt;
wxStaticText* m_staticText11; wxCheckBox* m_plotModuleRefOpt;
wxChoice* m_drillShapeOpt; wxCheckBox* m_plotTextOther;
wxStaticText* m_staticText12; wxCheckBox* m_plotInvisibleText;
wxChoice* m_scaleOpt; wxCheckBox* m_plotNoViaOnMaskOpt;
wxStaticText* m_staticText13; wxCheckBox* m_plotMirrorOpt;
wxChoice* m_plotModeOpt; wxStaticText* m_staticText11;
wxStaticText* m_textDefaultPenSize; wxChoice* m_drillShapeOpt;
wxTextCtrl* m_linesWidth; wxStaticText* m_staticText12;
wxCheckBox* m_useGerberExtensions; wxChoice* m_scaleOpt;
wxCheckBox* m_excludeEdgeLayerOpt; wxStaticText* m_staticText13;
wxCheckBox* m_subtractMaskFromSilk; wxChoice* m_plotModeOpt;
wxCheckBox* m_useAuxOriginCheckBox; wxStaticText* m_textDefaultPenSize;
wxStaticText* m_textPenSize; wxTextCtrl* m_linesWidth;
wxTextCtrl* m_HPGLPenSizeOpt; wxStaticBoxSizer* m_GerberOptionsSizer;
wxStaticText* m_textPenOvr; wxCheckBox* m_useGerberExtensions;
wxTextCtrl* m_HPGLPenOverlayOpt; wxCheckBox* m_excludeEdgeLayerOpt;
wxStaticText* m_textPenSpeed; wxCheckBox* m_subtractMaskFromSilk;
wxTextCtrl* m_HPGLPenSpeedOpt; wxCheckBox* m_useAuxOriginCheckBox;
wxStaticText* m_staticText7; wxStaticBoxSizer* m_HPGLOptionsSizer;
wxTextCtrl* m_fineAdjustXscaleOpt; wxStaticText* m_textPenSize;
wxStaticText* m_staticText8; wxTextCtrl* m_HPGLPenSizeOpt;
wxTextCtrl* m_fineAdjustYscaleOpt; wxStaticText* m_textPenOvr;
wxCheckBox* m_plotPSNegativeOpt; wxTextCtrl* m_HPGLPenOverlayOpt;
wxStaticText* m_staticTextDir; wxStaticText* m_textPenSpeed;
wxTextCtrl* m_outputDirectoryName; wxTextCtrl* m_HPGLPenSpeedOpt;
wxButton* m_browseButton; wxStaticBoxSizer* m_PSOptionsSizer;
wxStaticText* m_staticText2; wxStaticText* m_staticText7;
wxTextCtrl* m_messagesBox; wxTextCtrl* m_fineAdjustXscaleOpt;
wxStaticText* m_staticText8;
wxButton* m_plotButton; wxTextCtrl* m_fineAdjustYscaleOpt;
wxButton* m_buttonSaveOpt; wxCheckBox* m_plotPSNegativeOpt;
wxButton* m_buttonDrill; wxStaticText* m_staticText2;
wxButton* m_buttonQuit; wxTextCtrl* m_messagesBox;
// Virtual event handlers, overide them in your derived class wxButton* m_plotButton;
virtual void OnCloseWindow( wxCloseEvent& event ) { event.Skip(); } wxButton* m_buttonSaveOpt;
virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); } wxButton* m_buttonDrill;
virtual void SetPlotFormat( wxCommandEvent& event ) { event.Skip(); } wxButton* m_buttonQuit;
virtual void OnSetScaleOpt( wxCommandEvent& event ) { event.Skip(); }
virtual void OnOutputDirectoryBrowseClicked( wxCommandEvent& event ) { event.Skip(); } // Virtual event handlers, overide them in your derived class
virtual void Plot( wxCommandEvent& event ) { event.Skip(); } virtual void OnCloseWindow( wxCloseEvent& event ) { event.Skip(); }
virtual void applyPlotSettings( wxCommandEvent& event ) { event.Skip(); } virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
virtual void CreateDrillFile( wxCommandEvent& event ) { event.Skip(); } virtual void SetPlotFormat( wxCommandEvent& event ) { event.Skip(); }
virtual void OnQuit( wxCommandEvent& event ) { event.Skip(); } virtual void OnOutputDirectoryBrowseClicked( wxCommandEvent& event ) { event.Skip(); }
virtual void OnSetScaleOpt( wxCommandEvent& event ) { event.Skip(); }
virtual void Plot( wxCommandEvent& event ) { event.Skip(); }
public: virtual void applyPlotSettings( wxCommandEvent& event ) { event.Skip(); }
virtual void CreateDrillFile( wxCommandEvent& event ) { event.Skip(); }
DIALOG_PLOT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Plot"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); virtual void OnQuit( wxCommandEvent& event ) { event.Skip(); }
~DIALOG_PLOT_BASE();
}; public:
#endif //__dialog_plot_base__ DIALOG_PLOT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Plot"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
~DIALOG_PLOT_BASE();
};
#endif //__dialog_plot_base__
...@@ -336,6 +336,11 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event ) ...@@ -336,6 +336,11 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
m_fineAdjustXscaleOpt->Enable( true ); m_fineAdjustXscaleOpt->Enable( true );
m_fineAdjustYscaleOpt->Enable( true ); m_fineAdjustYscaleOpt->Enable( true );
m_plotPSNegativeOpt->Enable( true ); m_plotPSNegativeOpt->Enable( true );
m_PlotOptionsSizer->Hide( m_GerberOptionsSizer );
m_PlotOptionsSizer->Hide( m_HPGLOptionsSizer );
m_PlotOptionsSizer->Show( m_PSOptionsSizer );
Layout();
m_MainSizer->SetSizeHints( this );
break; break;
case PLOT_FORMAT_GERBER: case PLOT_FORMAT_GERBER:
...@@ -358,6 +363,11 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event ) ...@@ -358,6 +363,11 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
m_fineAdjustYscaleOpt->Enable( false ); m_fineAdjustYscaleOpt->Enable( false );
m_plotPSNegativeOpt->SetValue( false ); m_plotPSNegativeOpt->SetValue( false );
m_plotPSNegativeOpt->Enable( false ); m_plotPSNegativeOpt->Enable( false );
m_PlotOptionsSizer->Show( m_GerberOptionsSizer );
m_PlotOptionsSizer->Hide( m_HPGLOptionsSizer );
m_PlotOptionsSizer->Hide( m_PSOptionsSizer );
Layout();
m_MainSizer->SetSizeHints( this );
break; break;
case PLOT_FORMAT_HPGL: case PLOT_FORMAT_HPGL:
...@@ -378,6 +388,11 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event ) ...@@ -378,6 +388,11 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
m_fineAdjustYscaleOpt->Enable( false ); m_fineAdjustYscaleOpt->Enable( false );
m_plotPSNegativeOpt->SetValue( false ); m_plotPSNegativeOpt->SetValue( false );
m_plotPSNegativeOpt->Enable( false ); m_plotPSNegativeOpt->Enable( false );
m_PlotOptionsSizer->Hide( m_GerberOptionsSizer );
m_PlotOptionsSizer->Show( m_HPGLOptionsSizer );
m_PlotOptionsSizer->Hide( m_PSOptionsSizer );
Layout();
m_MainSizer->SetSizeHints( this );
break; break;
case PLOT_FORMAT_DXF: case PLOT_FORMAT_DXF:
...@@ -400,6 +415,11 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event ) ...@@ -400,6 +415,11 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
m_fineAdjustYscaleOpt->Enable( false ); m_fineAdjustYscaleOpt->Enable( false );
m_plotPSNegativeOpt->SetValue( false ); m_plotPSNegativeOpt->SetValue( false );
m_plotPSNegativeOpt->Enable( false ); m_plotPSNegativeOpt->Enable( false );
m_PlotOptionsSizer->Hide( m_GerberOptionsSizer );
m_PlotOptionsSizer->Hide( m_HPGLOptionsSizer );
m_PlotOptionsSizer->Hide( m_PSOptionsSizer );
Layout();
m_MainSizer->SetSizeHints( this );
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment