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
c1fbc8ef
Commit
c1fbc8ef
authored
Mar 04, 2013
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Plain Diff
Pcbnew, module edit dialogs: fix some "cosmetic" issues.
parents
fa869a96
88e50d9d
Changes
9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1666 additions
and
900 deletions
+1666
-900
install.nsi
packaging/windows/nsis/install.nsi
+2
-2
dialog_edit_module_for_BoardEditor.cpp
pcbnew/dialogs/dialog_edit_module_for_BoardEditor.cpp
+5
-5
dialog_edit_module_for_BoardEditor_base.cpp
pcbnew/dialogs/dialog_edit_module_for_BoardEditor_base.cpp
+72
-65
dialog_edit_module_for_BoardEditor_base.fbp
pcbnew/dialogs/dialog_edit_module_for_BoardEditor_base.fbp
+838
-457
dialog_edit_module_for_BoardEditor_base.h
pcbnew/dialogs/dialog_edit_module_for_BoardEditor_base.h
+11
-6
dialog_edit_module_for_Modedit.cpp
pcbnew/dialogs/dialog_edit_module_for_Modedit.cpp
+3
-3
dialog_edit_module_for_Modedit_base.cpp
pcbnew/dialogs/dialog_edit_module_for_Modedit_base.cpp
+45
-44
dialog_edit_module_for_Modedit_base.fbp
pcbnew/dialogs/dialog_edit_module_for_Modedit_base.fbp
+681
-314
dialog_edit_module_for_Modedit_base.h
pcbnew/dialogs/dialog_edit_module_for_Modedit_base.h
+9
-4
No files found.
packaging/windows/nsis/install.nsi
View file @
c1fbc8ef
...
...
@@ -17,7 +17,7 @@
; General Product Description Definitions
!define PRODUCT_NAME "KiCad"
!define PRODUCT_VERSION "2013.0
2.27
"
!define PRODUCT_VERSION "2013.0
3.04
"
!define PRODUCT_WEB_SITE "http://iut-tice.ujf-grenoble.fr/kicad/"
!define SOURCEFORGE_WEB_SITE "http://kicad.sourceforge.net/"
!define COMPANY_NAME ""
...
...
@@ -36,7 +36,7 @@ SetCompressor /final /solid lzma
CRCCheck force
XPStyle on
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "${PRODUCT_NAME}_stable-${PRODUCT_VERSION}-BZR39
76
_Win_full_version.exe"
OutFile "${PRODUCT_NAME}_stable-${PRODUCT_VERSION}-BZR39
82
_Win_full_version.exe"
InstallDir "$PROGRAMFILES\KiCad"
ShowInstDetails hide
ShowUnInstDetails hide
...
...
pcbnew/dialogs/dialog_edit_module_for_BoardEditor.cpp
View file @
c1fbc8ef
...
...
@@ -89,10 +89,10 @@ DIALOG_MODULE_BOARD_EDITOR::~DIALOG_MODULE_BOARD_EDITOR()
void
DIALOG_MODULE_BOARD_EDITOR
::
InitBoardProperties
()
{
PutValueInLocalUnits
(
*
m_ModPositionX
,
m_CurrentModule
->
GetPosition
().
x
);
AddUnitSymbol
(
*
XPositionStatic
,
g_UserUnit
);
m_XPosUnit
->
SetLabel
(
GetAbbreviatedUnitsLabel
(
g_UserUnit
)
);
PutValueInLocalUnits
(
*
m_ModPositionY
,
m_CurrentModule
->
GetPosition
().
y
);
AddUnitSymbol
(
*
YPositionStatic
,
g_UserUnit
);
m_YPosUnit
->
SetLabel
(
GetAbbreviatedUnitsLabel
(
g_UserUnit
)
);
m_LayerCtrl
->
SetSelection
(
(
m_CurrentModule
->
GetLayer
()
==
LAYER_N_BACK
)
?
1
:
0
);
...
...
@@ -131,9 +131,9 @@ void DIALOG_MODULE_BOARD_EDITOR::InitBoardProperties()
m_OrientValue
->
Enable
(
select
);
// Initialize dialog relative to masks clearances
m_NetClearanceUnits
->
SetLabel
(
GetUnitsLabel
(
g_UserUnit
)
);
m_SolderMaskMarginUnits
->
SetLabel
(
GetUnitsLabel
(
g_UserUnit
)
);
m_SolderPasteMarginUnits
->
SetLabel
(
GetUnitsLabel
(
g_UserUnit
)
);
m_NetClearanceUnits
->
SetLabel
(
Get
Abbreviated
UnitsLabel
(
g_UserUnit
)
);
m_SolderMaskMarginUnits
->
SetLabel
(
Get
Abbreviated
UnitsLabel
(
g_UserUnit
)
);
m_SolderPasteMarginUnits
->
SetLabel
(
Get
Abbreviated
UnitsLabel
(
g_UserUnit
)
);
PutValueInLocalUnits
(
*
m_NetClearanceValueCtrl
,
m_CurrentModule
->
GetLocalClearance
()
);
PutValueInLocalUnits
(
*
m_SolderMaskMarginCtrl
,
m_CurrentModule
->
GetLocalSolderMaskMargin
()
);
...
...
pcbnew/dialogs/dialog_edit_module_for_BoardEditor_base.cpp
View file @
c1fbc8ef
This diff is collapsed.
Click to expand it.
pcbnew/dialogs/dialog_edit_module_for_BoardEditor_base.fbp
View file @
c1fbc8ef
This diff is collapsed.
Click to expand it.
pcbnew/dialogs/dialog_edit_module_for_BoardEditor_base.h
View file @
c1fbc8ef
...
...
@@ -15,17 +15,17 @@ class DIALOG_SHIM;
#include "dialog_shim.h"
#include <wx/string.h>
#include <wx/
textctrl
.h>
#include <wx/
stattext
.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/textctrl.h>
#include <wx/button.h>
#include <wx/sizer.h>
#include <wx/statbox.h>
#include <wx/radiobox.h>
#include <wx/stattext.h>
#include <wx/slider.h>
#include <wx/statbox.h>
#include <wx/choice.h>
#include <wx/statline.h>
#include <wx/panel.h>
...
...
@@ -58,18 +58,23 @@ class DIALOG_MODULE_BOARD_EDITOR_BASE : public DIALOG_SHIM
protected
:
wxNotebook
*
m_NoteBook
;
wxPanel
*
m_PanelProperties
;
wxStaticText
*
m_staticTextRef
;
wxTextCtrl
*
m_ReferenceCtrl
;
wxButton
*
m_button4
;
wxStaticText
*
m_staticTextVal
;
wxTextCtrl
*
m_ValueCtrl
;
wxButton
*
m_button5
;
wxRadioBox
*
m_LayerCtrl
;
wxRadioBox
*
m_OrientCtrl
;
wxStaticText
*
m_staticText4
;
wxTextCtrl
*
m_OrientValue
;
wxStaticText
*
XPositionStatic
;
wxStaticText
*
m_staticTextPos
;
wxStaticText
*
m_XPosLabel
;
wxTextCtrl
*
m_ModPositionX
;
wxStaticText
*
YPositionStatic
;
wxStaticText
*
m_XPosUnit
;
wxStaticText
*
m_YPosLabel
;
wxTextCtrl
*
m_ModPositionY
;
wxStaticText
*
m_YPosUnit
;
wxButton
*
m_buttonExchange
;
wxButton
*
m_buttonModuleEditor
;
wxRadioBox
*
m_AttributsCtrl
;
...
...
@@ -123,7 +128,7 @@ class DIALOG_MODULE_BOARD_EDITOR_BASE : public DIALOG_SHIM
public
:
wxStaticBoxSizer
*
m_Sizer3DValues
;
DIALOG_MODULE_BOARD_EDITOR_BASE
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"Module Properties"
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
-
1
,
-
1
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
DIALOG_MODULE_BOARD_EDITOR_BASE
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"Module Properties"
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
499
,
56
1
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
~
DIALOG_MODULE_BOARD_EDITOR_BASE
();
};
...
...
pcbnew/dialogs/dialog_edit_module_for_Modedit.cpp
View file @
c1fbc8ef
...
...
@@ -168,9 +168,9 @@ void DIALOG_MODULE_MODULE_EDITOR::initModeditProperties()
m_Sizer3DValues
->
Add
(
BoxSizer
,
0
,
wxGROW
|
wxALL
,
5
);
// Initialize dialog relative to masks clearances
m_NetClearanceUnits
->
SetLabel
(
GetUnitsLabel
(
g_UserUnit
)
);
m_SolderMaskMarginUnits
->
SetLabel
(
GetUnitsLabel
(
g_UserUnit
)
);
m_SolderPasteMarginUnits
->
SetLabel
(
GetUnitsLabel
(
g_UserUnit
)
);
m_NetClearanceUnits
->
SetLabel
(
Get
Abbreviated
UnitsLabel
(
g_UserUnit
)
);
m_SolderMaskMarginUnits
->
SetLabel
(
Get
Abbreviated
UnitsLabel
(
g_UserUnit
)
);
m_SolderPasteMarginUnits
->
SetLabel
(
Get
Abbreviated
UnitsLabel
(
g_UserUnit
)
);
wxString
msg
;
PutValueInLocalUnits
(
*
m_NetClearanceValueCtrl
,
m_currentModule
->
GetLocalClearance
()
);
...
...
pcbnew/dialogs/dialog_edit_module_for_Modedit_base.cpp
View file @
c1fbc8ef
This diff is collapsed.
Click to expand it.
pcbnew/dialogs/dialog_edit_module_for_Modedit_base.fbp
View file @
c1fbc8ef
This diff is collapsed.
Click to expand it.
pcbnew/dialogs/dialog_edit_module_for_Modedit_base.h
View file @
c1fbc8ef
...
...
@@ -15,16 +15,16 @@ class DIALOG_SHIM;
#include "dialog_shim.h"
#include <wx/string.h>
#include <wx/
textctrl
.h>
#include <wx/
stattext
.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/textctrl.h>
#include <wx/button.h>
#include <wx/sizer.h>
#include <wx/statbox.h>
#include <wx/button.h>
#include <wx/radiobox.h>
#include <wx/stattext.h>
#include <wx/slider.h>
#include <wx/statline.h>
#include <wx/panel.h>
...
...
@@ -53,12 +53,17 @@ class DIALOG_MODULE_MODULE_EDITOR_BASE : public DIALOG_SHIM
protected
:
wxNotebook
*
m_NoteBook
;
wxPanel
*
m_PanelProperties
;
wxStaticText
*
m_staticTextDoc
;
wxTextCtrl
*
m_DocCtrl
;
wxStaticText
*
m_staticTextKeywords
;
wxTextCtrl
*
m_KeywordCtrl
;
wxStaticText
*
m_staticTextRef
;
wxTextCtrl
*
m_ReferenceCtrl
;
wxButton
*
m_button4
;
wxStaticText
*
m_staticTextVal
;
wxTextCtrl
*
m_ValueCtrl
;
wxButton
*
m_button5
;
wxStaticText
*
m_staticTextFp
;
wxTextCtrl
*
m_FootprintNameCtrl
;
wxRadioBox
*
m_AttributsCtrl
;
wxRadioBox
*
m_AutoPlaceCtrl
;
...
...
@@ -104,7 +109,7 @@ class DIALOG_MODULE_MODULE_EDITOR_BASE : public DIALOG_SHIM
public
:
wxStaticBoxSizer
*
m_Sizer3DValues
;
DIALOG_MODULE_MODULE_EDITOR_BASE
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"Module Properties"
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
-
1
,
-
1
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
DIALOG_MODULE_MODULE_EDITOR_BASE
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"Module Properties"
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
486
,
462
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
~
DIALOG_MODULE_MODULE_EDITOR_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