-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodelstorage.h
More file actions
22 lines (18 loc) · 754 Bytes
/
modelstorage.h
File metadata and controls
22 lines (18 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef MODELSTORAGE_H
#define MODELSTORAGE_H
#include <QStandardItemModel>
#include <QStandardItem>
#include <QSpinBox>
#include <QTableWidget>
#include <QFile>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
class ModelStorage
{
public:
static bool load(const QString& fileName, QTableWidget* simplex_task, QTableWidget* simplex_restrictions, QSpinBox* variables, QSpinBox* restrictions, QTableWidget* graph_task, QTableWidget* graph_restrictions,
QSpinBox* restrictionsGraph);
static bool save(const QString& fileName, const QTableWidget* simplex_task, const QTableWidget* simplex_restrictions, const QTableWidget* graph_task, const QTableWidget* graph_restrictions);
};
#endif // MODELSTORAGE_H