KiCad PCB EDA Suite
dialog_symbol_fields_table.cpp File Reference
#include <base_units.h>
#include <bitmaps.h>
#include <symbol_library.h>
#include <confirm.h>
#include <eda_doc.h>
#include <eeschema_settings.h>
#include <general.h>
#include <grid_tricks.h>
#include <string_utils.h>
#include <kiface_base.h>
#include <sch_edit_frame.h>
#include <sch_reference_list.h>
#include <schematic.h>
#include <tools/sch_editor_control.h>
#include <widgets/grid_text_button_helpers.h>
#include <widgets/wx_grid.h>
#include <wx/grid.h>
#include <wx/msgdlg.h>
#include <wx/textdlg.h>
#include "dialog_symbol_fields_table.h"

Go to the source code of this file.

Classes

class  FIELDS_EDITOR_GRID_TRICKS
 
struct  DATA_MODEL_ROW
 
class  FIELDS_EDITOR_GRID_DATA_MODEL
 

Macros

#define DISPLAY_NAME_COLUMN   0
 
#define SHOW_FIELD_COLUMN   1
 
#define GROUP_BY_COLUMN   2
 
#define CANONICAL_NAME_COLUMN   3
 
#define QUANTITY_COLUMN   ( GetNumberCols() - 1 )
 
#define COLUMN_MARGIN   15
 

Enumerations

enum  { MYID_SELECT_FOOTPRINT = 991, MYID_SHOW_DATASHEET }
 
enum  GROUP_TYPE {
  GROUP_SINGLETON, GROUP_COLLAPSED, GROUP_COLLAPSED_DURING_SORT, GROUP_EXPANDED,
  CHILD_ITEM
}
 

Macro Definition Documentation

◆ CANONICAL_NAME_COLUMN

#define CANONICAL_NAME_COLUMN   3

Definition at line 52 of file dialog_symbol_fields_table.cpp.

◆ COLUMN_MARGIN

#define COLUMN_MARGIN   15

Definition at line 59 of file dialog_symbol_fields_table.cpp.

◆ DISPLAY_NAME_COLUMN

#define DISPLAY_NAME_COLUMN   0

Definition at line 49 of file dialog_symbol_fields_table.cpp.

◆ GROUP_BY_COLUMN

#define GROUP_BY_COLUMN   2

Definition at line 51 of file dialog_symbol_fields_table.cpp.

◆ QUANTITY_COLUMN

#define QUANTITY_COLUMN   ( GetNumberCols() - 1 )

Definition at line 54 of file dialog_symbol_fields_table.cpp.

◆ SHOW_FIELD_COLUMN

#define SHOW_FIELD_COLUMN   1

Definition at line 50 of file dialog_symbol_fields_table.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MYID_SELECT_FOOTPRINT 
MYID_SHOW_DATASHEET 

Definition at line 62 of file dialog_symbol_fields_table.cpp.

63 {
64  MYID_SELECT_FOOTPRINT = 991, // must be within GRID_TRICKS' enum range
66 };

◆ GROUP_TYPE

enum GROUP_TYPE
Enumerator
GROUP_SINGLETON 
GROUP_COLLAPSED 
GROUP_COLLAPSED_DURING_SORT 
GROUP_EXPANDED 
CHILD_ITEM 

Definition at line 144 of file dialog_symbol_fields_table.cpp.