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
44c3ef1f
Commit
44c3ef1f
authored
Apr 18, 2011
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make pin editor dialog resizable
parent
5679e675
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
106 additions
and
18 deletions
+106
-18
dialog_lib_edit_pin_base.cpp
eeschema/dialogs/dialog_lib_edit_pin_base.cpp
+12
-8
dialog_lib_edit_pin_base.fbp
eeschema/dialogs/dialog_lib_edit_pin_base.fbp
+91
-9
dialog_lib_edit_pin_base.h
eeschema/dialogs/dialog_lib_edit_pin_base.h
+3
-1
No files found.
eeschema/dialogs/dialog_lib_edit_pin_base.cpp
View file @
44c3ef1f
...
@@ -24,6 +24,8 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
...
@@ -24,6 +24,8 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
wxFlexGridSizer
*
fgSizer1
;
wxFlexGridSizer
*
fgSizer1
;
fgSizer1
=
new
wxFlexGridSizer
(
5
,
6
,
0
,
0
);
fgSizer1
=
new
wxFlexGridSizer
(
5
,
6
,
0
,
0
);
fgSizer1
->
AddGrowableCol
(
1
);
fgSizer1
->
AddGrowableCol
(
4
);
fgSizer1
->
SetFlexibleDirection
(
wxBOTH
);
fgSizer1
->
SetFlexibleDirection
(
wxBOTH
);
fgSizer1
->
SetNonFlexibleGrowMode
(
wxFLEX_GROWMODE_ALL
);
fgSizer1
->
SetNonFlexibleGrowMode
(
wxFLEX_GROWMODE_ALL
);
...
@@ -42,7 +44,7 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
...
@@ -42,7 +44,7 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
fgSizer1
->
Add
(
m_staticTextNameSize
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
fgSizer1
->
Add
(
m_staticTextNameSize
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
m_textPinNameTextSize
=
new
wxTextCtrl
(
this
,
ID_M_TEXTPINNAMETEXTSIZE
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_textPinNameTextSize
=
new
wxTextCtrl
(
this
,
ID_M_TEXTPINNAMETEXTSIZE
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
fgSizer1
->
Add
(
m_textPinNameTextSize
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
fgSizer1
->
Add
(
m_textPinNameTextSize
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
|
wxEXPAND
,
3
);
m_staticNameTextSizeUnits
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"units"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticNameTextSizeUnits
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"units"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticNameTextSizeUnits
->
Wrap
(
-
1
);
m_staticNameTextSizeUnits
->
Wrap
(
-
1
);
...
@@ -65,7 +67,7 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
...
@@ -65,7 +67,7 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
fgSizer1
->
Add
(
m_staticTextPadNameSize
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
fgSizer1
->
Add
(
m_staticTextPadNameSize
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
m_textPadNameTextSize
=
new
wxTextCtrl
(
this
,
ID_M_TEXTPADNAMETEXTSIZE
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_textPadNameTextSize
=
new
wxTextCtrl
(
this
,
ID_M_TEXTPADNAMETEXTSIZE
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
fgSizer1
->
Add
(
m_textPadNameTextSize
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
fgSizer1
->
Add
(
m_textPadNameTextSize
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
|
wxEXPAND
,
3
);
m_staticNumberTextSizeUnits
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"units"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticNumberTextSizeUnits
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"units"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticNumberTextSizeUnits
->
Wrap
(
-
1
);
m_staticNumberTextSizeUnits
->
Wrap
(
-
1
);
...
@@ -76,7 +78,7 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
...
@@ -76,7 +78,7 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
fgSizer1
->
Add
(
m_staticTextOrient
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
fgSizer1
->
Add
(
m_staticTextOrient
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
m_choiceOrientation
=
new
wxBitmapComboBox
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
,
NULL
,
0
);
m_choiceOrientation
=
new
wxBitmapComboBox
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
,
NULL
,
0
);
fgSizer1
->
Add
(
m_choiceOrientation
,
0
,
wxALL
,
5
);
fgSizer1
->
Add
(
m_choiceOrientation
,
0
,
wxALL
|
wxEXPAND
,
5
);
fgSizer1
->
Add
(
15
,
0
,
1
,
wxEXPAND
,
3
);
fgSizer1
->
Add
(
15
,
0
,
1
,
wxEXPAND
,
3
);
...
@@ -86,7 +88,7 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
...
@@ -86,7 +88,7 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
fgSizer1
->
Add
(
m_staticTextPinLen
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
fgSizer1
->
Add
(
m_staticTextPinLen
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
m_textLength
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_textLength
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
fgSizer1
->
Add
(
m_textLength
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
fgSizer1
->
Add
(
m_textLength
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
|
wxEXPAND
,
3
);
m_staticLengthUnits
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"units"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticLengthUnits
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"units"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticLengthUnits
->
Wrap
(
-
1
);
m_staticLengthUnits
->
Wrap
(
-
1
);
...
@@ -99,7 +101,7 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
...
@@ -99,7 +101,7 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
fgSizer1
->
Add
(
m_staticTextEType
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
fgSizer1
->
Add
(
m_staticTextEType
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
m_choiceElectricalType
=
new
wxBitmapComboBox
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
,
NULL
,
0
);
m_choiceElectricalType
=
new
wxBitmapComboBox
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
,
NULL
,
0
);
fgSizer1
->
Add
(
m_choiceElectricalType
,
0
,
wxALL
,
5
);
fgSizer1
->
Add
(
m_choiceElectricalType
,
0
,
wxALL
|
wxEXPAND
,
5
);
fgSizer1
->
Add
(
0
,
0
,
1
,
wxEXPAND
,
3
);
fgSizer1
->
Add
(
0
,
0
,
1
,
wxEXPAND
,
3
);
...
@@ -118,7 +120,7 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
...
@@ -118,7 +120,7 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
fgSizer1
->
Add
(
m_staticTextGstyle
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
fgSizer1
->
Add
(
m_staticTextGstyle
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
m_choiceStyle
=
new
wxBitmapComboBox
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
,
NULL
,
0
);
m_choiceStyle
=
new
wxBitmapComboBox
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
,
NULL
,
0
);
fgSizer1
->
Add
(
m_choiceStyle
,
0
,
wxALL
,
5
);
fgSizer1
->
Add
(
m_choiceStyle
,
0
,
wxALL
|
wxEXPAND
,
5
);
fgSizer1
->
Add
(
0
,
0
,
1
,
wxEXPAND
,
3
);
fgSizer1
->
Add
(
0
,
0
,
1
,
wxEXPAND
,
3
);
...
@@ -129,7 +131,7 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
...
@@ -129,7 +131,7 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
fgSizer1
->
Add
(
0
,
0
,
1
,
wxEXPAND
,
5
);
fgSizer1
->
Add
(
0
,
0
,
1
,
wxEXPAND
,
5
);
mainSizer
->
Add
(
fgSizer1
,
0
,
wxALL
|
wxEXPAND
,
12
);
mainSizer
->
Add
(
fgSizer1
,
1
,
wxALL
|
wxEXPAND
,
12
);
wxBoxSizer
*
boarderSizer
;
wxBoxSizer
*
boarderSizer
;
boarderSizer
=
new
wxBoxSizer
(
wxVERTICAL
);
boarderSizer
=
new
wxBoxSizer
(
wxVERTICAL
);
...
@@ -147,6 +149,9 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
...
@@ -147,6 +149,9 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
boarderSizer
->
Add
(
0
,
5
,
0
,
wxALL
|
wxEXPAND
,
10
);
boarderSizer
->
Add
(
0
,
5
,
0
,
wxALL
|
wxEXPAND
,
10
);
m_staticline1
=
new
wxStaticLine
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
wxLI_HORIZONTAL
);
boarderSizer
->
Add
(
m_staticline1
,
0
,
wxEXPAND
|
wxBOTTOM
|
wxRIGHT
|
wxLEFT
,
5
);
m_sdbSizerButtons
=
new
wxStdDialogButtonSizer
();
m_sdbSizerButtons
=
new
wxStdDialogButtonSizer
();
m_sdbSizerButtonsOK
=
new
wxButton
(
this
,
wxID_OK
);
m_sdbSizerButtonsOK
=
new
wxButton
(
this
,
wxID_OK
);
m_sdbSizerButtons
->
AddButton
(
m_sdbSizerButtonsOK
);
m_sdbSizerButtons
->
AddButton
(
m_sdbSizerButtonsOK
);
...
@@ -159,7 +164,6 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
...
@@ -159,7 +164,6 @@ DIALOG_LIB_EDIT_PIN_BASE::DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID
this
->
SetSizer
(
mainSizer
);
this
->
SetSizer
(
mainSizer
);
this
->
Layout
();
this
->
Layout
();
mainSizer
->
Fit
(
this
);
this
->
Centre
(
wxBOTH
);
this
->
Centre
(
wxBOTH
);
}
}
...
...
eeschema/dialogs/dialog_lib_edit_pin_base.fbp
View file @
44c3ef1f
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"row"
></property>
<property
name=
"row"
></property>
<property
name=
"show"
>
1
</property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
></property>
<property
name=
"size"
>
487,344
</property>
<property
name=
"style"
>
wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER
</property>
<property
name=
"style"
>
wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER
</property>
<property
name=
"subclass"
></property>
<property
name=
"subclass"
></property>
<property
name=
"title"
>
Pin Properties
</property>
<property
name=
"title"
>
Pin Properties
</property>
...
@@ -116,11 +116,11 @@
...
@@ -116,11 +116,11 @@
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
12
</property>
<property
name=
"border"
>
12
</property>
<property
name=
"flag"
>
wxALL|wxEXPAND
</property>
<property
name=
"flag"
>
wxALL|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
1
</property>
<object
class=
"wxFlexGridSizer"
expanded=
"1"
>
<object
class=
"wxFlexGridSizer"
expanded=
"1"
>
<property
name=
"cols"
>
6
</property>
<property
name=
"cols"
>
6
</property>
<property
name=
"flexible_direction"
>
wxBOTH
</property>
<property
name=
"flexible_direction"
>
wxBOTH
</property>
<property
name=
"growablecols"
></property>
<property
name=
"growablecols"
>
1,4
</property>
<property
name=
"growablerows"
></property>
<property
name=
"growablerows"
></property>
<property
name=
"hgap"
>
0
</property>
<property
name=
"hgap"
>
0
</property>
<property
name=
"minimum_size"
></property>
<property
name=
"minimum_size"
></property>
...
@@ -397,7 +397,7 @@
...
@@ -397,7 +397,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
3
</property>
<property
name=
"border"
>
3
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxALL
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxALL
|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxTextCtrl"
expanded=
"1"
>
<object
class=
"wxTextCtrl"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -835,7 +835,7 @@
...
@@ -835,7 +835,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
3
</property>
<property
name=
"border"
>
3
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxALL
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxALL
|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxTextCtrl"
expanded=
"1"
>
<object
class=
"wxTextCtrl"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -1091,7 +1091,7 @@
...
@@ -1091,7 +1091,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"flag"
>
wxALL
|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxComboBox"
expanded=
"1"
>
<object
class=
"wxComboBox"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -1272,7 +1272,7 @@
...
@@ -1272,7 +1272,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
3
</property>
<property
name=
"border"
>
3
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxALL
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxALL
|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxTextCtrl"
expanded=
"1"
>
<object
class=
"wxTextCtrl"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -1528,7 +1528,7 @@
...
@@ -1528,7 +1528,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"flag"
>
wxALL
|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxComboBox"
expanded=
"1"
>
<object
class=
"wxComboBox"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -1739,7 +1739,7 @@
...
@@ -1739,7 +1739,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"flag"
>
wxALL
|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxComboBox"
expanded=
"1"
>
<object
class=
"wxComboBox"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -2130,6 +2130,88 @@
...
@@ -2130,6 +2130,88 @@
<property
name=
"width"
>
0
</property>
<property
name=
"width"
>
0
</property>
</object>
</object>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticLine"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
<property
name=
"TopDockable"
>
1
</property>
<property
name=
"aui_name"
></property>
<property
name=
"bg"
></property>
<property
name=
"caption"
></property>
<property
name=
"caption_visible"
>
1
</property>
<property
name=
"center_pane"
>
0
</property>
<property
name=
"close_button"
>
1
</property>
<property
name=
"context_help"
></property>
<property
name=
"context_menu"
>
1
</property>
<property
name=
"default_pane"
>
0
</property>
<property
name=
"dock"
>
Dock
</property>
<property
name=
"dock_fixed"
>
0
</property>
<property
name=
"docking"
>
Left
</property>
<property
name=
"enabled"
>
1
</property>
<property
name=
"fg"
></property>
<property
name=
"floatable"
>
1
</property>
<property
name=
"font"
></property>
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"layer"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
<property
name=
"minimize_button"
>
0
</property>
<property
name=
"minimum_size"
></property>
<property
name=
"moveable"
>
1
</property>
<property
name=
"name"
>
m_staticline1
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"pane_position"
></property>
<property
name=
"pane_size"
></property>
<property
name=
"permission"
>
protected
</property>
<property
name=
"pin_button"
>
1
</property>
<property
name=
"pos"
></property>
<property
name=
"position"
></property>
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"row"
></property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
></property>
<property
name=
"style"
>
wxLI_HORIZONTAL
</property>
<property
name=
"subclass"
></property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"tooltip"
></property>
<property
name=
"validator_data_type"
></property>
<property
name=
"validator_style"
>
wxFILTER_NONE
</property>
<property
name=
"validator_type"
>
wxDefaultValidator
</property>
<property
name=
"validator_variable"
></property>
<property
name=
"window_extra_style"
></property>
<property
name=
"window_name"
></property>
<property
name=
"window_style"
></property>
<event
name=
"OnChar"
></event>
<event
name=
"OnEnterWindow"
></event>
<event
name=
"OnEraseBackground"
></event>
<event
name=
"OnKeyDown"
></event>
<event
name=
"OnKeyUp"
></event>
<event
name=
"OnKillFocus"
></event>
<event
name=
"OnLeaveWindow"
></event>
<event
name=
"OnLeftDClick"
></event>
<event
name=
"OnLeftDown"
></event>
<event
name=
"OnLeftUp"
></event>
<event
name=
"OnMiddleDClick"
></event>
<event
name=
"OnMiddleDown"
></event>
<event
name=
"OnMiddleUp"
></event>
<event
name=
"OnMotion"
></event>
<event
name=
"OnMouseEvents"
></event>
<event
name=
"OnMouseWheel"
></event>
<event
name=
"OnPaint"
></event>
<event
name=
"OnRightDClick"
></event>
<event
name=
"OnRightDown"
></event>
<event
name=
"OnRightUp"
></event>
<event
name=
"OnSetFocus"
></event>
<event
name=
"OnSize"
></event>
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
0
</property>
<property
name=
"border"
>
0
</property>
<property
name=
"flag"
>
wxALL|wxEXPAND
</property>
<property
name=
"flag"
>
wxALL|wxEXPAND
</property>
...
...
eeschema/dialogs/dialog_lib_edit_pin_base.h
View file @
44c3ef1f
...
@@ -22,6 +22,7 @@ class wxBitmapComboBox;
...
@@ -22,6 +22,7 @@ class wxBitmapComboBox;
#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/statline.h>
#include <wx/button.h>
#include <wx/button.h>
#include <wx/dialog.h>
#include <wx/dialog.h>
...
@@ -83,6 +84,7 @@ class DIALOG_LIB_EDIT_PIN_BASE : public wxDialog
...
@@ -83,6 +84,7 @@ class DIALOG_LIB_EDIT_PIN_BASE : public wxDialog
wxCheckBox
*
m_checkApplyToAllConversions
;
wxCheckBox
*
m_checkApplyToAllConversions
;
wxCheckBox
*
m_checkShow
;
wxCheckBox
*
m_checkShow
;
wxStaticLine
*
m_staticline1
;
wxStdDialogButtonSizer
*
m_sdbSizerButtons
;
wxStdDialogButtonSizer
*
m_sdbSizerButtons
;
wxButton
*
m_sdbSizerButtonsOK
;
wxButton
*
m_sdbSizerButtonsOK
;
wxButton
*
m_sdbSizerButtonsCancel
;
wxButton
*
m_sdbSizerButtonsCancel
;
...
@@ -93,7 +95,7 @@ class DIALOG_LIB_EDIT_PIN_BASE : public wxDialog
...
@@ -93,7 +95,7 @@ class DIALOG_LIB_EDIT_PIN_BASE : public wxDialog
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
=
wx
DefaultSize
,
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
=
wx
Size
(
487
,
344
)
,
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
~
DIALOG_LIB_EDIT_PIN_BASE
();
~
DIALOG_LIB_EDIT_PIN_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