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
f77c10ac
Commit
f77c10ac
authored
Feb 16, 2013
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typos and tooltip
parent
273244a1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
16 deletions
+4
-16
dialog_fp_lib_table.cpp
pcbnew/dialogs/dialog_fp_lib_table.cpp
+1
-15
dialog_fp_lib_table_base.cpp
pcbnew/dialogs/dialog_fp_lib_table_base.cpp
+2
-0
dialog_fp_lib_table_base.fbp
pcbnew/dialogs/dialog_fp_lib_table_base.fbp
+1
-1
No files found.
pcbnew/dialogs/dialog_fp_lib_table.cpp
View file @
f77c10ac
...
...
@@ -210,18 +210,6 @@ public:
}
}
/*
wxGridCellAttr* GetAttr( int aRow, int aCol, wxGridCellAttr::wxAttrKind aKind ) const // overload
{
if( aCol != COL_TYPE )
return wxGridTableBase::GetAttr( aRow, aCol, aKind );
else
{
}
}
*/
//-----</wxGridTableBase overloads>------------------------------------------
};
...
...
@@ -378,7 +366,7 @@ class DIALOG_FP_LIB_TABLE : public DIALOG_FP_LIB_TABLE_BASE
wxStringTokenizer
rows
(
data
.
GetText
(),
ROW_SEP
,
wxTOKEN_RET_EMPTY
);
// if clipboard rows would extend past
e
end of current table size...
// if clipboard rows would extend past end of current table size...
if
(
int
(
rows
.
CountTokens
()
)
>
tbl
->
GetNumberRows
()
-
m_cur_row
)
{
int
newRowsNeeded
=
rows
.
CountTokens
()
-
(
tbl
->
GetNumberRows
()
-
m_cur_row
);
...
...
@@ -657,8 +645,6 @@ public:
m_global_grid
->
AutoSizeColumns
();
m_project_grid
->
AutoSizeColumns
();
m_path_subs_grid
->
AutoSizeColumns
();
Connect
(
ID_CUT
,
ID_PASTE
,
wxEVT_COMMAND_MENU_SELECTED
,
wxCommandEventHandler
(
DIALOG_FP_LIB_TABLE
::
onPopupSelection
),
NULL
,
this
);
...
...
pcbnew/dialogs/dialog_fp_lib_table_base.cpp
View file @
f77c10ac
...
...
@@ -64,6 +64,8 @@ DIALOG_FP_LIB_TABLE_BASE::DIALOG_FP_LIB_TABLE_BASE( wxWindow* parent, wxWindowID
m_global_sizer
->
Fit
(
m_global_panel
);
m_auinotebook
->
AddPage
(
m_global_panel
,
_
(
"Global Libraries"
),
true
,
wxNullBitmap
);
m_project_panel
=
new
wxPanel
(
m_auinotebook
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
wxTAB_TRAVERSAL
);
m_project_panel
->
SetToolTip
(
_
(
"Module libraries which are visible for curent project only"
)
);
wxBoxSizer
*
m_project_sizer
;
m_project_sizer
=
new
wxBoxSizer
(
wxVERTICAL
);
...
...
pcbnew/dialogs/dialog_fp_lib_table_base.fbp
View file @
f77c10ac
...
...
@@ -631,7 +631,7 @@
<property
name=
"size"
></property>
<property
name=
"subclass"
></property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"tooltip"
></property>
<property
name=
"tooltip"
>
Module libraries which are visible for curent project only
</property>
<property
name=
"window_extra_style"
></property>
<property
name=
"window_name"
></property>
<property
name=
"window_style"
>
wxTAB_TRAVERSAL
</property>
...
...
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