31 lines
526 B
C++
31 lines
526 B
C++
#ifndef FRMSCROLLBAR_H
|
|
#define FRMSCROLLBAR_H
|
|
|
|
#include <QWidget>
|
|
#include "qcustomplot.h"
|
|
|
|
namespace Ui {
|
|
class frmScrollBar;
|
|
}
|
|
|
|
class frmScrollBar : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit frmScrollBar(QWidget *parent = 0);
|
|
~frmScrollBar();
|
|
|
|
private:
|
|
Ui::frmScrollBar *ui;
|
|
|
|
private slots:
|
|
void initForm();
|
|
void horzScrollBarChanged(int value);
|
|
void vertScrollBarChanged(int value);
|
|
void xAxisChanged(QCPRange range);
|
|
void yAxisChanged(QCPRange range);
|
|
};
|
|
|
|
#endif // FRMSCROLLBAR_H
|