#include <yaxistool.h>

Public Member Functions

 YAxisInfo (QCPAxis *axis_, QCPRange initialRange_, bool rescale_, int graphIndex_, QCustomPlot *plot_, QCheckBox *checkBox_, const QString &name_, const QString &shortName_, const QColor &color_)

Static Public Member Functions

static bool isRescale (const QCPRange &range)

Public Attributes

QColor color
int graphIndex
QColor initialColor
QCPRange initialRange
QString name
bool rescale
QString shortName

Static Public Attributes

static constexpr double LOWER_RESCALE = -102
static constexpr double UPPER_RESCALE = -101

Detailed Description

Used to keep track of the various Y-axes and connect them to the QLineEdits.

Hy Murveit

Definition at line 24 of file yaxistool.h.

Constructor & Destructor Documentation

◆ YAxisInfo() [1/2]

YAxisInfo::YAxisInfo ( )

Definition at line 37 of file yaxistool.h.

◆ YAxisInfo() [2/2]

YAxisInfo::YAxisInfo ( QCPAxis * axis_,
QCPRange initialRange_,
bool rescale_,
int graphIndex_,
QCustomPlot * plot_,
QCheckBox * checkBox_,
const QString & name_,
const QString & shortName_,
const QColor & color_ )

Definition at line 38 of file yaxistool.h.

Member Function Documentation

◆ isRescale()

static bool YAxisInfo::isRescale ( const QCPRange & range)

Definition at line 44 of file yaxistool.h.

Member Data Documentation

◆ axis

QCPAxis* YAxisInfo::axis

Definition at line 27 of file yaxistool.h.

◆ checkBox

QCheckBox* YAxisInfo::checkBox

Definition at line 32 of file yaxistool.h.

◆ color

QColor YAxisInfo::color

Definition at line 36 of file yaxistool.h.

◆ graphIndex

int YAxisInfo::graphIndex

Definition at line 30 of file yaxistool.h.

◆ initialColor

QColor YAxisInfo::initialColor

Definition at line 35 of file yaxistool.h.

◆ initialRange

QCPRange YAxisInfo::initialRange

Definition at line 28 of file yaxistool.h.


constexpr double YAxisInfo::LOWER_RESCALE = -102

Definition at line 26 of file yaxistool.h.

◆ name

QString YAxisInfo::name

Definition at line 33 of file yaxistool.h.

◆ plot

QCustomPlot* YAxisInfo::plot

Definition at line 31 of file yaxistool.h.

◆ rescale

bool YAxisInfo::rescale

Definition at line 29 of file yaxistool.h.

◆ shortName

QString YAxisInfo::shortName

Definition at line 34 of file yaxistool.h.


constexpr double YAxisInfo::UPPER_RESCALE = -101

Definition at line 26 of file yaxistool.h.

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:48:28 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.