"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/backend/worksheet/plots/cartesian/CartesianPlot.h" between
labplot-2.8.1.tar.gz and labplot-2.8.2.tar.gz

About: LabPlot is an application for plotting and analysis of 2D and 3D functions and data. It is a complete rewrite of LabPlot1 and lacks in the first release a lot of features available in the predecessor. On the other hand, the GUI and the usability is more superior.

CartesianPlot.h  (labplot-2.8.1):CartesianPlot.h  (labplot-2.8.2)
skipping to change at line 35 skipping to change at line 35
* along with this program; if not, write to the Free Software * * along with this program; if not, write to the Free Software *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * * Foundation, Inc., 51 Franklin Street, Fifth Floor, *
* Boston, MA 02110-1301 USA * * Boston, MA 02110-1301 USA *
* * * *
***************************************************************************/ ***************************************************************************/
#ifndef CARTESIANPLOT_H #ifndef CARTESIANPLOT_H
#define CARTESIANPLOT_H #define CARTESIANPLOT_H
#include "backend/worksheet/plots/AbstractPlot.h" #include "backend/worksheet/plots/AbstractPlot.h"
#include "backend/worksheet/plots/cartesian/Axis.h"
#include "backend/worksheet/plots/cartesian/Histogram.h" #include "backend/worksheet/plots/cartesian/Histogram.h"
#include <cmath> #include <cmath>
class QToolBar; class QToolBar;
class CartesianPlotPrivate; class CartesianPlotPrivate;
class CartesianPlotLegend; class CartesianPlotLegend;
class AbstractColumn; class AbstractColumn;
class XYCurve; class XYCurve;
class XYEquationCurve; class XYEquationCurve;
skipping to change at line 171 skipping to change at line 172
void setTheme(const QString&); void setTheme(const QString&);
private: private:
void init(); void init();
void initActions(); void initActions();
void initMenus(); void initMenus();
void setColorPalette(const KConfig&); void setColorPalette(const KConfig&);
const XYCurve* currentCurve() const; const XYCurve* currentCurve() const;
void shift(bool x, bool leftOrDown); void shift(bool x, bool leftOrDown);
void zoom(bool x, bool in); void zoom(bool x, bool in);
void checkAxisFormat(const AbstractColumn*, Axis::Orientation);
void calculateCurvesXMinMax(bool completeRange = true); void calculateCurvesXMinMax(bool completeRange = true);
void calculateCurvesYMinMax(bool completeRange = true); void calculateCurvesYMinMax(bool completeRange = true);
CartesianPlotLegend* m_legend{nullptr}; CartesianPlotLegend* m_legend{nullptr};
double m_zoomFactor{1.2}; double m_zoomFactor{1.2};
QList<QColor> m_themeColorPalette; QList<QColor> m_themeColorPalette;
bool m_menusInitialized{false}; bool m_menusInitialized{false};
QAction* visibilityAction; QAction* visibilityAction;
skipping to change at line 284 skipping to change at line 285
void zoomOutY(); void zoomOutY();
void shiftLeftX(); void shiftLeftX();
void shiftRightX(); void shiftRightX();
void shiftUpY(); void shiftUpY();
void shiftDownY(); void shiftDownY();
void cursor(); void cursor();
void dataChanged(); void dataChanged();
void curveLinePenChanged(QPen);
private slots: private slots:
void updateLegend(); void updateLegend();
void childAdded(const AbstractAspect*); void childAdded(const AbstractAspect*);
void childRemoved(const AbstractAspect* parent, const AbstractAspect* bef ore, const AbstractAspect* child); void childRemoved(const AbstractAspect* parent, const AbstractAspect* bef ore, const AbstractAspect* child);
void childHovered(); void childHovered();
void xDataChanged(); void xDataChanged();
void yDataChanged(); void yDataChanged();
void curveLinePenChanged(QPen);
void curveVisibilityChanged(); void curveVisibilityChanged();
//SLOTs for changes triggered via QActions in the context menu //SLOTs for changes triggered via QActions in the context menu
void visibilityChanged(); void visibilityChanged();
void loadTheme(const QString&); void loadTheme(const QString&);
protected: protected:
CartesianPlot(const QString &name, CartesianPlotPrivate *dd); CartesianPlot(const QString &name, CartesianPlotPrivate *dd);
signals: signals:
 End of changes. 4 change blocks. 
2 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)