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
d82c3b9a
Commit
d82c3b9a
authored
Oct 05, 2013
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DIALOG_FP_LIB_TABLE: disable row resizing, get rid of tooltips on grids
parent
bf97bf89
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
14 deletions
+10
-14
dialog_fp_lib_table_base.cpp
pcbnew/dialogs/dialog_fp_lib_table_base.cpp
+4
-8
dialog_fp_lib_table_base.fbp
pcbnew/dialogs/dialog_fp_lib_table_base.fbp
+6
-6
No files found.
pcbnew/dialogs/dialog_fp_lib_table_base.cpp
View file @
d82c3b9a
...
...
@@ -21,8 +21,6 @@ DIALOG_FP_LIB_TABLE_BASE::DIALOG_FP_LIB_TABLE_BASE( wxWindow* parent, wxWindowID
m_auinotebook
=
new
wxAuiNotebook
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
wxAUI_NB_BOTTOM
);
m_global_panel
=
new
wxPanel
(
m_auinotebook
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
wxTAB_TRAVERSAL
);
m_global_panel
->
SetToolTip
(
_
(
"Module libraries which are visible for all projects"
)
);
wxBoxSizer
*
m_global_sizer
;
m_global_sizer
=
new
wxBoxSizer
(
wxVERTICAL
);
...
...
@@ -32,7 +30,7 @@ DIALOG_FP_LIB_TABLE_BASE::DIALOG_FP_LIB_TABLE_BASE( wxWindow* parent, wxWindowID
m_global_grid
->
CreateGrid
(
1
,
5
);
m_global_grid
->
EnableEditing
(
true
);
m_global_grid
->
EnableGridLines
(
true
);
m_global_grid
->
EnableDragGridSize
(
tru
e
);
m_global_grid
->
EnableDragGridSize
(
fals
e
);
m_global_grid
->
SetMargins
(
0
,
0
);
// Columns
...
...
@@ -43,7 +41,7 @@ DIALOG_FP_LIB_TABLE_BASE::DIALOG_FP_LIB_TABLE_BASE( wxWindow* parent, wxWindowID
m_global_grid
->
SetColLabelAlignment
(
wxALIGN_CENTRE
,
wxALIGN_CENTRE
);
// Rows
m_global_grid
->
EnableDragRowSize
(
tru
e
);
m_global_grid
->
EnableDragRowSize
(
fals
e
);
m_global_grid
->
SetRowLabelSize
(
40
);
m_global_grid
->
SetRowLabelAlignment
(
wxALIGN_CENTRE
,
wxALIGN_CENTRE
);
...
...
@@ -59,8 +57,6 @@ 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
);
...
...
@@ -70,7 +66,7 @@ DIALOG_FP_LIB_TABLE_BASE::DIALOG_FP_LIB_TABLE_BASE( wxWindow* parent, wxWindowID
m_project_grid
->
CreateGrid
(
1
,
5
);
m_project_grid
->
EnableEditing
(
true
);
m_project_grid
->
EnableGridLines
(
true
);
m_project_grid
->
EnableDragGridSize
(
tru
e
);
m_project_grid
->
EnableDragGridSize
(
fals
e
);
m_project_grid
->
SetMargins
(
0
,
0
);
// Columns
...
...
@@ -81,7 +77,7 @@ DIALOG_FP_LIB_TABLE_BASE::DIALOG_FP_LIB_TABLE_BASE( wxWindow* parent, wxWindowID
m_project_grid
->
SetColLabelAlignment
(
wxALIGN_CENTRE
,
wxALIGN_CENTRE
);
// Rows
m_project_grid
->
EnableDragRowSize
(
tru
e
);
m_project_grid
->
EnableDragRowSize
(
fals
e
);
m_project_grid
->
SetRowLabelSize
(
40
);
m_project_grid
->
SetRowLabelAlignment
(
wxALIGN_CENTRE
,
wxALIGN_CENTRE
);
...
...
pcbnew/dialogs/dialog_fp_lib_table_base.fbp
View file @
d82c3b9a
...
...
@@ -243,7 +243,7 @@
<property
name=
"size"
></property>
<property
name=
"subclass"
></property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"tooltip"
>
Module libraries which are visible for all projects
</property>
<property
name=
"tooltip"
></property>
<property
name=
"window_extra_style"
></property>
<property
name=
"window_name"
></property>
<property
name=
"window_style"
>
wxTAB_TRAVERSAL
</property>
...
...
@@ -315,8 +315,8 @@
<property
name=
"docking"
>
Left
</property>
<property
name=
"drag_col_move"
>
0
</property>
<property
name=
"drag_col_size"
>
1
</property>
<property
name=
"drag_grid_size"
>
1
</property>
<property
name=
"drag_row_size"
>
1
</property>
<property
name=
"drag_grid_size"
>
0
</property>
<property
name=
"drag_row_size"
>
0
</property>
<property
name=
"editing"
>
1
</property>
<property
name=
"enabled"
>
1
</property>
<property
name=
"fg"
></property>
...
...
@@ -472,7 +472,7 @@
<property
name=
"size"
></property>
<property
name=
"subclass"
></property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"tooltip"
>
Module libraries which are visible for curent project only
</property>
<property
name=
"tooltip"
></property>
<property
name=
"window_extra_style"
></property>
<property
name=
"window_name"
></property>
<property
name=
"window_style"
>
wxTAB_TRAVERSAL
</property>
...
...
@@ -544,8 +544,8 @@
<property
name=
"docking"
>
Left
</property>
<property
name=
"drag_col_move"
>
0
</property>
<property
name=
"drag_col_size"
>
1
</property>
<property
name=
"drag_grid_size"
>
1
</property>
<property
name=
"drag_row_size"
>
1
</property>
<property
name=
"drag_grid_size"
>
0
</property>
<property
name=
"drag_row_size"
>
0
</property>
<property
name=
"editing"
>
1
</property>
<property
name=
"enabled"
>
1
</property>
<property
name=
"fg"
></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