File indexing completed on 2024-12-22 04:17:26

0001 /***************************************************************************
0002  *                                                                         *
0003  *   copyright : (C) 2007 Theodore Kisner <tsk@humanityforward.org>        *
0004  *                                                                         *
0005  *   This program is free software; you can redistribute it and/or modify  *
0006  *   it under the terms of the GNU General Public License as published by  *
0007  *   the Free Software Foundation; either version 2 of the License, or     *
0008  *   (at your option) any later version.                                   *
0009  *                                                                         *
0010  ***************************************************************************/
0011 
0012 #ifndef CARTESIANRENDERITEM_H
0013 #define CARTESIANRENDERITEM_H
0014 
0015 #include "plotrenderitem.h"
0016 
0017 namespace Kst {
0018 
0019 class CartesianRenderItem : public PlotRenderItem
0020 {
0021   Q_OBJECT
0022   public:
0023     explicit CartesianRenderItem(PlotItem *parentItem);
0024     virtual ~CartesianRenderItem();
0025 
0026     virtual void saveInPlot(QXmlStreamWriter &xml);
0027     virtual void paintRelations(QPainter *painter);
0028 
0029     bool configureFromXml(QXmlStreamReader &xml, ObjectStore *store);
0030     const QString defaultsGroupName() const {return QString("plot");}
0031     virtual bool dataPosLockable() const {return false;}
0032 };
0033 
0034 }
0035 
0036 #endif
0037 
0038 // vim: ts=2 sw=2 et