KiCad PCB EDA Suite
eda_base_frame.h File Reference

Base window classes and related definitions. More...

#include <vector>
#include <wx/aui/aui.h>
#include <layers_id_colors_and_visibility.h>
#include <frame_type.h>
#include <hotkeys_basic.h>
#include <kiway_holder.h>
#include <tool/tools_holder.h>
#include <widgets/ui_common.h>
#include <undo_redo_container.h>
#include <eda_units.h>

Go to the source code of this file.

Classes

class  EDA_BASE_FRAME
 The base frame for deriving all KiCad main window classes. More...
 
class  EDA_PANE
 Specialization of the wxAuiPaneInfo class for KiCad panels. More...
 

Macros

#define KICAD_DEFAULT_DRAWFRAME_STYLE   wxDEFAULT_FRAME_STYLE | wxWANTS_CHARS
 
#define VIEWER3D_FRAMENAME   wxT( "Viewer3DFrameName" )
 
#define QUALIFIED_VIEWER3D_FRAMENAME(parent)   ( wxString( VIEWER3D_FRAMENAME ) + wxT( ":" ) + parent->GetName() )
 
#define KICAD_MANAGER_FRAME_NAME   wxT( "KicadFrame" )
 
#define DEFAULT_MAX_UNDO_ITEMS   0
 
#define ABS_MAX_UNDO_ITEMS   (INT_MAX / 2)
 

Typedefs

typedef std::function< void(wxUpdateUIEvent &) > UIUpdateHandler
 This is the handler functor for the update UI events. More...
 

Functions

 wxDECLARE_EVENT (UNITS_CHANGED, wxCommandEvent)
 

Detailed Description

Base window classes and related definitions.

Definition in file eda_base_frame.h.

Macro Definition Documentation

◆ ABS_MAX_UNDO_ITEMS

#define ABS_MAX_UNDO_ITEMS   (INT_MAX / 2)

Definition at line 86 of file eda_base_frame.h.

◆ DEFAULT_MAX_UNDO_ITEMS

#define DEFAULT_MAX_UNDO_ITEMS   0

Definition at line 85 of file eda_base_frame.h.

◆ KICAD_DEFAULT_DRAWFRAME_STYLE

#define KICAD_DEFAULT_DRAWFRAME_STYLE   wxDEFAULT_FRAME_STYLE | wxWANTS_CHARS

Definition at line 48 of file eda_base_frame.h.

◆ KICAD_MANAGER_FRAME_NAME

#define KICAD_MANAGER_FRAME_NAME   wxT( "KicadFrame" )

Definition at line 55 of file eda_base_frame.h.

◆ QUALIFIED_VIEWER3D_FRAMENAME

#define QUALIFIED_VIEWER3D_FRAMENAME (   parent)    ( wxString( VIEWER3D_FRAMENAME ) + wxT( ":" ) + parent->GetName() )

Definition at line 52 of file eda_base_frame.h.

◆ VIEWER3D_FRAMENAME

#define VIEWER3D_FRAMENAME   wxT( "Viewer3DFrameName" )

Definition at line 51 of file eda_base_frame.h.

Typedef Documentation

◆ UIUpdateHandler

typedef std::function< void( wxUpdateUIEvent& ) > UIUpdateHandler

This is the handler functor for the update UI events.

Definition at line 89 of file eda_base_frame.h.

Function Documentation

◆ wxDECLARE_EVENT()

wxDECLARE_EVENT ( UNITS_CHANGED  ,
wxCommandEvent   
)