COPASI API  4.16.103
CQMmlScrollView.h
Go to the documentation of this file.
1 // Copyright (C) 2010 - 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 // Copyright (C) 2008 - 2009 by Pedro Mendes, Virginia Tech Intellectual
7 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
8 // and The University of Manchester.
9 // All rights reserved.
10 
11 /*!
12  \file CQMmlScrollView.h
13  \brief Header file of class CQMmlScrollView
14  */
15 
16 #ifndef CQMMLSCROLLVIEW_H
17 #define CQMMLSCROLLVIEW_H
18 
19 #include <sstream> // for ostringstream
20 
21 #include <QtGui/QScrollArea>
22 
23 class QtMmlWidget;
24 
25 /*!
26  \brief The class for nicely displaying QtMmlWidget.
27 
28  This class inherits QScrollView to nicely display an object of class QtMmlWidget.
29  */
30 class CQMmlScrollView : public QScrollArea
31 {
32  Q_OBJECT
33 
34 public:
35  CQMmlScrollView(QWidget* parent = 0, const char* name = 0, Qt::WFlags fl = 0);
37 
38  void updateWidget(std::ostringstream &mml);
39 
40 #ifdef HAVE_MML
41  QtMmlWidget* mpMmlWidget;
42 #endif // HAVE_MML
43 };
44 
45 #endif // CQSMMLSCROLLVIEW_H
void updateWidget(std::ostringstream &mml)
Function to update the MathML widget.
CQMmlScrollView(QWidget *parent=0, const char *name=0, Qt::WFlags fl=0)
Constructor.
~CQMmlScrollView()
Destructor.
The class for nicely displaying QtMmlWidget.
bool fl(const C_FLOAT64 &d1, const C_FLOAT64 &d2)