KiCad PCB EDA Suite
pcbnew/dialogs/dialog_global_edit_text_and_graphics.cpp File Reference

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_FAB, ROW_OTHERS
}
 

Variables

static bool g_modifyReferences
 
static bool g_modifyValues
 
static bool g_modifyOtherFields
 
static bool g_modifyFootprintGraphics
 
static bool g_modifyBoardText
 
static bool g_modifyBoardGraphics
 
static bool g_filterByLayer
 
static LAYER_NUM g_layerFilter
 
static bool g_filterByReference
 
static wxString g_referenceFilter
 
static bool g_filterByFootprint
 
static wxString g_footprintFilter
 

Macro Definition Documentation

◆ SET_BOOL_VALUE

#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" : "" )

◆ SET_INT_VALUE

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

Enumeration Type Documentation

◆ anonymous enum

◆ anonymous enum

Variable Documentation

◆ g_filterByFootprint

bool g_filterByFootprint
static

◆ g_filterByLayer

bool g_filterByLayer
static

◆ g_filterByReference

bool g_filterByReference
static

◆ g_footprintFilter

wxString g_footprintFilter
static

◆ g_layerFilter

LAYER_NUM g_layerFilter
static

◆ g_modifyBoardGraphics

bool g_modifyBoardGraphics
static

◆ g_modifyBoardText

bool g_modifyBoardText
static

◆ g_modifyFootprintGraphics

bool g_modifyFootprintGraphics
static

◆ g_modifyOtherFields

bool g_modifyOtherFields
static

◆ g_modifyReferences

bool g_modifyReferences
static

◆ g_modifyValues

bool g_modifyValues
static

◆ g_referenceFilter

wxString g_referenceFilter
static