File indexing completed on 2024-05-12 15:26:41

0001 /***************************************************************************
0002     File                 : DatapickerCurvePrivate.h
0003     Project              : LabPlot
0004     Description          : Graphic Item for coordinate points of Datapicker
0005     --------------------------------------------------------------------
0006     Copyright            : (C) 2015 by Ankit Wagadre (wagadre.ankit@gmail.com)
0007  ***************************************************************************/
0008 /***************************************************************************
0009  *                                                                         *
0010  *  This program is free software; you can redistribute it and/or modify   *
0011  *  it under the terms of the GNU General Public License as published by   *
0012  *  the Free Software Foundation; either version 2 of the License, or      *
0013  *  (at your option) any later version.                                    *
0014  *                                                                         *
0015  *  This program is distributed in the hope that it will be useful,        *
0016  *  but WITHOUT ANY WARRANTY; without even the implied warranty of         *
0017  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
0018  *  GNU General Public License for more details.                           *
0019  *                                                                         *
0020  *   You should have received a copy of the GNU General Public License     *
0021  *   along with this program; if not, write to the Free Software           *
0022  *   Foundation, Inc., 51 Franklin Street, Fifth Floor,                    *
0023  *   Boston, MA  02110-1301  USA                                           *
0024  *                                                                         *
0025  ***************************************************************************/
0026 
0027 #ifndef DATAPICKERCURVEPRIVATE_H
0028 #define DATAPICKERCURVEPRIVATE_H
0029 
0030 class QBrush;
0031 class QPen;
0032 
0033 class DatapickerCurvePrivate {
0034 public:
0035     explicit DatapickerCurvePrivate(DatapickerCurve* curve);
0036 
0037     QString name() const;
0038 
0039     DatapickerCurve* const q;
0040     void retransform();
0041 
0042     DatapickerCurve::Errors curveErrorTypes;
0043     qreal pointRotationAngle;
0044     Symbol::Style pointStyle;
0045     QBrush pointBrush;
0046     QPen pointPen;
0047     qreal pointOpacity;
0048     qreal pointSize;
0049     QBrush pointErrorBarBrush;
0050     QPen pointErrorBarPen;
0051     qreal pointErrorBarSize;
0052     bool pointVisibility;
0053 
0054     AbstractColumn* posXColumn{nullptr};
0055     QString posXColumnPath;
0056     AbstractColumn* posYColumn{nullptr};
0057     QString posYColumnPath;
0058     AbstractColumn* posZColumn{nullptr};
0059     QString posZColumnPath;
0060     AbstractColumn* plusDeltaXColumn{nullptr};
0061     QString plusDeltaXColumnPath;
0062     AbstractColumn* minusDeltaXColumn{nullptr};
0063     QString minusDeltaXColumnPath;
0064     AbstractColumn* plusDeltaYColumn{nullptr};
0065     QString plusDeltaYColumnPath;
0066     AbstractColumn* minusDeltaYColumn{nullptr};
0067     QString minusDeltaYColumnPath;
0068 };
0069 
0070 #endif