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 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

◆ g_filterByLayer

◆ g_filterByReference

◆ g_footprintFilter

◆ g_layerFilter

◆ g_modifyBoardGraphics

◆ g_modifyBoardText

◆ g_modifyFootprintGraphics

◆ g_modifyOtherFields

◆ g_modifyReferences

◆ g_modifyValues

◆ g_referenceFilter