KiCad PCB EDA Suite
pcbnew/dialogs/dialog_global_edit_text_and_graphics.cpp File Reference
#include <string_utils.h>
#include <board_commit.h>
#include <pcb_edit_frame.h>
#include <footprint_edit_frame.h>
#include <pcb_layer_box_selector.h>
#include <pcbnew.h>
#include <board.h>
#include <board_design_settings.h>
#include <footprint.h>
#include <pcb_group.h>
#include <pcb_dimension.h>
#include <fp_shape.h>
#include <pcb_text.h>
#include <widgets/unit_binder.h>
#include <widgets/font_choice.h>
#include <tool/tool_manager.h>
#include <tools/global_edit_tool.h>
#include <tools/footprint_editor_control.h>
#include <dialog_global_edit_text_and_graphics_base.h>
#include "font/kicad_font_name.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, 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_modifyOtherFields
 
static bool g_modifyFootprintGraphics
 
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
 

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

Variable Documentation

◆ g_filterByFootprint

bool g_filterByFootprint
static

◆ g_filterByLayer

bool g_filterByLayer
static

◆ g_filterByReference

bool g_filterByReference
static

◆ g_filterSelected

bool g_filterSelected = false
static

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