added web service

This commit is contained in:
2026-09-02 12:48:03 +03:00
parent 84b7eceb9f
commit 02c43072c4
60 changed files with 6148 additions and 22 deletions
+11
View File
@@ -21,6 +21,8 @@ class SpecificationTableModel;
class SpecificationController;
class VedomostTableModel;
class VedomostController;
class SimpleListTableModel;
class SimpleListTableController;
class TitleInscriptionsModel;
class PCBMaterialModel;
class AltiumParser;
@@ -45,6 +47,8 @@ public:
SpecificationController* specificationController() const;
VedomostTableModel* vedomostTableModel() const;
VedomostController* vedomostController() const;
SimpleListTableModel* simpleListTableModel() const;
SimpleListTableController* simpleListTableController() const;
TitleInscriptionsModel* titleInscriptionsModel() const;
PCBMaterialModel* pcbMaterialModel() const;
@@ -98,6 +102,10 @@ public:
bool saveVedomostTableToDatabase(const QByteArray &tableData, const QString &projectName = QString());
QByteArray loadVedomostTableFromDatabase(const QString &projectName = QString());
QString getVedomostTableInfo(const QString &projectName = QString());
// Работа с бланком заказа
bool saveSimpleListTableToDatabase(const QByteArray &tableData, const QString &projectName = QString());
QByteArray loadSimpleListTableFromDatabase(const QString &projectName = QString());
// Парсинг файлов
bool parseFile(const QString &filePath);
@@ -124,6 +132,7 @@ public:
bool exportSpecificationPcbToCsv(const QString &filePath);
bool exportSpecificationToCsv(const QString &filePath);
bool exportVedomostToCsv(const QString &filePath);
bool exportSimpleListToCsv(const QString &filePath);
// Метод для получения PDFController
PDFController* pdfController() const;
@@ -148,6 +157,8 @@ private:
SpecificationController* m_specificationController;
VedomostTableModel* m_vedomostTableModel;
VedomostController* m_vedomostController;
SimpleListTableModel* m_simpleListTableModel;
SimpleListTableController* m_simpleListTableController;
TitleInscriptionsModel* m_titleInscriptionsModel;
PCBMaterialModel* m_pcbMaterialModel;
DataBaseController* m_databaseController;