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)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#ifndef __dialog_plot_base__
#define __dialog_plot_base__
#include <wx/intl.h>
#include <wx/string.h>
#include <wx/radiobox.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/
sizer.h>
#include <wx/s
tatbox.h>
#include <wx/
checkbox.h>
#include <wx/
stattext.h>
#include <wx/
choice.h>
#include <wx/
textctrl.h>
#include <wx/
button.h>
#include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_PLOT_BASE
///////////////////////////////////////////////////////////////////////////////
class
DIALOG_PLOT_BASE
:
public
wxDialog
{
private
:
protected
:
enum
{
ID_
ALLOW_PRINT_PAD_ON_SILKSCREEN
=
1000
,
ID_
PRINT_REF
,
ID_
MIROR_OPT
,
ID_
SAVE_OPT_PLOT
,
ID_
CREATE_DRILL_FILE
,
};
wxRadioBox
*
m_plotFormatOpt
;
wx
StaticBoxSizer
*
m_CopperLayersBoxSizer
;
wx
StaticBoxSizer
*
m_TechnicalLayersBoxSizer
;
wx
CheckBox
*
m_plotSheetRef
;
wx
CheckBox
*
m_plotPads_on_Silkscreen
;
wx
CheckBox
*
m_plotModuleValueOpt
;
wx
CheckBox
*
m_plotModuleRefOpt
;
wxCheckBox
*
m_plot
TextOther
;
wxCheckBox
*
m_plot
InvisibleText
;
wxCheckBox
*
m_plot
NoViaOnMaskOpt
;
wxCheckBox
*
m_plotM
irrorOpt
;
wx
StaticText
*
m_staticText11
;
wxCh
oice
*
m_drillShapeOpt
;
wx
StaticText
*
m_staticText12
;
wxCh
oice
*
m_scaleOpt
;
wxStaticText
*
m_staticText1
3
;
wxChoice
*
m_
plotModeOpt
;
wxStaticText
*
m_
textDefaultPenSize
;
wx
TextCtrl
*
m_linesWidth
;
wx
CheckBox
*
m_useGerberExtensions
;
wxCh
eckBox
*
m_excludeEdgeLayerOpt
;
wx
CheckBox
*
m_subtractMaskFromSilk
;
wx
CheckBox
*
m_useAuxOriginCheckBox
;
wx
StaticText
*
m_textPenSize
;
wx
TextCtrl
*
m_HPGLPenSizeOpt
;
wx
StaticText
*
m_textPenOvr
;
wx
TextCtrl
*
m_HPGLPenOverlayOpt
;
wxStaticText
*
m_textPenS
peed
;
wxTextCtrl
*
m_HPGLPenS
peedOpt
;
wxStaticText
*
m_
staticText7
;
wxTextCtrl
*
m_
fineAdjustXscaleOpt
;
wxStaticText
*
m_
staticText8
;
wxTextCtrl
*
m_
fineAdjustYscaleOpt
;
wx
CheckBox
*
m_plotPSNegativeOpt
;
wx
StaticText
*
m_staticTextDir
;
wx
TextCtrl
*
m_outputDirectoryName
;
wx
Button
*
m_browseButton
;
wx
StaticText
*
m_staticText2
;
wx
TextCtrl
*
m_messagesBox
;
wx
Button
*
m_plotButton
;
wxButton
*
m_b
uttonSaveOpt
;
wx
Button
*
m_buttonDrill
;
wx
Button
*
m_buttonQuit
;
// Virtual event handlers, overide them in your derived class
virtual
void
OnCloseWindow
(
wxCloseEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnInitDialog
(
wxInitDialogEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
SetPlotFormat
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnSetScaleOpt
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnOutputDirectoryBrowseClicked
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
Plot
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
applyPlotSettings
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
CreateDrillFile
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
On
Quit
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
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
();
};
#endif //__dialog_plot_base__
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Sep 8 2010)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#ifndef __dialog_plot_base__
#define __dialog_plot_base__
#include <wx/intl.h>
#include <wx/string.h>
#include <wx/radiobox.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/
button.h>
#include <wx/s
izer.h>
#include <wx/
statbox.h>
#include <wx/
checkbox.h>
#include <wx/
stattext.h>
#include <wx/
choice.h>
#include <wx/
textctrl.h>
#include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_PLOT_BASE
///////////////////////////////////////////////////////////////////////////////
class
DIALOG_PLOT_BASE
:
public
wxDialog
{
private
:
protected
:
enum
{
ID_
SAVE_OPT_PLOT
=
1000
,
ID_
CREATE_DRILL_FILE
,
ID_
ALLOW_PRINT_PAD_ON_SILKSCREEN
,
ID_
PRINT_REF
,
ID_
MIROR_OPT
,
};
wxRadioBox
*
m_plotFormatOpt
;
wx
Button
*
m_plotButton
;
wx
Button
*
m_buttonSaveOpt
;
wx
Button
*
m_buttonDrill
;
wx
Button
*
m_buttonQuit
;
wx
StaticBoxSizer
*
m_CopperLayersBoxSizer
;
wx
StaticBoxSizer
*
m_TechnicalLayersBoxSizer
;
wxCheckBox
*
m_plot
SheetRef
;
wxCheckBox
*
m_plot
Pads_on_Silkscreen
;
wxCheckBox
*
m_plot
ModuleValueOpt
;
wxCheckBox
*
m_plotM
oduleRefOpt
;
wx
CheckBox
*
m_plotTextOther
;
wxCh
eckBox
*
m_plotInvisibleText
;
wx
CheckBox
*
m_plotNoViaOnMaskOpt
;
wxCh
eckBox
*
m_plotMirrorOpt
;
wxStaticText
*
m_staticText1
1
;
wxChoice
*
m_
drillShapeOpt
;
wxStaticText
*
m_
staticText12
;
wx
Choice
*
m_scaleOpt
;
wx
StaticText
*
m_staticText13
;
wxCh
oice
*
m_plotModeOpt
;
wx
StaticText
*
m_textDefaultPenSize
;
wx
TextCtrl
*
m_linesWidth
;
wx
CheckBox
*
m_useGerberExtensions
;
wx
CheckBox
*
m_excludeEdgeLayerOpt
;
wx
CheckBox
*
m_subtractMaskFromSilk
;
wx
CheckBox
*
m_useAuxOriginCheckBox
;
wxStaticText
*
m_textPenS
ize
;
wxTextCtrl
*
m_HPGLPenS
izeOpt
;
wxStaticText
*
m_
textPenOvr
;
wxTextCtrl
*
m_
HPGLPenOverlayOpt
;
wxStaticText
*
m_
textPenSpeed
;
wxTextCtrl
*
m_
HPGLPenSpeedOpt
;
wx
StaticText
*
m_staticText7
;
wx
TextCtrl
*
m_fineAdjustXscaleOpt
;
wx
StaticText
*
m_staticText8
;
wx
TextCtrl
*
m_fineAdjustYscaleOpt
;
wx
CheckBox
*
m_plotPSNegativeOpt
;
wx
StaticText
*
m_staticTextDir
;
wx
TextCtrl
*
m_outputDirectoryName
;
wxButton
*
m_b
rowseButton
;
wx
StaticText
*
m_staticText2
;
wx
TextCtrl
*
m_messagesBox
;
// Virtual event handlers, overide them in your derived class
virtual
void
OnCloseWindow
(
wxCloseEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnInitDialog
(
wxInitDialogEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
SetPlotFormat
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
Plot
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
applyPlotSettings
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
CreateDrillFile
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnQuit
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnSetScaleOpt
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
On
OutputDirectoryBrowseClicked
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
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
();
};
#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