Workspace 6.21.5
|
Stores axis-specific settings for a single axis (X or Y). More...
#include <DataAnalysis/Plot2D/axissettings.h>
Public Types | |
enum | ScaleType { Linear , Log10 , Log2 } |
Specifies what scale to use for the axis. More... | |
enum | TickLabelNumberFormat { Auto , Decimal , Scientific } |
Specifies the format to use for numeric tick mark labels. More... | |
Public Member Functions | |
AxisSettings () | |
AxisSettings (const AxisSettings &axisSettings) | |
AxisSettings * | clone () const override |
Public Member Functions inherited from ObjectGroup | |
~ObjectGroup () override | |
bool | add (const QString &name, DataObject &obj) |
bool | canSerialize () const override |
ObjectGroup * | clone () const override=0 |
bool | empty () const |
void | ensureGroupHasData () |
void | erase (int index) |
DataObject * | getChild (const QString &name) |
const DataObject * | getChild (const QString &name) const |
DataObject & | getDataObject (int index) |
const DataObject & | getDataObject (int index) const |
int | getIndex (const QString &name) const |
const QString & | getName (int index) const |
virtual QString | getPreferedWidget (const QString &name) const |
bool | hasData () const |
bool | haveName (const QString &name) const |
bool | insert (const QString &name, DataObject &obj, int index=-1) |
bool | load (const QJsonDocument &doc) |
bool | load (const SerializedItem &item) override |
bool | save (QJsonDocument &doc) const |
bool | save (SerializedItem &item) const override |
unsigned | size () const |
Public Member Functions inherited from Clonable | |
virtual | ~Clonable ()=default |
virtual Clonable * | clone () const =0 |
Public Member Functions inherited from Serialize | |
virtual | ~Serialize ()=default |
virtual bool | canSerialize () const =0 |
virtual bool | load (const SerializedItem &item)=0 |
virtual bool | save (SerializedItem &item) const =0 |
Additional Inherited Members | |
Protected Member Functions inherited from ObjectGroup | |
ObjectGroup () | |
void | clear () |
ObjectGroup & | operator= (const ObjectGroup &rhs) |
bool | operator== (const ObjectGroup &rhs) const |
void | swap (ObjectGroup &rhs) |
enum ScaleType |
AxisSettings | ( | ) |
AxisSettings | ( | const AxisSettings & | axisSettings | ) |
|
overridevirtual |
We redeclare this function only so that the more derived return type is available without casting.
Implements ObjectGroup.
DataExecution::TypedObject<bool> autoLimitBasedOnOtherAxisRange |
DataExecution::TypedObject<bool> autoMaximum |
DataExecution::TypedObject<bool> autoMinimum |
DataExecution::TypedObject<double> axisMaximum |
DataExecution::TypedObject<double> axisMinimum |
DataExecution::TypedObject<QStringList> customTickLabels |
DataExecution::TypedObject<QString> label |
DataExecution::TypedObject<int> numberMajorTicks |
DataExecution::TypedObject<int> numberMinorTicks |
DataExecution::TypedObject<ScaleType> scaleType |
DataExecution::TypedObject<bool> showGridLines |
DataExecution::TypedObject<bool> showMajorTicks |
DataExecution::TypedObject<bool> showMinorTicks |
DataExecution::TypedObject<bool> showTickLabels |
DataExecution::TypedObject<TickLabelNumberFormat> tickLabelNumberFormat |
DataExecution::TypedObject<int> tickLabelPrecision |
DataExecution::TypedObject<bool> useTightAutoLimits |