KiCad PCB EDA Suite
Loading...
Searching...
No Matches
eda_base_frame.h File Reference

Base window classes and related definitions. More...

#include <vector>
#include <map>
#include <wx/aui/aui.h>
#include <layer_ids.h>
#include <frame_type.h>
#include <hotkeys_basic.h>
#include <kiway_holder.h>
#include <tool/tools_holder.h>
#include <widgets/ui_common.h>
#include <widgets/wx_infobar.h>
#include <undo_redo_container.h>
#include <units_provider.h>
#include <origin_transforms.h>
#include <ui_events.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.
 

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 91 of file eda_base_frame.h.

◆ DEFAULT_MAX_UNDO_ITEMS

#define DEFAULT_MAX_UNDO_ITEMS   0

Definition at line 90 of file eda_base_frame.h.

◆ KICAD_DEFAULT_DRAWFRAME_STYLE

#define KICAD_DEFAULT_DRAWFRAME_STYLE   wxDEFAULT_FRAME_STYLE | wxWANTS_CHARS

Definition at line 53 of file eda_base_frame.h.

◆ KICAD_MANAGER_FRAME_NAME

#define KICAD_MANAGER_FRAME_NAME   wxT( "KicadFrame" )

Definition at line 60 of file eda_base_frame.h.

◆ QUALIFIED_VIEWER3D_FRAMENAME

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

Definition at line 57 of file eda_base_frame.h.

◆ VIEWER3D_FRAMENAME

#define VIEWER3D_FRAMENAME   wxT( "Viewer3DFrameName" )

Definition at line 56 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 94 of file eda_base_frame.h.