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
fd98de2d
Commit
fd98de2d
authored
Jan 31, 2011
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor change: reduce Pcbnew dialog plot width, too large when strings are translated.
parent
44e474c2
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3175 additions
and
4336 deletions
+3175
-4336
dialog_plot_base.cpp
pcbnew/dialogs/dialog_plot_base.cpp
+341
-336
dialog_plot_base.fbp
pcbnew/dialogs/dialog_plot_base.fbp
+2724
-3890
dialog_plot_base.h
pcbnew/dialogs/dialog_plot_base.h
+110
-110
No files found.
pcbnew/dialogs/dialog_plot_base.cpp
View file @
fd98de2d
This diff is collapsed.
Click to expand it.
pcbnew/dialogs/dialog_plot_base.fbp
View file @
fd98de2d
This diff is collapsed.
Click to expand it.
pcbnew/dialogs/dialog_plot_base.h
View file @
fd98de2d
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Nov 18 2010)
// C++ code generated with wxFormBuilder (version
Sep 8 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/
sizer.h>
#include <wx/
button.h>
#include <wx/s
tatbox.h>
#include <wx/s
izer.h>
#include <wx/
checkbox.h>
#include <wx/
statbox.h>
#include <wx/
stattext.h>
#include <wx/
checkbox.h>
#include <wx/
choice.h>
#include <wx/
stattext.h>
#include <wx/
textctrl.h>
#include <wx/
choice.h>
#include <wx/
button.h>
#include <wx/
textctrl.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_
SAVE_OPT_PLOT
=
1000
,
ID_
PRINT_REF
,
ID_
CREATE_DRILL_FILE
,
ID_
MIROR_OPT
,
ID_
ALLOW_PRINT_PAD_ON_SILKSCREEN
,
ID_
SAVE_OPT_PLOT
,
ID_
PRINT_REF
,
ID_
CREATE_DRILL_FILE
,
ID_
MIROR_OPT
,
};
};
wxRadioBox
*
m_plotFormatOpt
;
wxRadioBox
*
m_plotFormatOpt
;
wx
StaticBoxSizer
*
m_CopperLayersBoxSizer
;
wx
Button
*
m_plotButton
;
wx
StaticBoxSizer
*
m_TechnicalLayersBoxSizer
;
wx
Button
*
m_buttonSaveOpt
;
wx
CheckBox
*
m_plotSheetRef
;
wx
Button
*
m_buttonDrill
;
wx
CheckBox
*
m_plotPads_on_Silkscreen
;
wx
Button
*
m_buttonQuit
;
wx
CheckBox
*
m_plotModuleValueOpt
;
wx
StaticBoxSizer
*
m_CopperLayersBoxSizer
;
wx
CheckBox
*
m_plotModuleRefOpt
;
wx
StaticBoxSizer
*
m_TechnicalLayersBoxSizer
;
wxCheckBox
*
m_plot
TextOther
;
wxCheckBox
*
m_plot
SheetRef
;
wxCheckBox
*
m_plot
InvisibleText
;
wxCheckBox
*
m_plot
Pads_on_Silkscreen
;
wxCheckBox
*
m_plot
NoViaOnMaskOpt
;
wxCheckBox
*
m_plot
ModuleValueOpt
;
wxCheckBox
*
m_plotM
irrorOpt
;
wxCheckBox
*
m_plotM
oduleRefOpt
;
wx
StaticText
*
m_staticText11
;
wx
CheckBox
*
m_plotTextOther
;
wxCh
oice
*
m_drillShapeOpt
;
wxCh
eckBox
*
m_plotInvisibleText
;
wx
StaticText
*
m_staticText12
;
wx
CheckBox
*
m_plotNoViaOnMaskOpt
;
wxCh
oice
*
m_scaleOpt
;
wxCh
eckBox
*
m_plotMirrorOpt
;
wxStaticText
*
m_staticText1
3
;
wxStaticText
*
m_staticText1
1
;
wxChoice
*
m_
plotModeOpt
;
wxChoice
*
m_
drillShapeOpt
;
wxStaticText
*
m_
textDefaultPenSize
;
wxStaticText
*
m_
staticText12
;
wx
TextCtrl
*
m_linesWidth
;
wx
Choice
*
m_scaleOpt
;
wx
CheckBox
*
m_useGerberExtensions
;
wx
StaticText
*
m_staticText13
;
wxCh
eckBox
*
m_excludeEdgeLayerOpt
;
wxCh
oice
*
m_plotModeOpt
;
wx
CheckBox
*
m_subtractMaskFromSilk
;
wx
StaticText
*
m_textDefaultPenSize
;
wx
CheckBox
*
m_useAuxOriginCheckBox
;
wx
TextCtrl
*
m_linesWidth
;
wx
StaticText
*
m_textPenSize
;
wx
CheckBox
*
m_useGerberExtensions
;
wx
TextCtrl
*
m_HPGLPenSizeOpt
;
wx
CheckBox
*
m_excludeEdgeLayerOpt
;
wx
StaticText
*
m_textPenOvr
;
wx
CheckBox
*
m_subtractMaskFromSilk
;
wx
TextCtrl
*
m_HPGLPenOverlayOpt
;
wx
CheckBox
*
m_useAuxOriginCheckBox
;
wxStaticText
*
m_textPenS
peed
;
wxStaticText
*
m_textPenS
ize
;
wxTextCtrl
*
m_HPGLPenS
peedOpt
;
wxTextCtrl
*
m_HPGLPenS
izeOpt
;
wxStaticText
*
m_
staticText7
;
wxStaticText
*
m_
textPenOvr
;
wxTextCtrl
*
m_
fineAdjustXscaleOpt
;
wxTextCtrl
*
m_
HPGLPenOverlayOpt
;
wxStaticText
*
m_
staticText8
;
wxStaticText
*
m_
textPenSpeed
;
wxTextCtrl
*
m_
fineAdjustYscaleOpt
;
wxTextCtrl
*
m_
HPGLPenSpeedOpt
;
wx
CheckBox
*
m_plotPSNegativeOpt
;
wx
StaticText
*
m_staticText7
;
wx
StaticText
*
m_staticTextDir
;
wx
TextCtrl
*
m_fineAdjustXscaleOpt
;
wx
TextCtrl
*
m_outputDirectoryName
;
wx
StaticText
*
m_staticText8
;
wx
Button
*
m_browseButton
;
wx
TextCtrl
*
m_fineAdjustYscaleOpt
;
wx
StaticText
*
m_staticText2
;
wx
CheckBox
*
m_plotPSNegativeOpt
;
wx
TextCtrl
*
m_messagesBox
;
wx
StaticText
*
m_staticTextDir
;
wx
Button
*
m_plotButton
;
wx
TextCtrl
*
m_outputDirectoryName
;
wxButton
*
m_b
uttonSaveOpt
;
wxButton
*
m_b
rowseButton
;
wx
Button
*
m_buttonDrill
;
wx
StaticText
*
m_staticText2
;
wx
Button
*
m_buttonQuit
;
wx
TextCtrl
*
m_messagesBox
;
// Virtual event handlers, overide them in your derived class
// Virtual event handlers, overide them in your derived class
virtual
void
OnCloseWindow
(
wxCloseEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnCloseWindow
(
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
OnSetScaleOpt
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
Plot
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnOutputDirectoryBrowseClicked
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
applyPlotSettings
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
Plot
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
CreateDrillFile
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
applyPlotSettings
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnQuit
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
CreateDrillFile
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnSetScaleOpt
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
On
Quit
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
On
OutputDirectoryBrowseClicked
(
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
(
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
();
};
};
#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