mirror of
https://github.com/Indy970/QtHPConnect
synced 2025-02-07 08:46:28 +01:00
28 lines
420 B
C++
28 lines
420 B
C++
#ifndef MATRIXDATA_H
|
|
#define MATRIXDATA_H
|
|
|
|
#include <QList>
|
|
|
|
struct itemData {
|
|
double dValue=0.0;
|
|
QString sValue=QStringLiteral("NaH");
|
|
};
|
|
|
|
|
|
class MatrixData
|
|
{
|
|
private:
|
|
QList<QList<itemData>*> matrix;
|
|
|
|
public:
|
|
MatrixData();
|
|
itemData at(int,int);
|
|
void insert(int,int,itemData);
|
|
void clear();
|
|
int rows();
|
|
int columns();
|
|
void resize();
|
|
~ MatrixData();
|
|
};
|
|
|
|
#endif // MATRIXDATA_H
|