diff options
Diffstat (limited to 'examples/surfacechart/chartmodifier.h')
-rw-r--r-- | examples/surfacechart/chartmodifier.h | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/examples/surfacechart/chartmodifier.h b/examples/surfacechart/chartmodifier.h deleted file mode 100644 index 3ab2d179..00000000 --- a/examples/surfacechart/chartmodifier.h +++ /dev/null @@ -1,53 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Digia Plc -** All rights reserved. -** For any questions to Digia, please use contact form at http://qt.digia.com -** -** This file is part of the QtDataVis3D module. -** -** Licensees holding valid Qt Enterprise licenses may use this file in -** accordance with the Qt Enterprise License Agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. -** -** If you have questions regarding the use of this file, please use -** contact form at http://qt.digia.com -** -****************************************************************************/ - -#ifndef CHARTMODIFIER_H -#define CHARTMODIFIER_H - -#include <QtDataVis3D/Q3DSurface> -#include <QSlider> - -using namespace QtDataVis3D; - -class ChartModifier : public QObject -{ - Q_OBJECT -public: - explicit ChartModifier(Q3DSurface *chart); - ~ChartModifier(); - - void toggleSmooth(bool enabled); - void toggleSurfaceGrid(bool enable); - void toggleSqrtSin(bool enable); - void togglePlane(bool enable); - void toggleGridSliderLock(bool enable); - void setGridSliderX(QSlider *slider) { m_gridSliderX = slider; } - void setGridSliderZ(QSlider *slider) { m_gridSliderZ = slider; } - void adjustXCount(int count); - void adjustZCount(int count); - -private: - Q3DSurface *m_chart; - QSlider *m_gridSliderX; - QSlider *m_gridSliderZ; - bool m_gridSlidersLocked; - int m_xCount; - int m_zCount; -}; - -#endif // CHARTMODIFIER_H |