COPASI API  4.16.103
CQBaseWidget.h
Go to the documentation of this file.
1 // Copyright (C) 2011 - 2013 by Pedro Mendes, Virginia Tech Intellectual
2 // Properties, Inc., University of Heidelberg, and The University
3 // of Manchester.
4 // All rights reserved.
5 
6 #ifndef COPASI_CQBaseWidget
7 #define COPASI_CQBaseWidget
8 
9 #include <QtCore/QVariant>
10 
11 #include "copasi/barChart/ui_CQBaseWidget.h"
12 
13 class CQBaseWidget : public QWidget, public Ui::CQBaseWidget
14 {
15  Q_OBJECT
16 
17 public:
18  CQBaseWidget(QWidget* parent = 0, const char* name = 0, Qt::WFlags fl = 0);
19  virtual ~CQBaseWidget();
20 
21  void setSliderActive(const bool & active);
22 
23  bool isSliderActive() const;
24 
25  virtual void sliderMoved(int column, int row) = 0;
26 
27  int scaleFactor();
28 
29 protected slots:
30  void setSlider();
31 
32 protected:
34 
36 };
37 
38 #endif // COPASI_CQBaseWidget
void setSlider()
virtual ~CQBaseWidget()
bool isSliderActive() const
CQBaseWidget(QWidget *parent=0, const char *name=0, Qt::WFlags fl=0)
bool mSliderActive
Definition: CQBaseWidget.h:33
bool fl(const C_FLOAT64 &d1, const C_FLOAT64 &d2)
void setSliderActive(const bool &active)
virtual void sliderMoved(int column, int row)=0