SedSat3 1.1.6
Sediment Source Apportionment Tool - Advanced statistical methods for environmental pollution research
Loading...
Searching...
No Matches
interface.cpp
Go to the documentation of this file.
1#include "interface.h"
2
7
9{
10 Options = intf.Options;
13}
15{
16 Options = intf.Options;
19 return *this;
20}
21
22string Interface::ToString() const
23{
24 return "";
25}
26
27QJsonObject Interface::toJsonObject() const
28{
29 return QJsonObject();
30}
31
32bool Interface::ReadFromJsonObject(const QJsonObject &jsonobject)
33{
34 return true;
35}
36
37
38bool Interface::writetofile(QFile* file)
39{
40 return false;
41}
42
43bool Interface::Read(const QStringList &strlist)
44{
45 return false;
46}
47
48QTableWidget *Interface::ToTable()
49{
50 QTableWidget *tablewidget = new QTableWidget();
51 return tablewidget;
52}
Abstract base class providing common serialization and visualization interface.
Definition interface.h:65
QString XAxis_Label
Label for the X-axis in plots and table headers.
Definition interface.h:346
options Options
Configuration options for serialization and display.
Definition interface.h:338
Interface()
Default constructor.
Definition interface.cpp:3
Interface & operator=(const Interface &intf)
Assignment operator.
Definition interface.cpp:14
virtual bool ReadFromJsonObject(const QJsonObject &jsonobject)
Deserialize object from JSON format.
Definition interface.cpp:32
virtual string ToString() const
Convert object to string representation.
Definition interface.cpp:22
virtual QTableWidget * ToTable()
Create a Qt table widget representation of the data.
Definition interface.cpp:48
virtual bool writetofile(QFile *file)
Write object data to a file.
Definition interface.cpp:38
virtual QJsonObject toJsonObject() const
Serialize object to JSON format.
Definition interface.cpp:27
QString YAxis_Label
Label for the Y-axis in plots and table headers.
Definition interface.h:354
virtual bool Read(const QStringList &strlist)
Parse object data from a string list.
Definition interface.cpp:43