KiCad PCB EDA Suite
Loading...
Searching...
No Matches
eda_base_frame.cpp File Reference
#include <advanced_config.h>
#include <bitmaps.h>
#include <bitmap_store.h>
#include <dialog_shim.h>
#include <dialogs/git/panel_git_repos.h>
#include <dialogs/panel_common_settings.h>
#include <dialogs/panel_mouse_settings.h>
#include <dialogs/panel_data_collection.h>
#include <dialogs/panel_plugin_settings.h>
#include <eda_dde.h>
#include <file_history.h>
#include <id.h>
#include <kiface_base.h>
#include <hotkeys_basic.h>
#include <panel_hotkeys_editor.h>
#include <paths.h>
#include <confirm.h>
#include <panel_packages_and_updates.h>
#include <pgm_base.h>
#include <settings/app_settings.h>
#include <settings/common_settings.h>
#include <settings/settings_manager.h>
#include <project/project_local_settings.h>
#include <tool/action_manager.h>
#include <tool/action_menu.h>
#include <tool/action_toolbar.h>
#include <tool/actions.h>
#include <tool/common_control.h>
#include <tool/tool_manager.h>
#include <tool/tool_dispatcher.h>
#include <trace_helpers.h>
#include <widgets/paged_dialog.h>
#include <widgets/wx_busy_indicator.h>
#include <widgets/wx_infobar.h>
#include <widgets/wx_aui_art_providers.h>
#include <widgets/wx_grid.h>
#include <widgets/wx_treebook.h>
#include <wx/app.h>
#include <wx/config.h>
#include <wx/display.h>
#include <wx/stdpaths.h>
#include <wx/string.h>
#include <kiplatform/app.h>
#include <kiplatform/io.h>
#include <kiplatform/ui.h>
#include <functional>
#include <kiface_ids.h>

Go to the source code of this file.

Macros

#define LAZY_CTOR(key)
 

Functions

static const wxSize minSizeLookup (FRAME_T aFrameType, wxWindow *aWindow)
 
static const wxSize defaultSize (FRAME_T aFrameType, wxWindow *aWindow)
 
wxWindow * findQuasiModalDialog (wxWindow *aParent)
 

Macro Definition Documentation

◆ LAZY_CTOR

#define LAZY_CTOR (   key)
Value:
[this, kiface]( wxWindow* aParent ) \
{ \
return kiface->CreateKiWindow( aParent, key, &Kiway() ); \
}
KIWAY Kiway(KFCTL_STANDALONE)
wxWindow * CreateKiWindow(wxWindow *aParent, int aClassId, KIWAY *aKiway, int aCtlBits=0) override
Create a wxWindow for the current project.
IFACE KIFACE_BASE kiface("pcb_test_frame", KIWAY::FACE_PCB)

Function Documentation

◆ defaultSize()

static const wxSize defaultSize ( FRAME_T  aFrameType,
wxWindow *  aWindow 
)
static

◆ findQuasiModalDialog()

wxWindow * findQuasiModalDialog ( wxWindow *  aParent)

Definition at line 179 of file eda_base_frame.cpp.

References findQuasiModalDialog().

Referenced by findQuasiModalDialog().

◆ minSizeLookup()

static const wxSize minSizeLookup ( FRAME_T  aFrameType,
wxWindow *  aWindow 
)
static

Definition at line 82 of file eda_base_frame.cpp.

References KICAD_MAIN_FRAME_T.

Referenced by EDA_BASE_FRAME::commonInit(), and EDA_BASE_FRAME::LoadWindowState().