Maciej Suminski
ed059383c7
Library Editor: removed library actions from the part context menu
2017-11-21 23:18:55 +01:00
Maciej Suminski
891cf783fb
Library Editor: Windows fixes
2017-11-21 23:18:55 +01:00
Maciej Suminski
95754632c2
Library Editor: renamed 'component' to 'part'
2017-11-21 23:18:55 +01:00
Maciej Suminski
ba4515885b
Library Editor: select part in the widget component on create/paste/duplicate component
2017-11-21 23:18:55 +01:00
Tomasz Włostowski
7fc1e1d53c
Library Editor: component cut/copy/paste/duplicate
2017-11-21 23:18:55 +01:00
Maciej Suminski
a789b735e9
Library Manager: logic
2017-11-21 23:18:55 +01:00
Maciej Suminski
0d190639f1
Extracted CMP_TREE_MODEL_ADAPTER_BASE class
2017-11-21 23:18:55 +01:00
Maciej Suminski
3288a5f8b8
Right-click context menus for COMPONENT_TREE widget
2017-11-21 23:18:55 +01:00
Maciej Suminski
3bdcdd808b
Fix minor warnings
2017-11-21 23:18:55 +01:00
Wayne Stambaugh
329fc18732
Convert component chooser dialog over to use symbol library table.
...
Change all of the component tree helper objects to use LIB_IDs instead of
LIB_ALIAS pointers. LIB_ALIAS pointers are dangerous to use because they
can be deleted in the symbol library editor while the component chooser
dialog has copies of them. With LIB_IDs, the LIB_ALIAS pointer is found
on demand and can be guaranteed to be valid.
Update the chooser dialog to load the symbol library table instead of the
libraries defined in the project file and return a LIB_ID instead of a
LIB_ALIAS pointer.
Modify SCH_BASE_FRAME::SelectComponentFromLibrary() to handle the LIB_IDs
returned from the component chooser dialog.
2017-11-09 18:50:18 -05:00
Chris Pavlina
a20cce0753
Show component history at the top and preselect it
...
This was the behavior before the factoring out of COMPONENT_TREE. Moving
the history at the top just required inserting it at the right point;
fixing preselect involved wxEVT_INIT_DIALOG not propagating to the
panel. Simple solution was to move the parts of that event handler to
the constructor as they didn't have to be in an event handler anyway.
Fixes: lp:1707538
* https://bugs.launchpad.net/kicad/+bug/1707538
2017-08-19 00:41:21 -06:00
jean-pierre charras
4e96f9990d
Use the new color4Dpicker to choose a color in Eeschema.
...
However, the opacity is not modifiable because the wxDC used in Eeschema does not know the alpha channel.
2017-08-06 10:42:11 +02:00
jean-pierre charras
895c0bb716
Fix a compil warning and a wxASSERT in netlist dialog and component_tree.cpp
2017-07-08 15:58:22 +02:00
Maciej Suminski
ac688e688a
Fixed selecting components with Enter (DIALOG_CHOOSE_COMPONENT)
...
Added dedicated event types: COMPONENT_SELECTED, COMPONENT_PRESELECTED.
2017-06-25 23:13:39 +02:00
Maciej Suminski
6733101c6f
Flags to select additional widgets for COMPONENT_TREE
2017-06-19 14:48:54 +02:00
Maciej Suminski
f667f54c52
Moved component tree widget to a separate class
2017-06-19 14:48:53 +02:00
Jon Evans
3ec28e2acf
Refactor layer enumerations to all live in the same place
2017-03-30 16:01:48 -04:00
jean-pierre charras
6b431b4791
Fix transaltion issue.
...
Rebuild dialog_display_options_base with a recent wxFormbuilder version.
2017-02-26 13:03:38 +01:00
jean-pierre charras
6ae7c15d89
Rework on pcbnew menubar: make code more easy to read and modify.
2017-02-24 20:51:49 +01:00
Maciej Suminski
0dc88bb4cf
Changed COLOR4D defines to static consts
2017-02-22 17:35:00 +01:00
Jon Evans
3ec8941ffc
Revert from wxColourPickerCtrl to wxBitmapButton
...
wxColourPickerCtrl apparently looks bad on Windows 10
2017-02-22 17:35:00 +01:00
Jon Evans
a52250a91e
Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support
...
eeschema now supports arbitrary colors for all object types, and
pcbnew does in GAL canvas. When switching from GAL to legacy canvas,
pcbnew will convert colors to the nearest legacy color.
2017-02-22 17:35:00 +01:00
Simon Richter
fbace8e513
Fixed two hidden overloaded function warnings.
...
Correct way of writing commit c4db8bf4
.
2017-01-18 17:24:50 +01:00
Maciej Suminski
c4db8bf45f
Revert "Removed Pin{Shape,Type}ComboBox::SetSelection()."
...
Enforcing the appropriate type is a good thing, though it results in
build warnings. For the moment we stay with the latter.
This reverts commit 6dd47119fe
.
2017-01-18 16:58:20 +01:00
Maciej Suminski
6dd47119fe
Removed Pin{Shape,Type}ComboBox::SetSelection().
...
These methods were hiding an overloaded method, which was called anyway.
2017-01-18 14:20:39 +01:00
Nox_firegalaxy
44b8533d4d
Add connection highlight to eeschema, step 1.
2016-11-16 11:07:02 +01:00
Maciej Suminski
fcedef836a
Revert "Do not use double component primitives in Spice netlist exporter"
...
This commit creates more issues than resolves. It could happen that
there are components with different reference types (e.g. U1 and IC1)
that would be later converted to X1, causing a conflict.
2016-08-31 11:51:17 +02:00
Maciej Suminski
67573f15be
Do not use double component primitives in Spice netlist exporter
...
Fixes: lp:1617768
* https://bugs.launchpad.net/kicad/+bug/1617768
2016-08-30 14:25:56 +02:00
Tomasz Wlostowski
1cb7f665fb
sim: tuner slider now located in a nested wxPanel
2016-08-11 14:42:00 +02:00
Maciej Suminski
27a7a9b1a5
Spice fields enum values renamed from SPICE_* to SF_*
2016-08-11 14:41:51 +02:00
Tomasz Wlostowski
e8d6a42e1a
simulator: working on magnitude/phase plots
2016-08-11 14:41:49 +02:00
Maciej Suminski
a717194b1e
Enable tuner for RLC components only
2016-08-11 14:41:45 +02:00
Maciej Suminski
fead9ca831
TUNER_SLIDER widget
2016-08-11 14:41:44 +02:00
jean-pierre charras
c1f0ab91a2
Code cleaning and coding style fix.
2016-04-23 17:44:17 +02:00
jean-pierre charras
0d1395ee08
Fix coverity warnings:
...
CID 135848: Memory - illegal accesses
CID 135846: Class hierarchy inconsistencies
2016-03-06 09:31:00 +01:00
unknown
4b103baa3a
Enum refactoring and shiny icons in dialog_lib_edit_pin_table
2016-02-28 18:33:29 +01:00
Chris Pavlina
bf03642220
Pull colors widget into preferences dialog
2016-01-16 18:51:38 -05:00
Chris Pavlina
9513741816
Rename WIDGET_COLOR_CONFIG -> WIDGET_EESCHEMA_COLOR_CONFIG
2016-01-16 18:51:27 -05:00
Chris Pavlina
8c2427d3fa
Add and use WIDGET_COLOR_CONFIG::InstallOnPanel
2016-01-16 18:50:55 -05:00
Chris Pavlina
c4694e029d
Move color configuration into a separate widget
2016-01-16 18:50:45 -05:00