Add PCB document filename handling in AltiumParser and SpecificationPCBController. Updated .gitignore and app_icon.rc for consistency. Enhanced PDF rendering with proper resolution handling.
This commit is contained in:
@@ -61,6 +61,7 @@ struct ProjectData {
|
||||
// PCB данные
|
||||
int pcbLayerCount;
|
||||
QList<DielProperty> pcbDielMaterials;
|
||||
QString pcbDocFileName; // Имя PcbDoc файла
|
||||
|
||||
// Переменные состояния парсинга
|
||||
bool isWaitingVariantDescription = false;
|
||||
@@ -86,6 +87,7 @@ public:
|
||||
// Парсинг специфичных форматов Altium
|
||||
bool parseSchDoc(const QString &filename, ComponentModel *model);
|
||||
bool parsePcbDoc(const QString &filename, ComponentModel *model);
|
||||
QString getPcbDocFileName() const; // Получить имя PcbDoc файла после парсинга проекта
|
||||
bool parseCsvBom(const QString &filename, ComponentModel *model);
|
||||
bool parseXlsBom(const QString &filename, ComponentModel *model);
|
||||
bool parsePrjPcbFile(const QString &filename, ComponentModel *model);
|
||||
@@ -180,6 +182,7 @@ private:
|
||||
QList<ProjectParameterData> m_projectParamsList;
|
||||
QStringList m_variantNamesList;
|
||||
bool m_isPcbMultilayer;
|
||||
QString m_pcbDocFileName; // Имя PcbDoc файла после парсинга проекта
|
||||
|
||||
// База данных для хранения компонентов
|
||||
DataBaseController *m_database;
|
||||
|
||||
Reference in New Issue
Block a user