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
4882d545
Commit
4882d545
authored
Mar 28, 2012
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Libedit, dialog edit pin: fix wxDialogs tabbing order
parent
e356e6dc
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
319 additions
and
319 deletions
+319
-319
dialog_lib_edit_pin_base.cpp
eeschema/dialogs/dialog_lib_edit_pin_base.cpp
+216
-216
dialog_lib_edit_pin_base.fbp
eeschema/dialogs/dialog_lib_edit_pin_base.fbp
+2
-2
dialog_lib_edit_pin_base.h
eeschema/dialogs/dialog_lib_edit_pin_base.h
+101
-101
No files found.
eeschema/dialogs/dialog_lib_edit_pin_base.cpp
View file @
4882d545
This diff is collapsed.
Click to expand it.
eeschema/dialogs/dialog_lib_edit_pin_base.fbp
View file @
4882d545
...
@@ -296,7 +296,7 @@
...
@@ -296,7 +296,7 @@
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"show"
>
1
</property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
></property>
<property
name=
"size"
></property>
<property
name=
"style"
>
wxTE_PROCESS_TAB
</property>
<property
name=
"style"
></property>
<property
name=
"subclass"
></property>
<property
name=
"subclass"
></property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"tooltip"
></property>
<property
name=
"tooltip"
></property>
...
@@ -474,7 +474,7 @@
...
@@ -474,7 +474,7 @@
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"show"
>
1
</property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
></property>
<property
name=
"size"
></property>
<property
name=
"style"
>
wxTE_PROCESS_TAB
</property>
<property
name=
"style"
></property>
<property
name=
"subclass"
></property>
<property
name=
"subclass"
></property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"tooltip"
></property>
<property
name=
"tooltip"
></property>
...
...
eeschema/dialogs/dialog_lib_edit_pin_base.h
View file @
4882d545
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Mar 1
9 2012)
// C++ code generated with wxFormBuilder (version Mar 1
7 2012)
// http://www.wxformbuilder.org/
// http://www.wxformbuilder.org/
//
//
// PLEASE DO "NOT" EDIT THIS FILE!
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
#ifndef __DIALOG_LIB_EDIT_PIN_BASE_H__
#ifndef __DIALOG_LIB_EDIT_PIN_BASE_H__
#define __DIALOG_LIB_EDIT_PIN_BASE_H__
#define __DIALOG_LIB_EDIT_PIN_BASE_H__
#include <wx/artprov.h>
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/xrc/xmlres.h>
#include <wx/intl.h>
#include <wx/intl.h>
#include "wx/bmpcbox.h"
#include "wx/bmpcbox.h"
#include "dialog_shim.h"
#include "dialog_shim.h"
#include <wx/string.h>
#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/stattext.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/textctrl.h>
#include <wx/textctrl.h>
#include <wx/combobox.h>
#include <wx/combobox.h>
#include <wx/sizer.h>
#include <wx/sizer.h>
#include <wx/checkbox.h>
#include <wx/checkbox.h>
#include <wx/statbox.h>
#include <wx/statbox.h>
#include <wx/panel.h>
#include <wx/panel.h>
#include <wx/statline.h>
#include <wx/statline.h>
#include <wx/button.h>
#include <wx/button.h>
#include <wx/dialog.h>
#include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_LIB_EDIT_PIN_BASE
/// Class DIALOG_LIB_EDIT_PIN_BASE
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
class
DIALOG_LIB_EDIT_PIN_BASE
:
public
DIALOG_SHIM
class
DIALOG_LIB_EDIT_PIN_BASE
:
public
DIALOG_SHIM
{
{
private
:
private
:
protected
:
protected
:
enum
enum
{
{
ID_M_TEXTPINNAME
=
1000
,
ID_M_TEXTPINNAME
=
1000
,
ID_M_STATICTEXTPADNAME
,
ID_M_STATICTEXTPADNAME
,
ID_M_TEXTPADNAME
,
ID_M_TEXTPADNAME
,
ID_M_STATICTEXTNAMESIZE
,
ID_M_STATICTEXTNAMESIZE
,
ID_M_TEXTPINNAMETEXTSIZE
,
ID_M_TEXTPINNAMETEXTSIZE
,
ID_M_STATICNAMETEXTSIZEUNITS
,
ID_M_STATICNAMETEXTSIZEUNITS
,
ID_M_STATICTEXTPADNAMESIZE
,
ID_M_STATICTEXTPADNAMESIZE
,
ID_M_TEXTPADNAMETEXTSIZE
,
ID_M_TEXTPADNAMETEXTSIZE
,
ID_M_STATICNUMBERTEXTSIZEUNITS
,
ID_M_STATICNUMBERTEXTSIZEUNITS
,
ID_M_STATICTEXTPINLEN
,
ID_M_STATICTEXTPINLEN
,
ID_M_TEXTLENGTH
,
ID_M_TEXTLENGTH
,
ID_M_STATICLENGTHUNITS
ID_M_STATICLENGTHUNITS
};
};
wxStaticText
*
m_staticTextPinName
;
wxStaticText
*
m_staticTextPinName
;
wxTextCtrl
*
m_textPinName
;
wxTextCtrl
*
m_textPinName
;
wxStaticText
*
m_staticTextPadName
;
wxStaticText
*
m_staticTextPadName
;
wxTextCtrl
*
m_textPadName
;
wxTextCtrl
*
m_textPadName
;
wxStaticText
*
m_staticTextOrient
;
wxStaticText
*
m_staticTextOrient
;
wxBitmapComboBox
*
m_choiceOrientation
;
wxBitmapComboBox
*
m_choiceOrientation
;
wxStaticText
*
m_staticTextEType
;
wxStaticText
*
m_staticTextEType
;
wxBitmapComboBox
*
m_choiceElectricalType
;
wxBitmapComboBox
*
m_choiceElectricalType
;
wxStaticText
*
m_staticTextGstyle
;
wxStaticText
*
m_staticTextGstyle
;
wxBitmapComboBox
*
m_choiceStyle
;
wxBitmapComboBox
*
m_choiceStyle
;
wxCheckBox
*
m_checkApplyToAllParts
;
wxCheckBox
*
m_checkApplyToAllParts
;
wxCheckBox
*
m_checkApplyToAllConversions
;
wxCheckBox
*
m_checkApplyToAllConversions
;
wxCheckBox
*
m_checkShow
;
wxCheckBox
*
m_checkShow
;
wxStaticText
*
m_staticTextNameSize
;
wxStaticText
*
m_staticTextNameSize
;
wxTextCtrl
*
m_textPinNameTextSize
;
wxTextCtrl
*
m_textPinNameTextSize
;
wxStaticText
*
m_staticNameTextSizeUnits
;
wxStaticText
*
m_staticNameTextSizeUnits
;
wxStaticText
*
m_staticTextPadNameSize
;
wxStaticText
*
m_staticTextPadNameSize
;
wxTextCtrl
*
m_textPadNameTextSize
;
wxTextCtrl
*
m_textPadNameTextSize
;
wxStaticText
*
m_staticNumberTextSizeUnits
;
wxStaticText
*
m_staticNumberTextSizeUnits
;
wxStaticText
*
m_staticTextPinLen
;
wxStaticText
*
m_staticTextPinLen
;
wxTextCtrl
*
m_textLength
;
wxTextCtrl
*
m_textLength
;
wxStaticText
*
m_staticLengthUnits
;
wxStaticText
*
m_staticLengthUnits
;
wxPanel
*
m_panelShowPin
;
wxPanel
*
m_panelShowPin
;
wxStaticLine
*
m_staticline1
;
wxStaticLine
*
m_staticline1
;
wxStdDialogButtonSizer
*
m_sdbSizerButtons
;
wxStdDialogButtonSizer
*
m_sdbSizerButtons
;
wxButton
*
m_sdbSizerButtonsOK
;
wxButton
*
m_sdbSizerButtonsOK
;
wxButton
*
m_sdbSizerButtonsCancel
;
wxButton
*
m_sdbSizerButtonsCancel
;
// Virtual event handlers, overide them in your derived class
// Virtual event handlers, overide them in your derived class
virtual
void
OnCloseDialog
(
wxCloseEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnCloseDialog
(
wxCloseEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnPropertiesChange
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnPropertiesChange
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnPaintShowPanel
(
wxPaintEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnPaintShowPanel
(
wxPaintEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnCancelButtonClick
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnCancelButtonClick
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnOKButtonClick
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnOKButtonClick
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
public
:
public
:
DIALOG_LIB_EDIT_PIN_BASE
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"Pin Properties"
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
-
1
,
-
1
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
DIALOG_LIB_EDIT_PIN_BASE
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"Pin Properties"
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
-
1
,
-
1
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
~
DIALOG_LIB_EDIT_PIN_BASE
();
~
DIALOG_LIB_EDIT_PIN_BASE
();
};
};
#endif //__DIALOG_LIB_EDIT_PIN_BASE_H__
#endif //__DIALOG_LIB_EDIT_PIN_BASE_H__
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