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
155c2543
Commit
155c2543
authored
Jan 02, 2010
by
faa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update russian GUI, minor changes eol style
parent
27346c7e
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9176 additions
and
10068 deletions
+9176
-10068
kicad.mo
internat/ru/kicad.mo
+0
-0
kicad.po
internat/ru/kicad.po
+8550
-9442
dialog_global_pads_edition_base.cpp
pcbnew/dialog_global_pads_edition_base.cpp
+78
-78
dialog_global_pads_edition_base.fbp
pcbnew/dialog_global_pads_edition_base.fbp
+491
-491
dialog_global_pads_edition_base.h
pcbnew/dialog_global_pads_edition_base.h
+57
-57
No files found.
internat/ru/kicad.mo
View file @
155c2543
No preview for this file type
internat/ru/kicad.po
View file @
155c2543
This diff is collapsed.
Click to expand it.
pcbnew/dialog_global_pads_edition_base.cpp
View file @
155c2543
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Apr 16 2008)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#include "dialog_global_pads_edition_base.h"
///////////////////////////////////////////////////////////////////////////
DIALOG_GLOBAL_PADS_EDITION_BASE
::
DIALOG_GLOBAL_PADS_EDITION_BASE
(
wxWindow
*
parent
,
wxWindowID
id
,
const
wxString
&
title
,
const
wxPoint
&
pos
,
const
wxSize
&
size
,
long
style
)
:
wxDialog
(
parent
,
id
,
title
,
pos
,
size
,
style
)
{
this
->
SetSizeHints
(
wxDefaultSize
,
wxDefaultSize
);
wxBoxSizer
*
bMainSizer
;
bMainSizer
=
new
wxBoxSizer
(
wxHORIZONTAL
);
wxBoxSizer
*
bLeftSizer
;
bLeftSizer
=
new
wxBoxSizer
(
wxVERTICAL
);
wxStaticBoxSizer
*
sbSizer1
;
sbSizer1
=
new
wxStaticBoxSizer
(
new
wxStaticBox
(
this
,
wxID_ANY
,
wxT
(
"Pad Filter :"
)
),
wxVERTICAL
);
m_Pad_Shape_Filter_CB
=
new
wxCheckBox
(
this
,
wxID_ANY
,
wxT
(
"Do not modify pads having a different shape"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
sbSizer1
->
Add
(
m_Pad_Shape_Filter_CB
,
0
,
wxALL
,
5
);
m_Pad_Layer_Filter_CB
=
new
wxCheckBox
(
this
,
wxID_ANY
,
wxT
(
"Do not modify pads having different layers"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
sbSizer1
->
Add
(
m_Pad_Layer_Filter_CB
,
0
,
wxALL
,
5
);
m_Pad_Orient_Filter_CB
=
new
wxCheckBox
(
this
,
wxID_ANY
,
wxT
(
"Do not modify pads having a different orientation"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
sbSizer1
->
Add
(
m_Pad_Orient_Filter_CB
,
0
,
wxALL
,
5
);
bLeftSizer
->
Add
(
sbSizer1
,
1
,
wxEXPAND
,
5
);
bMainSizer
->
Add
(
bLeftSizer
,
1
,
wxEXPAND
,
5
);
wxBoxSizer
*
bRightSizer
;
bRightSizer
=
new
wxBoxSizer
(
wxVERTICAL
);
m_buttonPadEditor
=
new
wxButton
(
this
,
ID_CHANGE_GET_PAD_SETTINGS
,
wxT
(
"Pad Editor"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bRightSizer
->
Add
(
m_buttonPadEditor
,
0
,
wxALL
|
wxEXPAND
,
5
);
bRightSizer
->
Add
(
10
,
10
,
0
,
0
,
5
);
m_button2
=
new
wxButton
(
this
,
ID_CHANGE_CURRENT_MODULE
,
wxT
(
"Change Pads on Module"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bRightSizer
->
Add
(
m_button2
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_button3
=
new
wxButton
(
this
,
ID_CHANGE_ID_MODULES
,
wxT
(
"Change Pads on Same Modules"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bRightSizer
->
Add
(
m_button3
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_button4
=
new
wxButton
(
this
,
wxID_CANCEL
,
wxT
(
"Cancel"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bRightSizer
->
Add
(
m_button4
,
0
,
wxALL
|
wxEXPAND
,
5
);
bMainSizer
->
Add
(
bRightSizer
,
0
,
wxEXPAND
,
5
);
this
->
SetSizer
(
bMainSizer
);
this
->
Layout
();
// Connect Events
m_buttonPadEditor
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_GLOBAL_PADS_EDITION_BASE
::
InstallPadEditor
),
NULL
,
this
);
m_button2
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_GLOBAL_PADS_EDITION_BASE
::
PadPropertiesAccept
),
NULL
,
this
);
m_button3
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_GLOBAL_PADS_EDITION_BASE
::
PadPropertiesAccept
),
NULL
,
this
);
m_button4
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_GLOBAL_PADS_EDITION_BASE
::
OnCancelClick
),
NULL
,
this
);
}
DIALOG_GLOBAL_PADS_EDITION_BASE
::~
DIALOG_GLOBAL_PADS_EDITION_BASE
()
{
// Disconnect Events
m_buttonPadEditor
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_GLOBAL_PADS_EDITION_BASE
::
InstallPadEditor
),
NULL
,
this
);
m_button2
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_GLOBAL_PADS_EDITION_BASE
::
PadPropertiesAccept
),
NULL
,
this
);
m_button3
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_GLOBAL_PADS_EDITION_BASE
::
PadPropertiesAccept
),
NULL
,
this
);
m_button4
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_GLOBAL_PADS_EDITION_BASE
::
OnCancelClick
),
NULL
,
this
);
}
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Apr 16 2008)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#include "dialog_global_pads_edition_base.h"
///////////////////////////////////////////////////////////////////////////
DIALOG_GLOBAL_PADS_EDITION_BASE
::
DIALOG_GLOBAL_PADS_EDITION_BASE
(
wxWindow
*
parent
,
wxWindowID
id
,
const
wxString
&
title
,
const
wxPoint
&
pos
,
const
wxSize
&
size
,
long
style
)
:
wxDialog
(
parent
,
id
,
title
,
pos
,
size
,
style
)
{
this
->
SetSizeHints
(
wxDefaultSize
,
wxDefaultSize
);
wxBoxSizer
*
bMainSizer
;
bMainSizer
=
new
wxBoxSizer
(
wxHORIZONTAL
);
wxBoxSizer
*
bLeftSizer
;
bLeftSizer
=
new
wxBoxSizer
(
wxVERTICAL
);
wxStaticBoxSizer
*
sbSizer1
;
sbSizer1
=
new
wxStaticBoxSizer
(
new
wxStaticBox
(
this
,
wxID_ANY
,
_
(
"Pad Filter :"
)
),
wxVERTICAL
);
m_Pad_Shape_Filter_CB
=
new
wxCheckBox
(
this
,
wxID_ANY
,
_
(
"Do not modify pads having a different shape"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
sbSizer1
->
Add
(
m_Pad_Shape_Filter_CB
,
0
,
wxALL
,
5
);
m_Pad_Layer_Filter_CB
=
new
wxCheckBox
(
this
,
wxID_ANY
,
_
(
"Do not modify pads having different layers"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
sbSizer1
->
Add
(
m_Pad_Layer_Filter_CB
,
0
,
wxALL
,
5
);
m_Pad_Orient_Filter_CB
=
new
wxCheckBox
(
this
,
wxID_ANY
,
_
(
"Do not modify pads having a different orientation"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
sbSizer1
->
Add
(
m_Pad_Orient_Filter_CB
,
0
,
wxALL
,
5
);
bLeftSizer
->
Add
(
sbSizer1
,
1
,
wxEXPAND
,
5
);
bMainSizer
->
Add
(
bLeftSizer
,
1
,
wxEXPAND
,
5
);
wxBoxSizer
*
bRightSizer
;
bRightSizer
=
new
wxBoxSizer
(
wxVERTICAL
);
m_buttonPadEditor
=
new
wxButton
(
this
,
ID_CHANGE_GET_PAD_SETTINGS
,
_
(
"Pad Editor"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bRightSizer
->
Add
(
m_buttonPadEditor
,
0
,
wxALL
|
wxEXPAND
,
5
);
bRightSizer
->
Add
(
10
,
10
,
0
,
0
,
5
);
m_button2
=
new
wxButton
(
this
,
ID_CHANGE_CURRENT_MODULE
,
_
(
"Change Pads on Module"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bRightSizer
->
Add
(
m_button2
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_button3
=
new
wxButton
(
this
,
ID_CHANGE_ID_MODULES
,
_
(
"Change Pads on Same Modules"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bRightSizer
->
Add
(
m_button3
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_button4
=
new
wxButton
(
this
,
wxID_CANCEL
,
_
(
"Cancel"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bRightSizer
->
Add
(
m_button4
,
0
,
wxALL
|
wxEXPAND
,
5
);
bMainSizer
->
Add
(
bRightSizer
,
0
,
wxEXPAND
,
5
);
this
->
SetSizer
(
bMainSizer
);
this
->
Layout
();
// Connect Events
m_buttonPadEditor
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_GLOBAL_PADS_EDITION_BASE
::
InstallPadEditor
),
NULL
,
this
);
m_button2
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_GLOBAL_PADS_EDITION_BASE
::
PadPropertiesAccept
),
NULL
,
this
);
m_button3
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_GLOBAL_PADS_EDITION_BASE
::
PadPropertiesAccept
),
NULL
,
this
);
m_button4
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_GLOBAL_PADS_EDITION_BASE
::
OnCancelClick
),
NULL
,
this
);
}
DIALOG_GLOBAL_PADS_EDITION_BASE
::~
DIALOG_GLOBAL_PADS_EDITION_BASE
()
{
// Disconnect Events
m_buttonPadEditor
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_GLOBAL_PADS_EDITION_BASE
::
InstallPadEditor
),
NULL
,
this
);
m_button2
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_GLOBAL_PADS_EDITION_BASE
::
PadPropertiesAccept
),
NULL
,
this
);
m_button3
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_GLOBAL_PADS_EDITION_BASE
::
PadPropertiesAccept
),
NULL
,
this
);
m_button4
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_GLOBAL_PADS_EDITION_BASE
::
OnCancelClick
),
NULL
,
this
);
}
pcbnew/dialog_global_pads_edition_base.fbp
View file @
155c2543
This diff is collapsed.
Click to expand it.
pcbnew/dialog_global_pads_edition_base.h
View file @
155c2543
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Apr 16 2008)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#ifndef __dialog_global_pads_edition_base__
#define __dialog_global_pads_edition_base__
#include <wx/string.h>
#include <wx/checkbox.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/sizer.h>
#include <wx/statbox.h>
#include <wx/button.h>
#include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
#define ID_CHANGE_GET_PAD_SETTINGS 1000
#define ID_CHANGE_CURRENT_MODULE 1001
#define ID_CHANGE_ID_MODULES 1002
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_GLOBAL_PADS_EDITION_BASE
///////////////////////////////////////////////////////////////////////////////
class
DIALOG_GLOBAL_PADS_EDITION_BASE
:
public
wxDialog
{
private
:
protected
:
wxCheckBox
*
m_Pad_Shape_Filter_CB
;
wxCheckBox
*
m_Pad_Layer_Filter_CB
;
wxCheckBox
*
m_Pad_Orient_Filter_CB
;
wxButton
*
m_buttonPadEditor
;
wxButton
*
m_button2
;
wxButton
*
m_button3
;
wxButton
*
m_button4
;
// Virtual event handlers, overide them in your derived class
virtual
void
InstallPadEditor
(
wxCommandEvent
&
event
){
event
.
Skip
();
}
virtual
void
PadPropertiesAccept
(
wxCommandEvent
&
event
){
event
.
Skip
();
}
virtual
void
OnCancelClick
(
wxCommandEvent
&
event
){
event
.
Skip
();
}
public
:
DIALOG_GLOBAL_PADS_EDITION_BASE
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
wxT
(
"Global Pads Edition"
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
482
,
165
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
~
DIALOG_GLOBAL_PADS_EDITION_BASE
();
};
#endif //__dialog_global_pads_edition_base__
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Apr 16 2008)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#ifndef __dialog_global_pads_edition_base__
#define __dialog_global_pads_edition_base__
#include <wx/string.h>
#include <wx/checkbox.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/sizer.h>
#include <wx/statbox.h>
#include <wx/button.h>
#include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
#define ID_CHANGE_GET_PAD_SETTINGS 1000
#define ID_CHANGE_CURRENT_MODULE 1001
#define ID_CHANGE_ID_MODULES 1002
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_GLOBAL_PADS_EDITION_BASE
///////////////////////////////////////////////////////////////////////////////
class
DIALOG_GLOBAL_PADS_EDITION_BASE
:
public
wxDialog
{
private
:
protected
:
wxCheckBox
*
m_Pad_Shape_Filter_CB
;
wxCheckBox
*
m_Pad_Layer_Filter_CB
;
wxCheckBox
*
m_Pad_Orient_Filter_CB
;
wxButton
*
m_buttonPadEditor
;
wxButton
*
m_button2
;
wxButton
*
m_button3
;
wxButton
*
m_button4
;
// Virtual event handlers, overide them in your derived class
virtual
void
InstallPadEditor
(
wxCommandEvent
&
event
){
event
.
Skip
();
}
virtual
void
PadPropertiesAccept
(
wxCommandEvent
&
event
){
event
.
Skip
();
}
virtual
void
OnCancelClick
(
wxCommandEvent
&
event
){
event
.
Skip
();
}
public
:
DIALOG_GLOBAL_PADS_EDITION_BASE
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"Global Pads Edition"
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
482
,
165
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
~
DIALOG_GLOBAL_PADS_EDITION_BASE
();
};
#endif //__dialog_global_pads_edition_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