Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
3ed33e39
Commit
3ed33e39
authored
Sep 17, 2012
by
Marco Mattila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move pcbnew pcb edge layer plot checkbox to common plot options
parent
a9744e3f
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4715 additions
and
4715 deletions
+4715
-4715
dialog_plot_base.cpp
pcbnew/dialogs/dialog_plot_base.cpp
+379
-379
dialog_plot_base.fbp
pcbnew/dialogs/dialog_plot_base.fbp
+4219
-4219
dialog_plot_base.h
pcbnew/dialogs/dialog_plot_base.h
+117
-117
No files found.
pcbnew/dialogs/dialog_plot_base.cpp
View file @
3ed33e39
This diff is collapsed.
Click to expand it.
pcbnew/dialogs/dialog_plot_base.fbp
View file @
3ed33e39
This diff is collapsed.
Click to expand it.
pcbnew/dialogs/dialog_plot_base.h
View file @
3ed33e39
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Apr 1
0 2012)
// C++ code generated with wxFormBuilder (version Apr 1
1 2012)
// http://www.wxformbuilder.org/
// http://www.wxformbuilder.org/
//
//
// PLEASE DO "NOT" EDIT THIS FILE!
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
#ifndef __DIALOG_PLOT_BASE_H__
#ifndef __DIALOG_PLOT_BASE_H__
#define __DIALOG_PLOT_BASE_H__
#define __DIALOG_PLOT_BASE_H__
#include <wx/artprov.h>
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/xrc/xmlres.h>
#include <wx/intl.h>
#include <wx/intl.h>
#include "dialog_shim.h"
#include "dialog_shim.h"
#include <wx/string.h>
#include <wx/string.h>
#include <wx/stattext.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/choice.h>
#include <wx/choice.h>
#include <wx/sizer.h>
#include <wx/sizer.h>
#include <wx/textctrl.h>
#include <wx/textctrl.h>
#include <wx/button.h>
#include <wx/button.h>
#include <wx/checklst.h>
#include <wx/checklst.h>
#include <wx/statbox.h>
#include <wx/statbox.h>
#include <wx/checkbox.h>
#include <wx/checkbox.h>
#include <wx/dialog.h>
#include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_PLOT_BASE
/// Class DIALOG_PLOT_BASE
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
class
DIALOG_PLOT_BASE
:
public
DIALOG_SHIM
class
DIALOG_PLOT_BASE
:
public
DIALOG_SHIM
{
{
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_CREATE_DRILL_FILE
ID_CREATE_DRILL_FILE
};
};
wxBoxSizer
*
m_MainSizer
;
wxBoxSizer
*
m_MainSizer
;
wxStaticText
*
m_staticText121
;
wxStaticText
*
m_staticText121
;
wxChoice
*
m_plotFormatOpt
;
wxChoice
*
m_plotFormatOpt
;
wxStaticText
*
m_staticTextDir
;
wxStaticText
*
m_staticTextDir
;
wxTextCtrl
*
m_outputDirectoryName
;
wxTextCtrl
*
m_outputDirectoryName
;
wxButton
*
m_browseButton
;
wxButton
*
m_browseButton
;
wxStaticBoxSizer
*
m_LayersSizer
;
wxStaticBoxSizer
*
m_LayersSizer
;
wxCheckListBox
*
m_layerCheckListBox
;
wxCheckListBox
*
m_layerCheckListBox
;
wxBoxSizer
*
m_PlotOptionsSizer
;
wxBoxSizer
*
m_PlotOptionsSizer
;
wxCheckBox
*
m_plotSheetRef
;
wxCheckBox
*
m_plotSheetRef
;
wxCheckBox
*
m_plotPads_on_Silkscreen
;
wxCheckBox
*
m_plotPads_on_Silkscreen
;
wxCheckBox
*
m_plotModuleValueOpt
;
wxCheckBox
*
m_plotModuleValueOpt
;
wxCheckBox
*
m_plotModuleRefOpt
;
wxCheckBox
*
m_plotModuleRefOpt
;
wxCheckBox
*
m_plotTextOther
;
wxCheckBox
*
m_plotTextOther
;
wxCheckBox
*
m_plotInvisibleText
;
wxCheckBox
*
m_plotInvisibleText
;
wxCheckBox
*
m_plotNoViaOnMaskOpt
;
wxCheckBox
*
m_plotNoViaOnMaskOpt
;
wxCheckBox
*
m_plotMirrorOpt
;
wxCheckBox
*
m_plotMirrorOpt
;
wx
StaticText
*
m_staticText11
;
wx
CheckBox
*
m_excludeEdgeLayerOpt
;
wx
Choice
*
m_drillShapeOpt
;
wx
StaticText
*
m_staticText11
;
wx
StaticText
*
m_staticText12
;
wx
Choice
*
m_drillShapeOpt
;
wx
Choice
*
m_scaleOpt
;
wx
StaticText
*
m_staticText12
;
wx
StaticText
*
m_staticText13
;
wx
Choice
*
m_scaleOpt
;
wx
Choice
*
m_plotModeOpt
;
wx
StaticText
*
m_staticText13
;
wx
StaticText
*
m_textDefaultPenSize
;
wx
Choice
*
m_plotModeOpt
;
wx
TextCtrl
*
m_linesWidth
;
wx
StaticText
*
m_textDefaultPenSize
;
wx
StaticBoxSizer
*
m_GerberOptionsSizer
;
wx
TextCtrl
*
m_linesWidth
;
wx
CheckBox
*
m_useGerberExtensions
;
wx
StaticBoxSizer
*
m_GerberOptionsSizer
;
wxCheckBox
*
m_
excludeEdgeLayerOpt
;
wxCheckBox
*
m_
useGerberExtensions
;
wxCheckBox
*
m_subtractMaskFromSilk
;
wxCheckBox
*
m_subtractMaskFromSilk
;
wxCheckBox
*
m_useAuxOriginCheckBox
;
wxCheckBox
*
m_useAuxOriginCheckBox
;
wxStaticBoxSizer
*
m_HPGLOptionsSizer
;
wxStaticBoxSizer
*
m_HPGLOptionsSizer
;
wxStaticText
*
m_textPenSize
;
wxStaticText
*
m_textPenSize
;
wxTextCtrl
*
m_HPGLPenSizeOpt
;
wxTextCtrl
*
m_HPGLPenSizeOpt
;
wxStaticText
*
m_textPenOvr
;
wxStaticText
*
m_textPenOvr
;
wxTextCtrl
*
m_HPGLPenOverlayOpt
;
wxTextCtrl
*
m_HPGLPenOverlayOpt
;
wxStaticText
*
m_textPenSpeed
;
wxStaticText
*
m_textPenSpeed
;
wxTextCtrl
*
m_HPGLPenSpeedOpt
;
wxTextCtrl
*
m_HPGLPenSpeedOpt
;
wxStaticBoxSizer
*
m_PSOptionsSizer
;
wxStaticBoxSizer
*
m_PSOptionsSizer
;
wxStaticText
*
m_staticText7
;
wxStaticText
*
m_staticText7
;
wxTextCtrl
*
m_fineAdjustXscaleOpt
;
wxTextCtrl
*
m_fineAdjustXscaleOpt
;
wxStaticText
*
m_staticText8
;
wxStaticText
*
m_staticText8
;
wxTextCtrl
*
m_fineAdjustYscaleOpt
;
wxTextCtrl
*
m_fineAdjustYscaleOpt
;
wxStaticText
*
m_textPSFineAdjustWidth
;
wxStaticText
*
m_textPSFineAdjustWidth
;
wxTextCtrl
*
m_PSFineAdjustWidthOpt
;
wxTextCtrl
*
m_PSFineAdjustWidthOpt
;
wxCheckBox
*
m_plotPSNegativeOpt
;
wxCheckBox
*
m_plotPSNegativeOpt
;
wxCheckBox
*
m_forcePSA4OutputOpt
;
wxCheckBox
*
m_forcePSA4OutputOpt
;
wxTextCtrl
*
m_messagesBox
;
wxTextCtrl
*
m_messagesBox
;
wxButton
*
m_plotButton
;
wxButton
*
m_plotButton
;
wxButton
*
m_buttonDrill
;
wxButton
*
m_buttonDrill
;
wxButton
*
m_buttonQuit
;
wxButton
*
m_buttonQuit
;
// Virtual event handlers, overide them in your derived class
// Virtual event handlers, overide them in your derived class
virtual
void
OnClose
(
wxCloseEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnClose
(
wxCloseEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnInitDialog
(
wxInitDialogEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnInitDialog
(
wxInitDialogEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
SetPlotFormat
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
SetPlotFormat
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnOutputDirectoryBrowseClicked
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnOutputDirectoryBrowseClicked
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnSetScaleOpt
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnSetScaleOpt
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
Plot
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
Plot
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
CreateDrillFile
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
CreateDrillFile
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnQuit
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnQuit
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
public
:
public
:
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
(
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
();
~
DIALOG_PLOT_BASE
();
};
};
#endif //__DIALOG_PLOT_BASE_H__
#endif //__DIALOG_PLOT_BASE_H__
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment