21#ifndef _BOM_SETTINGS_H
22#define _BOM_SETTINGS_H
67 bool readOnly =
false;
68 std::vector<BOM_FIELD> fieldsOrdered;
71 wxString filterString;
73 bool groupSymbols =
false;
74 bool excludeDNP =
false;
75 bool includeExcludedFromBOM =
false;
77 bool operator==(
const BOM_PRESET& rhs )
const;
79 static BOM_PRESET DefaultEditing();
80 static BOM_PRESET GroupedByValue();
81 static BOM_PRESET GroupedByValueFootprint();
82 static BOM_PRESET Attributes();
84 static std::vector<BOM_PRESET> BuiltInPresets();
137#if defined( __MINGW32__ )
bool operator==(const wxAuiPaneInfo &aLhs, const wxAuiPaneInfo &aRhs)
@ VISIBLE
Ratsnest lines are drawn to items on visible layers only.
NLOHMANN_JSON_SERIALIZE_ENUM(BOM_FILTER_SCOPE, { { BOM_FILTER_SCOPE::REFERENCE, "reference" }, { BOM_FILTER_SCOPE::VISIBLE, "visible" }, { BOM_FILTER_SCOPE::ALL, "all" }, }) struct KICOMMON_API BOM_PRESET
KICOMMON_API void to_json(nlohmann::json &j, const BOM_FIELD &f)
KICOMMON_API bool operator!=(const BOM_FIELD &lhs, const BOM_FIELD &rhs)
KICOMMON_API bool operator<(const BOM_FIELD &lhs, const BOM_FIELD &rhs)
KICOMMON_API void from_json(const nlohmann::json &j, BOM_FIELD &f)
Some functions to handle hotkeys in KiCad.
bool includeByteOrderMark
static std::vector< BOM_FMT_PRESET > BuiltInPresets()
static BOM_FMT_PRESET TSV()
wxString refRangeDelimiter
static BOM_FMT_PRESET Semicolons()
BOM_FMT_PRESET m_BomFmtSettings
List of stored BOM format presets.
wxString m_BomExportFileName
BOM_PRESET m_BomSettings
List of stored BOM presets.
std::vector< BOM_PRESET > m_BomPresets
std::vector< BOM_FMT_PRESET > m_BomFmtPresets