.Simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
QCPExtended.h
1 // QCPExtended.h - QCustomPlot class extension declaration.
2 // Written By Jesse Z. Zhong
3 #ifndef __QCP_Extended_H__
4 #define __QCP_Extended_H__
5 #pragma region Includes
6 #include "qcustomplot.h"
7 using namespace QCPlot;
8 #pragma endregion
9 namespace DataVisualizerGUI {
10 
17  class QCPExtended : public QCustomPlot {
18  Q_OBJECT
19  public:
23  QCPExtended(QWidget* parent = NULL);
24  protected slots:
29  void ShiftViewport(int value);
30 
31  protected:
36  void SetBounds();
37 
38  // Viewport bounds.
39  double XLower_;
40  double XUpper_;
41  double YLower_;
42  double YUpper_;
43  double FullXUpper_;
44  double FullXLower_;
45  double FullYUpper_;
46  double FullYLower_;
47  };
48 }
49 #endif // !__QCP_Extended_H__
The central class of the library, the QWidget which displays the plot and interacts with the user...
Definition: qcustomplot.h:1903
Extension of the QCustomPlot class that allows an implementation of the class with different event ha...
Definition: QCPExtended.h:17