|
SedSat3 1.1.6
Sediment Source Apportionment Tool - Advanced statistical methods for environmental pollution research
|
#include </home/runner/work/SedSat3/SedSat3/rangeset.h>


Public Member Functions | |
| RangeSet () | |
| RangeSet (const RangeSet &rhs) | |
| RangeSet & | operator= (const RangeSet &rhs) |
| QJsonObject | toJsonObject () const override |
| Serialize object to JSON format. | |
| bool | ReadFromJsonObject (const QJsonObject &jsonobject) override |
| Deserialize object from JSON format. | |
| string | ToString () const override |
| Convert object to string representation. | |
| bool | writetofile (QFile *) override |
| Write object data to a file. | |
| bool | Read (const QStringList &strlist) override |
| Parse object data from a string list. | |
| QTableWidget * | ToTable () override |
| Create a Qt table widget representation of the data. | |
| double | maxval () |
| double | minval () |
Public Member Functions inherited from Interface | |
| Interface () | |
| Default constructor. | |
| Interface (const Interface &intf) | |
| Copy constructor. | |
| Interface & | operator= (const Interface &intf) |
| Assignment operator. | |
| string | GetNotes () const |
| Get the notes/annotations associated with this object. | |
| void | SetNotes (const string ¬e) |
| Set the notes for this object, replacing any existing notes. | |
| void | AppendtoNotes (const string ¬e) |
| Append a note to existing notes. | |
| void | ClearNotes () |
| Clear all notes associated with this object. | |
| void | SetLimit (_range lowhigh, const double &value) |
| Set upper or lower limit for value highlighting. | |
| void | SetOption (options_key opt, bool val) |
| Set a configuration option. | |
| bool | Option (options_key opt) |
| Get the current value of a configuration option. | |
| options & | GetOptions () |
| Get reference to the options structure. | |
| QString | XAxisLabel () const |
| Get the X-axis label. | |
| QString | YAxisLabel () const |
| Get the Y-axis label. | |
| bool | SetXAxisLabel (const QString &label) |
| Set the X-axis label. | |
| bool | SetYAxisLabel (const QString &label) |
| Set the Y-axis label. | |
Additional Inherited Members | |
Public Attributes inherited from Interface | |
| double | lowlimit |
| Lower threshold for value highlighting (when enabled) | |
| double | highlimit |
| Upper threshold for value highlighting (when enabled) | |
| bool | highlightoutsideoflimit = false |
| Flag indicating whether to highlight values outside defined limits. | |
Definition at line 7 of file rangeset.h.
| RangeSet::RangeSet | ( | ) |
Definition at line 4 of file rangeset.cpp.
| RangeSet::RangeSet | ( | const RangeSet & | rhs | ) |
Definition at line 9 of file rangeset.cpp.
| double RangeSet::maxval | ( | ) |
Definition at line 59 of file rangeset.cpp.
References high.
| double RangeSet::minval | ( | ) |
Definition at line 70 of file rangeset.cpp.
References low.
Definition at line 13 of file rangeset.cpp.
References Interface::operator=().
|
overridevirtual |
Parse object data from a string list.
| strlist | List of strings containing the data to parse |
Pure virtual method for text-based deserialization. Each string in the list typically represents one line of input data.
Reimplemented from Interface.
Definition at line 54 of file rangeset.cpp.
|
overridevirtual |
Deserialize object from JSON format.
| jsonobject | The JSON object to read from |
Pure virtual method for JSON deserialization. Derived classes must implement this to reconstruct their data structure from a JSON object.
Reimplemented from Interface.
Definition at line 28 of file rangeset.cpp.
References Range::ReadFromJsonObject().
|
overridevirtual |
Serialize object to JSON format.
Pure virtual method for JSON serialization. Derived classes must implement this to convert their data structure to a JSON object suitable for saving to .json files or transmitting over network.
Reimplemented from Interface.
Definition at line 19 of file rangeset.cpp.
|
overridevirtual |
Convert object to string representation.
Pure virtual method that must be implemented by derived classes to provide a human-readable string representation of their data. Typically used for text file export or debugging.
Reimplemented from Interface.
Definition at line 38 of file rangeset.cpp.
Referenced by writetofile().
|
overridevirtual |
Create a Qt table widget representation of the data.
Pure virtual method that creates a visual table representation of the object's data suitable for display in the Qt GUI. The returned widget is dynamically allocated and should be managed by Qt's parent-child ownership system.
Reimplemented from Interface.
Definition at line 82 of file rangeset.cpp.
|
overridevirtual |
Write object data to a file.
| file | Pointer to an open QFile object for writing |
Pure virtual method for file output. Derived classes implement this to write their data to an open file stream in their preferred text format.
Reimplemented from Interface.
Definition at line 48 of file rangeset.cpp.
References ToString().