![]() |
KiCad PCB EDA Suite
|
#include <base_units.h>
#include <bitmaps.h>
#include <netclass.h>
#include <confirm.h>
#include <grid_tricks.h>
#include <dialogs/panel_setup_netclasses.h>
#include <tool/tool_manager.h>
#include <widgets/wx_grid.h>
#include <kicad_string.h>
#include <widgets/grid_color_swatch_helpers.h>
#include <widgets/grid_icon_text_helpers.h>
#include <widgets/grid_text_helpers.h>
#include <algorithm>
Go to the source code of this file.
Macros | |
#define | SET_MILS_CELL(col, val) aGrid->SetCellValue( aRow, col, StringFromValue( aUnits, val, true ) ) |
#define | MYCELL(col) ValueFromString( aUnits, grid->GetCellValue( row, col ) ) |
Enumerations | |
enum | { GRID_NAME = 0, GRID_FIRST_PCBNEW, GRID_CLEARANCE = GRID_FIRST_PCBNEW, GRID_TRACKSIZE, GRID_VIASIZE, GRID_VIADRILL, GRID_uVIASIZE, GRID_uVIADRILL, GRID_DIFF_PAIR_WIDTH, GRID_DIFF_PAIR_GAP, GRID_FIRST_EESCHEMA, GRID_WIREWIDTH = GRID_FIRST_EESCHEMA, GRID_BUSWIDTH, GRID_SCHEMATIC_COLOR, GRID_LINESTYLE, GRID_END } |
Functions | |
static void | netclassToGridRow (EDA_UNITS aUnits, wxGrid *aGrid, int aRow, const NETCLASSPTR &nc) |
static void | gridRowToNetclass (EDA_UNITS aUnits, wxGrid *grid, int row, const NETCLASSPTR &nc) |
Variables | |
std::vector< BITMAP_DEF > | g_lineStyleIcons |
wxArrayString | g_lineStyleNames |
#define MYCELL | ( | col | ) | ValueFromString( aUnits, grid->GetCellValue( row, col ) ) |
#define SET_MILS_CELL | ( | col, | |
val | |||
) | aGrid->SetCellValue( aRow, col, StringFromValue( aUnits, val, true ) ) |
anonymous enum |
Definition at line 42 of file panel_setup_netclasses.cpp.
|
static |
Definition at line 328 of file panel_setup_netclasses.cpp.
References g_lineStyleNames, GRID_BUSWIDTH, GRID_CLEARANCE, GRID_DIFF_PAIR_GAP, GRID_DIFF_PAIR_WIDTH, GRID_LINESTYLE, GRID_NAME, GRID_SCHEMATIC_COLOR, GRID_TRACKSIZE, GRID_uVIADRILL, GRID_uVIASIZE, GRID_VIADRILL, GRID_VIASIZE, GRID_WIREWIDTH, and MYCELL.
Referenced by PANEL_SETUP_NETCLASSES::TransferDataFromWindow().
|
static |
Definition at line 200 of file panel_setup_netclasses.cpp.
References g_lineStyleNames, GRID_BUSWIDTH, GRID_CLEARANCE, GRID_DIFF_PAIR_GAP, GRID_DIFF_PAIR_WIDTH, GRID_LINESTYLE, GRID_NAME, GRID_SCHEMATIC_COLOR, GRID_TRACKSIZE, GRID_uVIADRILL, GRID_uVIASIZE, GRID_VIADRILL, GRID_VIASIZE, GRID_WIREWIDTH, and SET_MILS_CELL.
Referenced by PANEL_SETUP_NETCLASSES::TransferDataToWindow().
std::vector<BITMAP_DEF> g_lineStyleIcons |
Definition at line 66 of file panel_setup_netclasses.cpp.
Referenced by PANEL_SETUP_NETCLASSES::PANEL_SETUP_NETCLASSES().
wxArrayString g_lineStyleNames |
Definition at line 67 of file panel_setup_netclasses.cpp.
Referenced by gridRowToNetclass(), netclassToGridRow(), and PANEL_SETUP_NETCLASSES::PANEL_SETUP_NETCLASSES().