KiCad PCB EDA Suite
dialog_global_edit_text_and_graphics.cpp File Reference
#include <fctsys.h>
#include <class_drawpanel.h>
#include <kicad_string.h>
#include <board_commit.h>
#include <pcb_edit_frame.h>
#include <pcb_layer_box_selector.h>
#include <class_board.h>
#include <class_module.h>
#include <class_edge_mod.h>
#include <class_pcb_text.h>
#include <widgets/unit_binder.h>
#include <dialog_global_edit_text_and_graphics_base.h>

Go to the source code of this file.

Classes

class  DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS
 

Macros

#define SET_INT_VALUE(aRow, aCol, aValue)   m_grid->SetCellValue( aRow, aCol, StringFromValue( GetUserUnits(), aValue, true, true ) )
 
#define SET_BOOL_VALUE(aRow, aCol, aValue)
 

Enumerations

enum  {
  COL_CLASS_NAME = 0, COL_LINE_THICKNESS, COL_TEXT_WIDTH, COL_TEXT_HEIGHT,
  COL_TEXT_THICKNESS, COL_TEXT_ITALIC, COL_TEXT_UPRIGHT
}
 
enum  {
  ROW_HEADER = 0, ROW_SILK, ROW_COPPER, ROW_EDGES,
  ROW_COURTYARD, ROW_OTHERS
}
 

Variables

static wxString g_textAndGraphicsReferenceFilter
 
static wxString g_textAndGraphicsFootprintFilter
 

Macro Definition Documentation

#define SET_BOOL_VALUE (   aRow,
  aCol,
  aValue 
)
Value:
attr = new wxGridCellAttr; \
attr->SetRenderer( new wxGridCellBoolRenderer() ); \
attr->SetAlignment( wxALIGN_CENTER, wxALIGN_BOTTOM ); \
attr->SetReadOnly(); \
m_grid->SetAttr( aRow, aCol, attr ); \
m_grid->SetCellValue( aRow, aCol, ( aValue ) ? "1" : "" )

Referenced by DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::TransferDataToWindow().

#define SET_INT_VALUE (   aRow,
  aCol,
  aValue 
)    m_grid->SetCellValue( aRow, aCol, StringFromValue( GetUserUnits(), aValue, true, true ) )

Enumeration Type Documentation

Variable Documentation