Kstars

#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

QCPAxisaxis
 
QCheckBoxcheckBox
 
QColor color
 
int graphIndex
 
QColor initialColor
 
QCPRange initialRange
 
QString name
 
QCustomPlotplot
 
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.

Version
1.0
Author
Hy Murveit

Definition at line 24 of file yaxistool.h.

Constructor & Destructor Documentation

◆ YAxisInfo() [1/2]

YAxisInfo::YAxisInfo ( )
inline

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_ )
inline

Definition at line 38 of file yaxistool.h.

Member Function Documentation

◆ isRescale()

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

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.

◆ LOWER_RESCALE

constexpr double YAxisInfo::LOWER_RESCALE = -102
staticconstexpr

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.

◆ UPPER_RESCALE

constexpr double YAxisInfo::UPPER_RESCALE = -101
static

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.