KiCad PCB EDA Suite
|
Specialization of the wxAuiPaneInfo class for KiCad panels. More...
#include <eda_base_frame.h>
Public Member Functions | |
EDA_PANE () | |
EDA_PANE & | HToolbar () |
Turn *this to a horizontal toolbar for KiCad. | |
EDA_PANE & | VToolbar () |
Turn *this into a vertical toolbar for KiCad. | |
EDA_PANE & | Palette () |
Turn *this into a captioned palette suitable for a symbol tree, layers manager, etc. | |
EDA_PANE & | Canvas () |
Turn *this into an undecorated pane suitable for a drawing canvas. | |
EDA_PANE & | Messages () |
Turn *this into a messages pane for KiCad. | |
EDA_PANE & | InfoBar () |
Turn *this into a infobar for KiCad. | |
Specialization of the wxAuiPaneInfo class for KiCad panels.
Documentation for wxAui is poor at this time. The following notes spring from errors made in previous KiCad implementations:
wxAuiPaneInfo.ToolbarPane() and .Defaults() are used to clear and then prepare the objects so only use them once at the beginning of configuration..
Panels are organized in layers, from 0 (close to the center) and increasing outward. Note that for ToolbarPanes, layer 0 considered a special default value, and ToolbarPanes on layer 0 are pushed to layer 10 automatically. Use Layer 1 for the inner layer as a work- around.
Each panel has rows, starting at 0. Each row has positions starting at 0. Each item in a panel can have its row and position set.
Eventually panels will be movable. Each initialization function sets up the panel for this, then after a //==// break has additional calls to anchor toolbars in a way that matches present functionality.
Definition at line 811 of file eda_base_frame.h.
|
inline |
Definition at line 814 of file eda_base_frame.h.
|
inline |
Turn *this into an undecorated pane suitable for a drawing canvas.
Definition at line 862 of file eda_base_frame.h.
|
inline |
Turn *this to a horizontal toolbar for KiCad.
Definition at line 824 of file eda_base_frame.h.
|
inline |
Turn *this into a infobar for KiCad.
Definition at line 887 of file eda_base_frame.h.
|
inline |
Turn *this into a messages pane for KiCad.
Definition at line 874 of file eda_base_frame.h.
|
inline |
Turn *this into a captioned palette suitable for a symbol tree, layers manager, etc.
Definition at line 852 of file eda_base_frame.h.
|
inline |
Turn *this into a vertical toolbar for KiCad.
Definition at line 838 of file eda_base_frame.h.