34#include <wx/checkbox.h> 
   43#define REPEATED_PLACEMENT _( "Place repeated copies" ) 
   44#define PLACE_AS_GROUP     _( "Place as group" ) 
   45#define KEEP_ANNOTATIONS   _( "Keep annotations" ) 
   48                                      std::vector<LIB_ID>& aHistoryList ) :
 
   51    wxBoxSizer* sizer = 
new wxBoxSizer( wxVERTICAL );
 
   63    if( aPreselect && aPreselect->
IsValid() )
 
   66    SetName( wxT( 
"Design Blocks" ) );
 
   68    wxBoxSizer* cbSizer = 
new wxBoxSizer( wxVERTICAL );
 
   85    sizer->Add( cbSizer, 0, wxEXPAND, 5 );
 
 
  107        m_placeAsGroup->SetToolTip( 
_( 
"Place the design block as a group." ) );
 
  114                                          "layout. Otherwise, clear them." ) );
 
 
  123        cfg->m_DesignBlockChooserPanel.place_as_group = 
m_placeAsGroup->GetValue();
 
 
  134        m_placeAsGroup->SetValue( cfg->m_DesignBlockChooserPanel.place_as_group );
 
 
  143    wxASSERT( aSettings );
 
 
KIFACE_BASE & Kiface()
Global KIFACE_BASE "get" accessor.
 
DESIGN_BLOCK_PANE(EDA_DRAW_FRAME *aParent, const LIB_ID *aPreselect, std::vector< LIB_ID > &aHistoryList)
 
PANEL_DESIGN_BLOCK_CHOOSER * m_chooserPanel
 
FILEDLG_IMPORT_BOARD_CONTENTS(PCBNEW_SETTINGS *aSettings)
 
wxFileDialogCheckBox * m_cbRepeatedPlacement
 
void TransferDataFromCustomControls() override
 
wxFileDialogCheckBox * m_cbPlaceAsGroup
 
PCBNEW_SETTINGS * m_settings
 
void AddCustomControls(wxFileDialogCustomize &customizer) override
 
wxFileDialogCheckBox * m_cbKeepAnnotations
 
A logical library item identifier and consists of various portions much like a URI.
 
bool IsValid() const
Check if this LID_ID is valid.
 
void OnChar(wxKeyEvent &aEvent)
 
static TOOL_ACTION placeDesignBlock
 
wxCheckBox * m_placeAsGroup
 
void OnCheckBox(wxCommandEvent &aEvent)
 
wxCheckBox * m_repeatedPlacement
 
wxCheckBox * m_keepAnnotations
 
PCB_DESIGN_BLOCK_PANE(PCB_EDIT_FRAME *aParent, const LIB_ID *aPreselect, std::vector< LIB_ID > &aHistoryList)
 
void setLabelsAndTooltips() override
 
The main frame for Pcbnew.
 
This file is part of the common library.
 
#define REPEATED_PLACEMENT
 
Definition of file extensions used in Kicad.