RSS Git Download  Clone
Raw View History
Blames found: 1 Mode: text/x-c++src Binary: false


Hang on, we reloading big blames...
/* * Title: BGraphControls.cpp * Author: M.Thomas BEAM Ltd * Date: 2007-05-31 * * Contents: * * * * */ #ifndef BGRAPHCONTROLS_H #define BGRAPHCONTROLS_H #include <BGraph.h> #include <qscrollbar.h> #include <qpushbutton.h> #include <qspinbox.h> #include <qwidget.h> #include <qdialog.h> #include <BList.h> class BGraphControlBasic: public QWidget { Q_OBJECT public: BGraphControlBasic(QWidget*p ); void addGraph(BGraph* graph); ///< Add Graph to be managed void setMax(double max); public slots: void scroll(int val); void scroll(); void zoomIn(); void zoomOut(); void updateScrollbar(); private: void zoom(int in); BList<BGraph*> ographs; QScrollBar* oscroll; QPushButton* ozoomIn; QPushButton* ozoomOut; double omax; }; #endif