KiCad PCB EDA Suite
|
#include "dialog_lib_edit_pin_table.h"
#include <wx/filedlg.h>
#include <wx/wfstream.h>
#include <wx/msgdlg.h>
#include <wx/tokenzr.h>
#include "grid_tricks.h"
#include <richio.h>
#include <sch_pin.h>
#include <pin_numbers.h>
#include "pgm_base.h"
#include <base_units.h>
#include <bitmaps.h>
#include <clipboard.h>
#include <confirm.h>
#include <symbol_edit_frame.h>
#include <symbol_editor_settings.h>
#include <io/csv.h>
#include <kiplatform/ui.h>
#include <widgets/grid_icon_text_helpers.h>
#include <widgets/grid_combobox.h>
#include <widgets/wx_grid.h>
#include <widgets/bitmap_button.h>
#include <widgets/std_bitmap_button.h>
#include <wildcards_and_files_ext.h>
#include <settings/settings_manager.h>
#include <tool/action_menu.h>
#include <tool/tool_manager.h>
#include <tools/sch_selection_tool.h>
#include <string_utils.h>
Go to the source code of this file.
Classes | |
class | PIN_INFO_FORMATTER |
Class that handles conversion of various pin data fields into strings for display in the UI or serialisation to formats like CSV. More... | |
class | PIN_TABLE_DATA_MODEL |
class | PIN_TABLE_EXPORT |
class | PIN_TABLE_IMPORT |
Macros | |
#define | BOOL_TRUE _HKI( "True" ) |
#define | BOOL_FALSE _HKI( "False" ) |
Functions | |
static wxString | GetPinTableColLabel (int aCol) |
Get the label for a given column in the pin table. | |
static bool | MatchTranslationOrNative (const wxString &aStr, const wxString &aNativeLabel, bool aCaseSensitive) |
static COL_ORDER | GetColTypeForString (const wxString &aStr) |
void | getSelectedArea (WX_GRID *aGrid, int *aRowStart, int *aRowCount) |
#define BOOL_FALSE _HKI( "False" ) |
Definition at line 57 of file dialog_lib_edit_pin_table.cpp.
Referenced by PIN_INFO_FORMATTER::boolFromString(), and PIN_INFO_FORMATTER::stringFromBool().
#define BOOL_TRUE _HKI( "True" ) |
Definition at line 56 of file dialog_lib_edit_pin_table.cpp.
Referenced by PIN_INFO_FORMATTER::boolFromString(), and PIN_INFO_FORMATTER::stringFromBool().
|
static |
Definition at line 95 of file dialog_lib_edit_pin_table.cpp.
References COL_COUNT, GetPinTableColLabel(), and MatchTranslationOrNative().
Referenced by PIN_TABLE_IMPORT::getColOrderFromCSV().
|
static |
Get the label for a given column in the pin table.
This string is NOT translated.
Definition at line 65 of file dialog_lib_edit_pin_table.cpp.
References _HKI, COL_BODY_STYLE, COL_LENGTH, COL_NAME, COL_NAME_SIZE, COL_NUMBER, COL_NUMBER_SIZE, COL_ORIENTATION, COL_PIN_COUNT, COL_POSX, COL_POSY, COL_SHAPE, COL_TYPE, COL_UNIT, and COL_VISIBLE.
Referenced by PIN_TABLE_EXPORT::ExportData(), PIN_TABLE_DATA_MODEL::GetColLabelValue(), and GetColTypeForString().
void getSelectedArea | ( | WX_GRID * | aGrid, |
int * | aRowStart, | ||
int * | aRowCount ) |
Definition at line 339 of file dialog_lib_edit_pin_table.cpp.
Referenced by DIALOG_LIB_EDIT_PIN_TABLE::OnUpdateUI(), and PIN_TABLE_DATA_MODEL::RebuildRows().
|
static |
Definition at line 88 of file dialog_lib_edit_pin_table.cpp.
Referenced by PIN_INFO_FORMATTER::boolFromString(), GetColTypeForString(), and PIN_INFO_FORMATTER::UpdatePin().