KiCad PCB EDA Suite
basicframe.cpp File Reference

EDA_BASE_FRAME class implementation. More...

#include <wx/stdpaths.h>
#include <wx/string.h>
#include <dialog_shim.h>
#include <eda_doc.h>
#include <id.h>
#include <kiface_i.h>
#include <pgm_base.h>
#include <wxstruct.h>
#include <menus_helpers.h>
#include <bitmaps.h>
#include <wx/display.h>
#include <wx/utils.h>

Go to the source code of this file.

Macros

#define DEFAULT_AUTO_SAVE_INTERVAL   600
 The default auto save interval is 10 minutes. More...
 
#define URL_GET_INVOLVED   "http://kicad-pcb.org/contribute/"
 

Functions

DIALOG_SHIMfindQuasiModalDialog (wxWindowList &aList)
 

Variables

const wxChar traceAutoSave [] = wxT( "KICAD_TRACE_AUTOSAVE" )
 Flag to enable auto save feature debug tracing. More...
 
static const wxString entryAutoSaveInterval = "AutoSaveInterval"
 Configuration file entry name for auto save interval. More...
 
static const wxString entryPerspective = "Perspective"
 Configuration file entry for wxAuiManger perspective. More...
 
static const wxString entryMruPath = "MostRecentlyUsedPath"
 Configuration file entry for most recently used path. More...
 
static const wxString entryPosY = "Pos_y"
 Y position of frame, in pixels (suffix) More...
 
static const wxString entryPosX = "Pos_x"
 X position of frame, in pixels (suffix) More...
 
static const wxString entrySizeY = "Size_y"
 Height of frame, in pixels (suffix) More...
 
static const wxString entrySizeX = "Size_x"
 Width of frame, in pixels (suffix) More...
 
static const wxString entryMaximized = "Maximized"
 Nonzero iff frame is maximized (suffix) More...
 

Detailed Description

EDA_BASE_FRAME class implementation.

Definition in file basicframe.cpp.

Macro Definition Documentation

#define DEFAULT_AUTO_SAVE_INTERVAL   600

The default auto save interval is 10 minutes.

Definition at line 49 of file basicframe.cpp.

Referenced by EDA_BASE_FRAME::LoadSettings().

#define URL_GET_INVOLVED   "http://kicad-pcb.org/contribute/"

Definition at line 51 of file basicframe.cpp.

Referenced by EDA_BASE_FRAME::GetKicadContribute().

Function Documentation

DIALOG_SHIM* findQuasiModalDialog ( wxWindowList &  aList)

Definition at line 115 of file basicframe.cpp.

References DIALOG_SHIM::IsQuasiModal().

Referenced by EDA_BASE_FRAME::ProcessEvent(), and EDA_BASE_FRAME::windowClosing().

116 {
117  for( wxWindowList::iterator iter = aList.begin(); iter != aList.end(); ++iter )
118  {
119  DIALOG_SHIM* dlg = dynamic_cast<DIALOG_SHIM*>( *iter );
120  if( dlg && dlg->IsQuasiModal() )
121  return dlg;
122  }
123  return NULL;
124 }
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:70
bool IsQuasiModal()
Definition: dialog_shim.h:103