41#include <wx/wupdlock.h> 
   60    wxCommandEvent evt( wxEVT_NULL, wxID_NEW );
 
 
   68    wxCommandEvent evt( wxEVT_NULL, wxID_OPEN );
 
 
   76    wxCommandEvent evt( wxEVT_NULL, wxID_SAVE );
 
 
   84    wxCommandEvent evt( wxEVT_NULL, wxID_SAVEAS );
 
 
  123    wxMessageBox( wxT( 
"Not yet available" ) );
 
 
  130    m_frame->ShowDesignInspector();
 
 
  153    wxWindowUpdateLocker updateLock( 
m_frame->GetPropertiesFrame() );
 
  155    if( selection.GetSize() == 1 )
 
  158        std::vector<MSG_PANEL_ITEM> msgItems;
 
  161            msgItems.emplace_back( 
_( 
"UUID" ), *uuid );
 
  164        m_frame->SetMsgPanel( msgItems );
 
  167        m_frame->GetPropertiesFrame()->CopyPrmsFromItemToPanel( dataItem );
 
  172        m_frame->GetPropertiesFrame()->CopyPrmsFromItemToPanel( 
nullptr );
 
  175    m_frame->GetPropertiesFrame()->CopyPrmsFromGeneralToPanel();
 
 
constexpr EDA_IU_SCALE drawSheetIUScale
 
static TOOL_ACTION saveAs
 
void EnableWksFileNamePicker(bool aEnable)
 
void SetWksFileName(const wxString &aFilename)
 
Drawing sheet structure type definitions.
 
static DS_DATA_MODEL & GetTheInstance()
Return the instance of DS_DATA_MODEL used in the application.
 
Base class to handle basic graphic items.
 
A base class for most all the KiCad significant classes used in schematics and boards.
 
virtual void GetMsgPanelInfo(EDA_DRAW_FRAME *aFrame, std::vector< MSG_PANEL_ITEM > &aList)
Populate aList of MSG_PANEL_ITEM objects with it's internal state for display purposes.
 
static const TOOL_EVENT ClearedEvent
 
static const TOOL_EVENT SelectedEvent
 
static const TOOL_EVENT SelectedItemsModified
Selected items were moved, this can be very high frequency on the canvas, use with care.
 
static const TOOL_EVENT UnselectedEvent
 
static TOOL_ACTION showInspector
 
static TOOL_ACTION previewSettings
 
static TOOL_ACTION layoutNormalMode
 
static TOOL_ACTION layoutEditMode
 
int PageSetup(const TOOL_EVENT &aEvent)
 
int SaveAs(const TOOL_EVENT &aEvent)
 
int TitleBlockDisplayMode(const TOOL_EVENT &aEvent)
 
bool Init() override
Init() is called once upon a registration of the tool.
 
int New(const TOOL_EVENT &aEvent)
 
int UpdateMessagePanel(const TOOL_EVENT &aEvent)
Update the message panel and the Properties frame, after change (selection, move, edit ....
 
int Print(const TOOL_EVENT &aEvent)
 
int Save(const TOOL_EVENT &aEvent)
 
PL_EDITOR_FRAME * m_frame
 
int ShowInspector(const TOOL_EVENT &aEvent)
 
int Open(const TOOL_EVENT &aEvent)
 
int Plot(const TOOL_EVENT &aEvent)
 
void Reset(RESET_REASON aReason) override
Bring the tool to a known, initial state.
 
void setTransitions() override
< Set up handlers for various events.
 
This file is part of the common library.
 
std::optional< wxString > GetMsgPanelDisplayUuid(const KIID &aKiid)
Get a formatted UUID string for display in the message panel, according to the current advanced confi...
 
#define MAX_PAGE_SIZE_EESCHEMA_MILS
 
VECTOR2< int32_t > VECTOR2I