KiCad PCB EDA Suite
Loading...
Searching...
No Matches
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, m_parent->StringFromValue( aValue, 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_modifyFootprintFields
 
static bool g_modifyFootprintGraphics
 
static bool g_modifyFootprintDimensions
 
static bool g_modifyOtherFootprintTexts
 
static bool g_modifyBoardText
 
static bool g_modifyBoardGraphics
 
static bool g_filterByLayer
 
static int g_layerFilter
 
static bool g_filterByReference
 
static wxString g_referenceFilter
 
static bool g_filterByFootprint
 
static wxString g_footprintFilter
 
static bool g_filterSelected = false
 
static bool g_setToSpecifiedValues = true
 

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_CENTER ); \
attr->SetReadOnly(); \
m_grid->SetAttr( aRow, aCol, attr ); \
m_grid->SetCellValue( aRow, aCol, ( aValue ) ? wxT( "1" ) : wxT( "" ) )

◆ SET_INT_VALUE

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

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
COL_CLASS_NAME 
COL_LINE_THICKNESS 
COL_TEXT_WIDTH 
COL_TEXT_HEIGHT 
COL_TEXT_THICKNESS 
COL_TEXT_ITALIC 
COL_TEXT_UPRIGHT 

Definition at line 45 of file pcbnew/dialogs/dialog_global_edit_text_and_graphics.cpp.

◆ anonymous enum

anonymous enum
Enumerator
ROW_HEADER 
ROW_SILK 
ROW_COPPER 
ROW_EDGES 
ROW_COURTYARD 
ROW_FAB 
ROW_OTHERS 

Definition at line 56 of file pcbnew/dialogs/dialog_global_edit_text_and_graphics.cpp.

Variable Documentation

◆ g_filterByFootprint

bool g_filterByFootprint
static

◆ g_filterByLayer

bool g_filterByLayer
static

◆ g_filterByReference

◆ g_filterSelected

◆ g_footprintFilter

wxString g_footprintFilter
static

◆ g_layerFilter

int g_layerFilter
static

◆ g_modifyBoardGraphics

bool g_modifyBoardGraphics
static

◆ g_modifyBoardText

bool g_modifyBoardText
static

◆ g_modifyFootprintDimensions

bool g_modifyFootprintDimensions
static

◆ g_modifyFootprintFields

bool g_modifyFootprintFields
static

◆ g_modifyFootprintGraphics

bool g_modifyFootprintGraphics
static

◆ g_modifyOtherFootprintTexts

bool g_modifyOtherFootprintTexts
static

◆ g_modifyReferences

◆ g_modifyValues

◆ g_referenceFilter

◆ g_setToSpecifiedValues

bool g_setToSpecifiedValues = true
static