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
146b7899
Commit
146b7899
authored
Feb 01, 2011
by
Marco Mattila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce pcbnew plot dialog height.
parent
fd98de2d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4367 additions
and
3175 deletions
+4367
-3175
dialog_plot_base.cpp
pcbnew/dialogs/dialog_plot_base.cpp
+345
-341
dialog_plot_base.fbp
pcbnew/dialogs/dialog_plot_base.fbp
+3911
-2724
dialog_plot_base.h
pcbnew/dialogs/dialog_plot_base.h
+111
-110
No files found.
pcbnew/dialogs/dialog_plot_base.cpp
View file @
146b7899
This diff is collapsed.
Click to expand it.
pcbnew/dialogs/dialog_plot_base.fbp
View file @
146b7899
This diff is collapsed.
Click to expand it.
pcbnew/dialogs/dialog_plot_base.h
View file @
146b7899
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// 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/radiobox.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/button.h>
#include <wx/sizer.h>
#include <wx/sizer.h>
#include <wx/statbox.h>
#include <wx/statbox.h>
#include <wx/checkbox.h>
#include <wx/checkbox.h>
#include <wx/stattext.h>
#include <wx/stattext.h>
#include <wx/choice.h>
#include <wx/choice.h>
#include <wx/textctrl.h>
#include <wx/textctrl.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_SAVE_OPT_PLOT
=
1000
,
ID_ALLOW_PRINT_PAD_ON_SILKSCREEN
=
1000
,
ID_CREATE_DRILL_FILE
,
ID_PRINT_REF
,
ID_ALLOW_PRINT_PAD_ON_SILKSCREEN
,
ID_MIROR_OPT
,
ID_PRINT_REF
,
ID_SAVE_OPT_PLOT
,
ID_MIROR_OPT
,
ID_CREATE_DRILL_FILE
,
};
};
wxRadioBox
*
m_plotFormatOpt
;
wxRadioBox
*
m_plotFormatOpt
;
wxButton
*
m_plotButton
;
wxStaticBoxSizer
*
m_CopperLayersBoxSizer
;
wxButton
*
m_buttonSaveOpt
;
wxStaticBoxSizer
*
m_TechnicalLayersBoxSizer
;
wxButton
*
m_buttonDrill
;
wxCheckBox
*
m_plotSheetRef
;
wxButton
*
m_buttonQuit
;
wxCheckBox
*
m_plotPads_on_Silkscreen
;
wxStaticBoxSizer
*
m_CopperLayersBoxSizer
;
wxCheckBox
*
m_plotModuleValueOpt
;
wxStaticBoxSizer
*
m_TechnicalLayersBoxSizer
;
wxCheckBox
*
m_plotModuleRefOpt
;
wxCheckBox
*
m_plotSheetRef
;
wxCheckBox
*
m_plotTextOther
;
wxCheckBox
*
m_plotPads_on_Silkscreen
;
wxCheckBox
*
m_plotInvisibleText
;
wxCheckBox
*
m_plotModuleValueOpt
;
wxCheckBox
*
m_plotNoViaOnMaskOpt
;
wxCheckBox
*
m_plotModuleRefOpt
;
wxCheckBox
*
m_plotMirrorOpt
;
wxCheckBox
*
m_plotTextOther
;
wxStaticText
*
m_staticText11
;
wxCheckBox
*
m_plotInvisibleText
;
wxChoice
*
m_drillShapeOpt
;
wxCheckBox
*
m_plotNoViaOnMaskOpt
;
wxStaticText
*
m_staticText12
;
wxCheckBox
*
m_plotMirrorOpt
;
wxChoice
*
m_scaleOpt
;
wxStaticText
*
m_staticText11
;
wxStaticText
*
m_staticText13
;
wxChoice
*
m_drillShapeOpt
;
wxChoice
*
m_plotModeOpt
;
wxStaticText
*
m_staticText12
;
wxStaticText
*
m_textDefaultPenSize
;
wxChoice
*
m_scaleOpt
;
wxTextCtrl
*
m_linesWidth
;
wxStaticText
*
m_staticText13
;
wxCheckBox
*
m_useGerberExtensions
;
wxChoice
*
m_plotModeOpt
;
wxCheckBox
*
m_excludeEdgeLayerOpt
;
wxStaticText
*
m_textDefaultPenSize
;
wxCheckBox
*
m_subtractMaskFromSilk
;
wxTextCtrl
*
m_linesWidth
;
wxCheckBox
*
m_useAuxOriginCheckBox
;
wxCheckBox
*
m_useGerberExtensions
;
wxStaticText
*
m_textPenSize
;
wxCheckBox
*
m_excludeEdgeLayerOpt
;
wxTextCtrl
*
m_HPGLPenSizeOpt
;
wxCheckBox
*
m_subtractMaskFromSilk
;
wxStaticText
*
m_textPenOvr
;
wxCheckBox
*
m_useAuxOriginCheckBox
;
wxTextCtrl
*
m_HPGLPenOverlayOpt
;
wxStaticText
*
m_textPenSize
;
wxStaticText
*
m_textPenSpeed
;
wxTextCtrl
*
m_HPGLPenSizeOpt
;
wxTextCtrl
*
m_HPGLPenSpeedOpt
;
wxStaticText
*
m_textPenOvr
;
wxStaticText
*
m_staticText7
;
wxTextCtrl
*
m_HPGLPenOverlayOpt
;
wxTextCtrl
*
m_fineAdjustXscaleOpt
;
wxStaticText
*
m_textPenSpeed
;
wxStaticText
*
m_staticText8
;
wxTextCtrl
*
m_HPGLPenSpeedOpt
;
wxTextCtrl
*
m_fineAdjustYscaleOpt
;
wxStaticText
*
m_staticText7
;
wxCheckBox
*
m_plotPSNegativeOpt
;
wxTextCtrl
*
m_fineAdjustXscaleOpt
;
wxStaticText
*
m_staticTextDir
;
wxStaticText
*
m_staticText8
;
wxTextCtrl
*
m_outputDirectoryName
;
wxTextCtrl
*
m_fineAdjustYscaleOpt
;
wxButton
*
m_browseButton
;
wxCheckBox
*
m_plotPSNegativeOpt
;
wxStaticText
*
m_staticText2
;
wxStaticText
*
m_staticTextDir
;
wxTextCtrl
*
m_messagesBox
;
wxTextCtrl
*
m_outputDirectoryName
;
wxButton
*
m_browseButton
;
wxButton
*
m_plotButton
;
wxStaticText
*
m_staticText2
;
wxButton
*
m_buttonSaveOpt
;
wxTextCtrl
*
m_messagesBox
;
wxButton
*
m_buttonDrill
;
wxButton
*
m_buttonQuit
;
// Virtual event handlers, overide them in your derived class
virtual
void
OnCloseWindow
(
wxCloseEvent
&
event
)
{
event
.
Skip
();
}
// Virtual event handlers, overide them in your derived class
virtual
void
OnInitDialog
(
wxInitDialogEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnCloseWindow
(
wxCloseEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
SetPlotFormat
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnInitDialog
(
wxInitDialogEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
Plot
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
SetPlotFormat
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
applyPlotSettings
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnSetScaleOpt
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
CreateDrillFile
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnOutputDirectoryBrowseClicked
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnQuit
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
Plot
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnSetScaleOpt
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
applyPlotSettings
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnOutputDirectoryBrowseClicked
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
CreateDrillFile
(
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
(
800
,
616
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
~
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__
#endif //__dialog_plot_base__
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