first commit

This commit is contained in:
2026-01-26 22:26:19 +03:00
commit 31fccd85f2
95 changed files with 115400 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
#ifndef FSINGLEGRID_H
#define FSINGLEGRID_H
#include <QWidget>
#include <QTableWidget>
#include "udatabase.h"
namespace Ui {
class FSingleGrid;
}
class FSingleGrid : public QWidget
{
Q_OBJECT
public:
explicit FSingleGrid(QWidget *parent = nullptr);
~FSingleGrid();
void initForm(QString aBlockName, QString aNewName, bool btnOpen = false);
void toGrid(QString aName, QString aFile);
QTableWidget* tableWidget() const;
void setDatabase(uDataBase *database);
private slots:
void on_btnAdd_clicked();
void on_btnDel_clicked();
void on_btnEdt_clicked();
void on_btnOpen_clicked();
void on_sg_cellClicked(int row, int column);
private:
Ui::FSingleGrid *ui;
uDataBase *db = nullptr;
};
#endif // FSINGLEGRID_H