Add initial project structure with essential files including .gitignore, application resources, and various model and view components for the application. Implemented asynchronous parsing support and database structure checks.

This commit is contained in:
2025-12-08 15:21:18 +03:00
parent 4f8c90c15b
commit 3467003721
110 changed files with 35406 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
#ifndef COMPONENTSPREVIEW_H
#define COMPONENTSPREVIEW_H
#include <QWidget>
#include <QVBoxLayout>
#include <QGroupBox>
#include <QComboBox>
#include <QTableView>
#include <QHBoxLayout>
#include "../model/componenttablemodel.h"
#include "freezetablewidget.h"
class ComponentsPreview : public QWidget
{
Q_OBJECT
public:
explicit ComponentsPreview(ComponentTableModel* model, QWidget *parent = nullptr);
// Метод для обновления отображения
void updateView();
// Метод для установки текущего варианта
void setCurrentVariant(const QString &variant);
signals:
void variantChanged(const QString& variant);
void componentSelected(int row);
void componentDoubleClicked(int row);
private:
void setUp();
void setWidgets();
void setUpLayout();
void setUpConnections();
void updateVariantComboBox();
ComponentTableModel* m_model;
QComboBox* m_variantComboBox;
FreezeTableWidget* m_tableView;
};
#endif // COMPONENTSPREVIEW_H